Home
last modified time | relevance | path

Searched refs:prng_idx (Results 1 – 7 of 7) sorted by relevance

/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/pkcs1/
A Dpkcs_1_v1_5_encode.c30 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 Dpkcs_1_oaep_encode.c29 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 Dpkcs_1_pss_encode.c27 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 Drsa_encrypt_key.c30 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 Drsa_sign_hash.c29 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 Dtomcrypt_pkcs.h36 int prng_idx,
52 int prng_idx, int hash_idx,
63 int prng_idx, int hash_idx,
A Dtomcrypt_pk.h59 #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