Home
last modified time | relevance | path

Searched defs:prng (Results 1 – 25 of 31) sorted by relevance

12

/optee_os-3.20.0/core/lib/libtomcrypt/src/prngs/
A Dsprng.c35 int sprng_start(prng_state *prng) in sprng_start()
48 int sprng_add_entropy(const unsigned char *in, unsigned long inlen, prng_state *prng) in sprng_add_entropy()
61 int sprng_ready(prng_state *prng) in sprng_ready()
74 unsigned long sprng_read(unsigned char *out, unsigned long outlen, prng_state *prng) in sprng_read()
86 int sprng_done(prng_state *prng) in sprng_done()
100 int sprng_export(unsigned char *out, unsigned long *outlen, prng_state *prng) in sprng_export()
117 int sprng_import(const unsigned char *in, unsigned long inlen, prng_state *prng) in sprng_import()
A Dchacha20.c31 int chacha20_prng_start(prng_state *prng) in chacha20_prng_start()
48 int chacha20_prng_add_entropy(const unsigned char *in, unsigned long inlen, prng_state *prng) in chacha20_prng_add_entropy()
85 int chacha20_prng_ready(prng_state *prng) in chacha20_prng_ready()
112 unsigned long chacha20_prng_read(unsigned char *out, unsigned long outlen, prng_state *prng) in chacha20_prng_read()
128 int chacha20_prng_done(prng_state *prng) in chacha20_prng_done()
A Dsober128.c33 int sober128_start(prng_state *prng) in sober128_start()
50 int sober128_add_entropy(const unsigned char *in, unsigned long inlen, prng_state *prng) in sober128_add_entropy()
87 int sober128_ready(prng_state *prng) in sober128_ready()
114 unsigned long sober128_read(unsigned char *out, unsigned long outlen, prng_state *prng) in sober128_read()
130 int sober128_done(prng_state *prng) in sober128_done()
A Dyarrow.c30 int yarrow_start(prng_state *prng) in yarrow_start()
128 int yarrow_add_entropy(const unsigned char *in, unsigned long inlen, prng_state *prng) in yarrow_add_entropy()
172 int yarrow_ready(prng_state *prng) in yarrow_ready()
216 unsigned long yarrow_read(unsigned char *out, unsigned long outlen, prng_state *prng) in yarrow_read()
245 int yarrow_done(prng_state *prng) in yarrow_done()
A Drc4.c31 int rc4_start(prng_state *prng) in rc4_start()
50 int rc4_add_entropy(const unsigned char *in, unsigned long inlen, prng_state *prng) in rc4_add_entropy()
86 int rc4_ready(prng_state *prng) in rc4_ready()
115 unsigned long rc4_read(unsigned char *out, unsigned long outlen, prng_state *prng) in rc4_read()
131 int rc4_done(prng_state *prng) in rc4_done()
A Dfortuna.c56 static void s_fortuna_update_iv(prng_state *prng) in s_fortuna_update_iv()
96 static int s_fortuna_reseed(prng_state *prng) in s_fortuna_reseed()
180 int fortuna_update_seed(const unsigned char *in, unsigned long inlen, prng_state *prng) in fortuna_update_seed()
217 int fortuna_start(prng_state *prng) in fortuna_start()
252 …ed long source, unsigned long pool, const unsigned char *in, unsigned long inlen, prng_state *prng) in s_fortuna_add()
287 …ed long source, unsigned long pool, const unsigned char *in, unsigned long inlen, prng_state *prng) in fortuna_add_random_event()
313 int fortuna_add_entropy(const unsigned char *in, unsigned long inlen, prng_state *prng) in fortuna_add_entropy()
340 int fortuna_ready(prng_state *prng) in fortuna_ready()
367 unsigned long fortuna_read(unsigned char *out, unsigned long outlen, prng_state *prng) in fortuna_read()
435 int fortuna_done(prng_state *prng) in fortuna_done()
A Drng_make_prng.c24 int rng_make_prng(int bits, int wprng, prng_state *prng, in rng_make_prng()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/
A Decc_make_key.c21 int ecc_make_key(prng_state *prng, int wprng, int keysize, ecc_key *key) in ecc_make_key()
30 int ecc_make_key_ex(prng_state *prng, int wprng, ecc_key *key, const ltc_ecc_curve *cu) in ecc_make_key_ex()
38 int ecc_generate_key(prng_state *prng, int wprng, ecc_key *key) in ecc_generate_key()
A Decc_encrypt_key.c27 prng_state *prng, int wprng, int hash, in ecc_encrypt_key()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/rsa/
A Drsa_make_key.c12 static int s_rsa_make_key(prng_state *prng, int wprng, int size, void *e, rsa_key *key) in s_rsa_make_key()
92 int rsa_make_key(prng_state *prng, int wprng, int size, long e, rsa_key *key) in rsa_make_key()
123 int rsa_make_key_ubin_e(prng_state *prng, int wprng, int size, in rsa_make_key_ubin_e()
150 int rsa_make_key_bn_e(prng_state *prng, int wprng, int size, void *e, rsa_key *key) in rsa_make_key_bn_e()
A Drsa_encrypt_key.c30 prng_state *prng, int prng_idx, in rsa_encrypt_key_ex()
/optee_os-3.20.0/core/lib/libtomcrypt/src/math/
A Drand_bn.c10 int rand_bn_bits(void *N, int bits, prng_state *prng, int wprng) in rand_bn_bits()
50 int rand_bn_upto(void *N, void *limit, prng_state *prng, int wprng) in rand_bn_upto()
A Drand_prime.c14 int rand_prime(void *N, long len, prng_state *prng, int wprng) in rand_prime()
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/crypt/
A Dcrypt_register_prng.c15 int register_prng(const struct ltc_prng_descriptor *prng) in register_prng()
A Dcrypt_unregister_prng.c15 int unregister_prng(const struct ltc_prng_descriptor *prng) in unregister_prng()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/x25519/
A Dx25519_make_key.c19 int x25519_make_key(prng_state *prng, int wprng, curve25519_key *key) in x25519_make_key()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dsa/
A Ddsa_generate_key.c19 int dsa_generate_key(prng_state *prng, int wprng, dsa_key *key) in dsa_generate_key()
A Ddsa_sign_hash.c25 prng_state *prng, int wprng, const dsa_key *key) in dsa_sign_hash_raw()
114 prng_state *prng, int wprng, const dsa_key *key) in dsa_sign_hash()
A Ddsa_make_key.c21 int dsa_make_key(prng_state *prng, int wprng, int group_size, int modulus_size, dsa_key *key) in dsa_make_key()
A Ddsa_generate_pqg.c23 static int s_dsa_make_params(prng_state *prng, int wprng, int group_size, int modulus_size, void *p… in s_dsa_make_params()
208 int dsa_generate_pqg(prng_state *prng, int wprng, int group_size, int modulus_size, dsa_key *key) in dsa_generate_pqg()
A Ddsa_encrypt_key.c26 prng_state *prng, int wprng, int hash, in dsa_encrypt_key()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ed25519/
A Ded25519_make_key.c19 int ed25519_make_key(prng_state *prng, int wprng, curve25519_key *key) in ed25519_make_key()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dh/
A Ddh_generate_key.c37 int dh_generate_key(prng_state *prng, int wprng, dh_key *key) in dh_generate_key()
A Ddh_make_key.c49 int dh_make_key(prng_state *prng, int wprng, void *q, int xbits, dh_key *key) in dh_make_key()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/pkcs1/
A Dpkcs_1_v1_5_encode.c29 prng_state *prng, in pkcs_1_v1_5_encode()

Completed in 22 milliseconds

12