summaryrefslogtreecommitdiff
path: root/lib/gnutls_pk.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2001-06-17 11:26:56 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2001-06-17 11:26:56 +0000
commitc7dc6cd5d3a4a2cb643e5ebec227a753fc2ff0ee (patch)
treee63486dc7f2a14e96f5cc24a5212742d14adbeee /lib/gnutls_pk.h
parentb915dd6188f03da709a9f0be6684e0b5d137bdc2 (diff)
downloadgnutls-c7dc6cd5d3a4a2cb643e5ebec227a753fc2ff0ee.tar.gz
several additions for RSA (mostly unstable)
Diffstat (limited to 'lib/gnutls_pk.h')
-rw-r--r--lib/gnutls_pk.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/gnutls_pk.h b/lib/gnutls_pk.h
index bcb0c5243a..f6eb0328c7 100644
--- a/lib/gnutls_pk.h
+++ b/lib/gnutls_pk.h
@@ -1,2 +1,5 @@
-int _gnutls_pk_encrypt(enum gcry_pk_algos algo, MPI * resarr, MPI data, MPI * pkey);
-
+int _gnutls_pk_encrypt(int algo, MPI * resarr, MPI data, MPI ** pkey);
+int _gnutls_pkcs1_rsa_encrypt(gnutls_datum * ciphertext, gnutls_datum plaintext,
+ MPI pkey, MPI n);
+int _gnutls_pkcs1_rsa_decrypt(gnutls_datum * plaintext, gnutls_datum ciphertext,
+ MPI pkey, MPI n);