Home
last modified time | relevance | path

Searched refs:prng_descriptor (Results 1 – 20 of 20) sorted by relevance

/optee_os/core/lib/libtomcrypt/src/prngs/
A Drng_make_prng.c46 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 Dcrypt_register_prng.c31 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 Dcrypt_unregister_prng.c31 if (prng_descriptor[x] == prng) { in unregister_prng()
32 prng_descriptor[x] = NULL; in unregister_prng()
A Dcrypt_find_prng.c28 if ((prng_descriptor[x] != NULL) && XSTRCMP(prng_descriptor[x]->name, name) == 0) { in find_prng()
A Dcrypt_prng_descriptor.c16 const struct ltc_prng_descriptor *prng_descriptor[TAB_SIZE]; variable
A Dcrypt_prng_is_valid.c25 if (idx < 0 || idx >= TAB_SIZE || prng_descriptor[idx] == NULL) { in prng_is_valid()
/optee_os/core/lib/libtomcrypt/src/pk/pkcs1/
A Dpkcs_1_v1_5_encode.c76 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 Dpkcs_1_oaep_encode.c110 if (prng_descriptor[prng_idx]->read(seed, hLen, prng) != hLen) { in pkcs_1_oaep_encode()
A Dpkcs_1_pss_encode.c88 if (prng_descriptor[prng_idx]->read(salt, saltlen, prng) != saltlen) { in pkcs_1_pss_encode()
/optee_os/core/lib/libtomcrypt/src/pk/x25519/
A Dx25519_make_key.c37 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 Drand_prime.c54 if (prng_descriptor[wprng]->read(buf, len, prng) != (unsigned long)len) { in rand_prime()
A Drand_bn.c35 if (prng_descriptor[wprng]->read(buf, bytes, prng) != (unsigned long)bytes) { in rand_bn_bits()
/optee_os/core/lib/libtomcrypt/src/pk/dh/
A Ddh_generate_key.c74 if (prng_descriptor[wprng]->read(buf, keysize, prng) != keysize) { in dh_generate_key()
A Ddh_make_key.c110 if (prng_descriptor[wprng]->read(buf, key_size, prng) != in dh_make_key()
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_prng.h134 } *prng_descriptor[]; variable
/optee_os/core/lib/libtomcrypt/src/pk/dsa/
A Ddsa_generate_pqg.c131 …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 Dtweetnacl.c337 if (prng_descriptor[wprng]->read(sk,32, prng) != 32) { in tweetnacl_crypto_sign_keypair()
/optee_os/out/arm/core/
A Dtee.symb_sizes344 000000000e17ba88 0000000000000110 B prng_descriptor
A Dtee.map27109 .bss.prng_descriptor
27111 0x000000000e17ba88 prng_descriptor
A Dtee.dmp2783 000000000e17ba88 g O .bss 0000000000000110 prng_descriptor

Completed in 239 milliseconds