summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2001-12-17 15:19:33 +0000
committerWerner Koch <wk@gnupg.org>2001-12-17 15:19:33 +0000
commit172d19479684ebba2992304847dba664bbd6211b (patch)
tree9d4277e342324fb93a833423f86bd07a9426d11c /src
parent34b3c352e4b0667d2d8c358d982ac76612c13840 (diff)
downloadlibgcrypt-172d19479684ebba2992304847dba664bbd6211b.tar.gz
* pubkey.c (gcry_pk_get_keygrip): New - experimental.
Diffstat (limited to 'src')
-rw-r--r--src/gcrypt.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gcrypt.h b/src/gcrypt.h
index e49bbc29..b18062a1 100644
--- a/src/gcrypt.h
+++ b/src/gcrypt.h
@@ -237,6 +237,11 @@ void gcry_mpi_powm( GCRY_MPI w,
int gcry_mpi_gcd( GCRY_MPI g, GCRY_MPI a, GCRY_MPI b );
unsigned int gcry_mpi_get_nbits( GCRY_MPI a );
+
+/* Please note that keygrip is still experimental and should not be
+ used without contacting the author */
+unsigned char *gcry_pk_get_keygrip (GCRY_SEXP key, unsigned char *array);
+
int gcry_mpi_test_bit( GCRY_MPI a, unsigned int n );
void gcry_mpi_set_bit( GCRY_MPI a, unsigned int n );
void gcry_mpi_clear_bit( GCRY_MPI a, unsigned int n );