aboutsummaryrefslogtreecommitdiffstats
path: root/g10/packet.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2011-01-31 14:44:24 +0000
committerWerner Koch <[email protected]>2011-01-31 14:44:24 +0000
commit328a642aa5ed971870a2667b06307f760fa251dc (patch)
tree04fc123c7eedea823eeaeefaf56f19ce7598d2bd /g10/packet.h
parentReworked the ECC changes to better fit into the Libgcrypt API. (diff)
downloadgnupg-328a642aa5ed971870a2667b06307f760fa251dc.tar.gz
gnupg-328a642aa5ed971870a2667b06307f760fa251dc.zip
Fixed the ECC interface to Libgcrypt to be ABI compatible with the previous version.
Quite some changes were needed but in the end we have less code than before. Instead of trying to do everything with MPIs and pass them back and forth between Libgcrypt and GnuPG, we know use the S-expression based interface and make heavy use of our opaque MPI feature. Encryption, decryption, signing and verification work with self-generared keys. Import and export does not yet work; thus it was not possible to check the test keys at https://sites.google.com/site/brainhub/pgpecckeys .
Diffstat (limited to 'g10/packet.h')
-rw-r--r--g10/packet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/packet.h b/g10/packet.h
index d06c4c7e7..5411e524a 100644
--- a/g10/packet.h
+++ b/g10/packet.h
@@ -444,7 +444,7 @@ PACKET *create_gpg_control ( ctrlpkttype_t type,
/*-- build-packet.c --*/
int build_packet( iobuf_t inp, PACKET *pkt );
-gpg_error_t write_size_body_mpi (iobuf_t out, gcry_mpi_t a);
+gpg_error_t gpg_mpi_write (iobuf_t out, gcry_mpi_t a);
u32 calc_packet_length( PACKET *pkt );
void build_sig_subpkt( PKT_signature *sig, sigsubpkttype_t type,
const byte *buffer, size_t buflen );