Searched refs:prng_descriptor (Results 1 – 20 of 20) sorted by relevance
/optee_os/core/lib/libtomcrypt/src/prngs/ |
A D | rng_make_prng.c | 46 bytes = prng_descriptor[wprng]->export_size; in rng_make_prng() 53 if ((err = prng_descriptor[wprng]->start(prng)) != CRYPT_OK) { in rng_make_prng() 68 if ((err = prng_descriptor[wprng]->pimport(buf, bytes, prng)) != CRYPT_OK) { in rng_make_prng() 72 if ((err = prng_descriptor[wprng]->add_entropy(buf, bytes, prng)) != CRYPT_OK) { in rng_make_prng() 76 if ((err = prng_descriptor[wprng]->ready(prng)) != CRYPT_OK) { in rng_make_prng()
|
/optee_os/core/lib/libtomcrypt/src/misc/crypt/ |
A D | crypt_register_prng.c | 31 if (prng_descriptor[x] == prng) { in register_prng() 39 if (prng_descriptor[x] == NULL) { in register_prng() 40 prng_descriptor[x] = prng; in register_prng()
|
A D | crypt_unregister_prng.c | 31 if (prng_descriptor[x] == prng) { in unregister_prng() 32 prng_descriptor[x] = NULL; in unregister_prng()
|
A D | crypt_find_prng.c | 28 if ((prng_descriptor[x] != NULL) && XSTRCMP(prng_descriptor[x]->name, name) == 0) { in find_prng()
|
A D | crypt_prng_descriptor.c | 16 const struct ltc_prng_descriptor *prng_descriptor[TAB_SIZE]; variable
|
A D | crypt_prng_is_valid.c | 25 if (idx < 0 || idx >= TAB_SIZE || prng_descriptor[idx] == NULL) { in prng_is_valid()
|
/optee_os/core/lib/libtomcrypt/src/pk/pkcs1/ |
A D | pkcs_1_v1_5_encode.c | 76 if (prng_descriptor[prng_idx]->read(ps, ps_len, prng) != ps_len) { in pkcs_1_v1_5_encode() 84 if (prng_descriptor[prng_idx]->read(&ps[i], 1, prng) != 1) { in pkcs_1_v1_5_encode()
|
A D | pkcs_1_oaep_encode.c | 110 if (prng_descriptor[prng_idx]->read(seed, hLen, prng) != hLen) { in pkcs_1_oaep_encode()
|
A D | pkcs_1_pss_encode.c | 88 if (prng_descriptor[prng_idx]->read(salt, saltlen, prng) != saltlen) { in pkcs_1_pss_encode()
|
/optee_os/core/lib/libtomcrypt/src/pk/x25519/ |
A D | x25519_make_key.c | 37 if (prng_descriptor[wprng]->read(key->priv, sizeof(key->priv), prng) != sizeof(key->priv)) { in x25519_make_key()
|
/optee_os/core/lib/libtomcrypt/src/math/ |
A D | rand_prime.c | 54 if (prng_descriptor[wprng]->read(buf, len, prng) != (unsigned long)len) { in rand_prime()
|
A D | rand_bn.c | 35 if (prng_descriptor[wprng]->read(buf, bytes, prng) != (unsigned long)bytes) { in rand_bn_bits()
|
/optee_os/core/lib/libtomcrypt/src/pk/dh/ |
A D | dh_generate_key.c | 74 if (prng_descriptor[wprng]->read(buf, keysize, prng) != keysize) { in dh_generate_key()
|
A D | dh_make_key.c | 110 if (prng_descriptor[wprng]->read(buf, key_size, prng) != in dh_make_key()
|
/optee_os/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_prng.h | 134 } *prng_descriptor[]; variable
|
/optee_os/core/lib/libtomcrypt/src/pk/dsa/ |
A D | dsa_generate_pqg.c | 131 …if (prng_descriptor[wprng]->read(sbuf, seedbytes, prng) != seedbytes) { err = CRYPT_ERROR_RE… in _dsa_make_params()
|
/optee_os/core/lib/libtomcrypt/src/pk/ec25519/ |
A D | tweetnacl.c | 337 if (prng_descriptor[wprng]->read(sk,32, prng) != 32) { in tweetnacl_crypto_sign_keypair()
|
/optee_os/out/arm/core/ |
A D | tee.symb_sizes | 344 000000000e17ba88 0000000000000110 B prng_descriptor
|
A D | tee.map | 27109 .bss.prng_descriptor 27111 0x000000000e17ba88 prng_descriptor
|
A D | tee.dmp | 2783 000000000e17ba88 g O .bss 0000000000000110 prng_descriptor
|
Completed in 239 milliseconds