Searched refs:prng_idx (Results 1 – 7 of 7) sorted by relevance
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/pkcs1/ |
A D | pkcs_1_v1_5_encode.c | 30 int prng_idx, in pkcs_1_v1_5_encode() argument 45 if ((result = prng_is_valid(prng_idx)) != CRYPT_OK) { in pkcs_1_v1_5_encode() 69 if (prng_descriptor[prng_idx]->read(ps, ps_len, prng) != ps_len) { in pkcs_1_v1_5_encode() 77 if (prng_descriptor[prng_idx]->read(&ps[i], 1, prng) != 1) { in pkcs_1_v1_5_encode()
|
A D | pkcs_1_oaep_encode.c | 29 int prng_idx, int hash_idx, in pkcs_1_oaep_encode() argument 46 if ((err = prng_is_valid(prng_idx)) != CRYPT_OK) { in pkcs_1_oaep_encode() 103 if (prng_descriptor[prng_idx]->read(seed, hLen, prng) != hLen) { in pkcs_1_oaep_encode()
|
A D | pkcs_1_pss_encode.c | 27 int prng_idx, int hash_idx, in pkcs_1_pss_encode() argument 44 if ((err = prng_is_valid(prng_idx)) != CRYPT_OK) { in pkcs_1_pss_encode() 81 if (prng_descriptor[prng_idx]->read(salt, saltlen, prng) != saltlen) { in pkcs_1_pss_encode()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/rsa/ |
A D | rsa_encrypt_key.c | 30 prng_state *prng, int prng_idx, in rsa_encrypt_key_ex() argument 49 if ((err = prng_is_valid(prng_idx)) != CRYPT_OK) { in rsa_encrypt_key_ex() 74 lparamlen, modulus_bitlen, prng, prng_idx, hash_idx, in rsa_encrypt_key_ex() 82 modulus_bitlen, prng, prng_idx, in rsa_encrypt_key_ex()
|
A D | rsa_sign_hash.c | 29 prng_state *prng, int prng_idx, in rsa_sign_hash_ex() argument 50 if ((err = prng_is_valid(prng_idx)) != CRYPT_OK) { in rsa_sign_hash_ex() 75 if ((err = pkcs_1_pss_encode(in, inlen, saltlen, prng, prng_idx, in rsa_sign_hash_ex()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_pkcs.h | 36 int prng_idx, 52 int prng_idx, int hash_idx, 63 int prng_idx, int hash_idx,
|
A D | tomcrypt_pk.h | 59 #define rsa_encrypt_key(in, inlen, out, outlen, lparam, lparamlen, prng, prng_idx, hash_idx, key) \ argument 60 …rsa_encrypt_key_ex(in, inlen, out, outlen, lparam, lparamlen, prng, prng_idx, hash_idx, LTC_PKCS_1… 65 #define rsa_sign_hash(in, inlen, out, outlen, prng, prng_idx, hash_idx, saltlen, key) \ argument 66 rsa_sign_hash_ex(in, inlen, out, outlen, LTC_PKCS_1_PSS, prng, prng_idx, hash_idx, saltlen, key) 78 prng_state *prng, int prng_idx, 91 prng_state *prng, int prng_idx,
|
Completed in 7 milliseconds