diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2001-06-17 11:26:56 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2001-06-17 11:26:56 +0000 |
commit | c7dc6cd5d3a4a2cb643e5ebec227a753fc2ff0ee (patch) | |
tree | e63486dc7f2a14e96f5cc24a5212742d14adbeee /lib/gnutls_pk.h | |
parent | b915dd6188f03da709a9f0be6684e0b5d137bdc2 (diff) | |
download | gnutls-c7dc6cd5d3a4a2cb643e5ebec227a753fc2ff0ee.tar.gz |
several additions for RSA (mostly unstable)
Diffstat (limited to 'lib/gnutls_pk.h')
-rw-r--r-- | lib/gnutls_pk.h | 7 |
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); |