From: Niels Möller Date: Tue, 19 Feb 2002 12:13:35 +0000 (+0100) Subject: *** empty log message *** X-Git-Tag: nettle_1.6_release_20021003~272 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcc66077be094d21455df5f04b1b24d053d01c38;p=thirdparty%2Fnettle.git *** empty log message *** Rev: src/nettle/ChangeLog:1.70 Rev: src/nettle/asm.m4:1.6 Rev: src/nettle/rsa.h:1.11 --- diff --git a/ChangeLog b/ChangeLog index 9e74798c..41035ce9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-02-19 Niels Möller + + * configure.in (asm_path): Renamed "path" to "asm_path". Also look + for a machine.m4. + 2002-02-16 Niels Möller * sparc/aes.asm: Use that IDX2(j) == j ^ 2 diff --git a/asm.m4 b/asm.m4 index e296c0df..77e7a80e 100644 --- a/asm.m4 +++ b/asm.m4 @@ -25,7 +25,7 @@ define(AES_SBOX_SIZE, 256)dnl define(AES_IDX_SIZE, 16)dnl define(AES_TABLE_SIZE, 1024)dnl -STRUCT(AES) +STRUCTURE(AES) STRUCT(SBOX, AES_SBOX_SIZE) STRUCT(IDX1, AES_IDX_SIZE) 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. */