diff options
author | Niels Möller <nisse@lysator.liu.se> | 2002-02-19 13:13:35 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2002-02-19 13:13:35 +0100 |
commit | bcc66077be094d21455df5f04b1b24d053d01c38 (patch) | |
tree | 66ae22fbdbd81ef0adaefe88f22dbf96b1a1884b /rsa.h | |
parent | b15b54e522c8de727fd1c50892fed0e06000369d (diff) | |
download | nettle-bcc66077be094d21455df5f04b1b24d053d01c38.tar.gz |
*** empty log message ***
Rev: src/nettle/ChangeLog:1.70
Rev: src/nettle/asm.m4:1.6
Rev: src/nettle/rsa.h:1.11
Diffstat (limited to 'rsa.h')
-rw-r--r-- | rsa.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -162,8 +162,8 @@ int rsa_encrypt(struct rsa_public_key *key, /* For padding */ void *random_ctx, nettle_random_func random, - unsigned length, const uint8_t *message, - mpz_t gibbberish); + unsigned length, const uint8_t *cleartext, + mpz_t cipher); /* Message must point to a buffer of size *LENGTH. KEY->size is enough * for all valid messages. On success, *LENGTH is updated to reflect @@ -172,8 +172,8 @@ rsa_encrypt(struct rsa_public_key *key, * didn't fit. */ int rsa_decrypt(struct rsa_private_key *key, - unsigned *length, uint8_t *message, - const mpz_t gibberish); + unsigned *length, uint8_t *cleartext, + const mpz_t ciphertext); /* Compute x, the e:th root of m. Calling it with x == m is allowed. */ |