Mercurial > dropbear
diff pkcs_1_oaep_encode.c @ 15:6362d3854bb4 libtomcrypt-orig
0.96 release of LibTomCrypt
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 15 Jun 2004 14:07:21 +0000 |
parents | 7faae8f46238 |
children | 5d99163f7e32 |
line wrap: on
line diff
--- a/pkcs_1_oaep_encode.c Mon May 31 18:25:41 2004 +0000 +++ b/pkcs_1_oaep_encode.c Tue Jun 15 14:07:21 2004 +0000 @@ -15,10 +15,10 @@ #ifdef PKCS_1 int pkcs_1_oaep_encode(const unsigned char *msg, unsigned long msglen, - const unsigned char *lparam, unsigned long lparamlen, - unsigned long modulus_bitlen, int hash_idx, - int prng_idx, prng_state *prng, - unsigned char *out, unsigned long *outlen) + const unsigned char *lparam, unsigned long lparamlen, + unsigned long modulus_bitlen, prng_state *prng, + int prng_idx, int hash_idx, + unsigned char *out, unsigned long *outlen) { unsigned char DB[1024], seed[MAXBLOCKSIZE], mask[sizeof(DB)]; unsigned long hLen, x, y, modulus_len;