Home
last modified time | relevance | path

Searched refs:lparamlen (Results 1 – 10 of 10) sorted by relevance

/external/dropbear/libtomcrypt/testprof/
Dpkcs_1_test.c9 unsigned long x, y, l1, l2, l3, i1, i2, lparamlen, saltlen, modlen; in pkcs_1_test() local
31 lparamlen = abs(rand()) % 17; in pkcs_1_test()
41 …DO(pkcs_1_oaep_encode(buf[0], l3, lparam, lparamlen, modlen, &yarrow_prng, prng_idx, hash_idx, buf… in pkcs_1_test()
45 DO(pkcs_1_oaep_decode(buf[1], l1, lparam, lparamlen, modlen, hash_idx, buf[2], &l2, &res1)); in pkcs_1_test()
48 …hould have been %lu, res1 = %d, lparamlen = %lu, msg contents follow.\n", l2, l3, res1, lparamlen); in pkcs_1_test()
/external/dropbear/libtomcrypt/src/pk/katja/
Dkatja_encrypt_key.c36 const unsigned char *lparam, unsigned long lparamlen, in katja_encrypt_key() argument
74 lparamlen, modulus_bitlen, prng, prng_idx, hash_idx, in katja_encrypt_key()
Dkatja_decrypt_key.c35 const unsigned char *lparam, unsigned long lparamlen, in katja_decrypt_key() argument
90 err = pkcs_1_oaep_decode(tmp, x, lparam, lparamlen, modulus_bitlen, hash_idx, in katja_decrypt_key()
/external/dropbear/libtomcrypt/src/pk/rsa/
Drsa_encrypt_key.c37 const unsigned char *lparam, unsigned long lparamlen, in rsa_encrypt_key_ex() argument
80 lparamlen, modulus_bitlen, prng, prng_idx, hash_idx, in rsa_encrypt_key_ex()
Drsa_decrypt_key.c36 const unsigned char *lparam, unsigned long lparamlen, in rsa_decrypt_key_ex() argument
90 err = pkcs_1_oaep_decode(tmp, x, lparam, lparamlen, modulus_bitlen, hash_idx, in rsa_decrypt_key_ex()
/external/dropbear/libtomcrypt/src/headers/
Dtomcrypt_pkcs.h46 const unsigned char *lparam, unsigned long lparamlen,
52 const unsigned char *lparam, unsigned long lparamlen,
Dtomcrypt_pk.h63 const unsigned char *lparam, unsigned long lparamlen,
68 const unsigned char *lparam, unsigned long lparamlen,
131 const unsigned char *lparam, unsigned long lparamlen,
136 const unsigned char *lparam, unsigned long lparamlen,
/external/dropbear/libtomcrypt/src/pk/pkcs1/
Dpkcs_1_oaep_encode.c35 const unsigned char *lparam, unsigned long lparamlen, in pkcs_1_oaep_encode() argument
87 if ((err = hash_memory(hash_idx, lparam, lparamlen, DB, &x)) != CRYPT_OK) { in pkcs_1_oaep_encode()
Dpkcs_1_oaep_decode.c34 const unsigned char *lparam, unsigned long lparamlen, in pkcs_1_oaep_decode() argument
128 if ((err = hash_memory(hash_idx, lparam, lparamlen, seed, &x)) != CRYPT_OK) { in pkcs_1_oaep_decode()
/external/dropbear/libtomcrypt/
Dcrypt.tex3120 unsigned long lparamlen,
3153 unsigned long lparamlen,
3310 unsigned long lparamlen,
3317 in \textit{out} of length \textit{outlen} octets. The \textit{lparam} and \textit{lparamlen} are t…
3332 unsigned long lparamlen,
3355 unsigned long lparamlen,
3361 \textit{out} of length \textit{outlen}. The \textit{lparam} and \textit{lparamlen} are the same pa…
3378 unsigned long lparamlen,