summaryrefslogtreecommitdiffstats
path: root/g10/ecdh.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2011-01-26 17:17:43 +0100
committerWerner Koch <wk@gnupg.org>2011-01-26 17:17:43 +0100
commit358afc0dc8980d5ae0cb700efbb61499625a4625 (patch)
tree2b63a29198d4ecb0f94537c273d1d9c874b764bd /g10/ecdh.c
parentStarted with some code cleanups in ECDH. (diff)
downloadgnupg2-358afc0dc8980d5ae0cb700efbb61499625a4625.tar.xz
gnupg2-358afc0dc8980d5ae0cb700efbb61499625a4625.zip
Function name cleanups
Also nuked some trailing spaces.
Diffstat (limited to 'g10/ecdh.c')
-rw-r--r--g10/ecdh.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/g10/ecdh.c b/g10/ecdh.c
index 71c32fd5d..95bd8668f 100644
--- a/g10/ecdh.c
+++ b/g10/ecdh.c
@@ -161,7 +161,7 @@ pk_ecdh_encrypt_with_shared_point (int is_encrypt, gcry_mpi_t shared_mpi,
*/
{
IOBUF obuf = iobuf_temp();
- err = iobuf_write_size_body_mpi ( obuf, pkey[2] ); /* KEK params */
+ err = write_size_body_mpi (obuf, pkey[2]); /* KEK params */
kdf_params_size = iobuf_temp_to_buffer (obuf,
kdf_params, sizeof(kdf_params));
@@ -198,11 +198,11 @@ pk_ecdh_encrypt_with_shared_point (int is_encrypt, gcry_mpi_t shared_mpi,
obuf = iobuf_temp();
/* variable-length field 1, curve name OID */
- err = iobuf_write_size_body_mpi ( obuf, pkey[0] );
+ err = write_size_body_mpi (obuf, pkey[0]);
/* fixed-length field 2 */
iobuf_put (obuf, PUBKEY_ALGO_ECDH);
/* variable-length field 3, KDF params */
- err = (err ? err : iobuf_write_size_body_mpi ( obuf, pkey[2] ));
+ err = (err ? err : write_size_body_mpi ( obuf, pkey[2] ));
/* fixed-length field 4 */
iobuf_write (obuf, "Anonymous Sender ", 20);
/* fixed-length field 5, recipient fp */