summaryrefslogtreecommitdiff
path: root/rsa.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2002-02-19 13:13:35 +0100
committerNiels Möller <nisse@lysator.liu.se>2002-02-19 13:13:35 +0100
commitbcc66077be094d21455df5f04b1b24d053d01c38 (patch)
tree66ae22fbdbd81ef0adaefe88f22dbf96b1a1884b /rsa.h
parentb15b54e522c8de727fd1c50892fed0e06000369d (diff)
downloadnettle-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.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/rsa.h b/rsa.h
index 6da8b7bb..428ce474 100644
--- a/rsa.h
+++ b/rsa.h
@@ -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. */