Home
last modified time | relevance | path

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

12

/optee_os/core/lib/libtomcrypt/src/prngs/
A Dsprng.c42 int sprng_start(prng_state *prng) in sprng_start()
55 int sprng_add_entropy(const unsigned char *in, unsigned long inlen, prng_state *prng) in sprng_add_entropy()
68 int sprng_ready(prng_state *prng) in sprng_ready()
81 unsigned long sprng_read(unsigned char *out, unsigned long outlen, prng_state *prng) in sprng_read()
93 int sprng_done(prng_state *prng) in sprng_done()
107 int sprng_export(unsigned char *out, unsigned long *outlen, prng_state *prng) in sprng_export()
124 int sprng_import(const unsigned char *in, unsigned long inlen, prng_state *prng) in sprng_import()
A Dsober128.c40 int sober128_start(prng_state *prng) in sober128_start()
57 int sober128_add_entropy(const unsigned char *in, unsigned long inlen, prng_state *prng) in sober128_add_entropy()
94 int sober128_ready(prng_state *prng) in sober128_ready()
121 unsigned long sober128_read(unsigned char *out, unsigned long outlen, prng_state *prng) in sober128_read()
137 int sober128_done(prng_state *prng) in sober128_done()
A Dchacha20.c38 int chacha20_prng_start(prng_state *prng) in chacha20_prng_start()
55 int chacha20_prng_add_entropy(const unsigned char *in, unsigned long inlen, prng_state *prng) in chacha20_prng_add_entropy()
92 int chacha20_prng_ready(prng_state *prng) in chacha20_prng_ready()
119 unsigned long chacha20_prng_read(unsigned char *out, unsigned long outlen, prng_state *prng) in chacha20_prng_read()
135 int chacha20_prng_done(prng_state *prng) in chacha20_prng_done()
A Dyarrow.c37 int yarrow_start(prng_state *prng) in yarrow_start()
135 int yarrow_add_entropy(const unsigned char *in, unsigned long inlen, prng_state *prng) in yarrow_add_entropy()
179 int yarrow_ready(prng_state *prng) in yarrow_ready()
223 unsigned long yarrow_read(unsigned char *out, unsigned long outlen, prng_state *prng) in yarrow_read()
252 int yarrow_done(prng_state *prng) in yarrow_done()
A Drc4.c38 int rc4_start(prng_state *prng) in rc4_start()
57 int rc4_add_entropy(const unsigned char *in, unsigned long inlen, prng_state *prng) in rc4_add_entropy()
93 int rc4_ready(prng_state *prng) in rc4_ready()
122 unsigned long rc4_read(unsigned char *out, unsigned long outlen, prng_state *prng) in rc4_read()
138 int rc4_done(prng_state *prng) in rc4_done()
A Dfortuna.c63 static void _fortuna_update_iv(prng_state *prng) in _fortuna_update_iv()
103 static int _fortuna_reseed(prng_state *prng) in _fortuna_reseed()
187 int fortuna_update_seed(const unsigned char *in, unsigned long inlen, prng_state *prng) in fortuna_update_seed()
224 int fortuna_start(prng_state *prng) in fortuna_start()
259 …ed long source, unsigned long pool, const unsigned char *in, unsigned long inlen, prng_state *prng) in _fortuna_add()
294 …ed long source, unsigned long pool, const unsigned char *in, unsigned long inlen, prng_state *prng) in fortuna_add_random_event()
320 int fortuna_add_entropy(const unsigned char *in, unsigned long inlen, prng_state *prng) in fortuna_add_entropy()
347 int fortuna_ready(prng_state *prng) in fortuna_ready()
374 unsigned long fortuna_read(unsigned char *out, unsigned long outlen, prng_state *prng) in fortuna_read()
442 int fortuna_done(prng_state *prng) in fortuna_done()
A Drng_make_prng.c31 int rng_make_prng(int bits, int wprng, prng_state *prng, in rng_make_prng()
/optee_os/core/lib/libtomcrypt/src/pk/ecc/
A Decc_make_key.c28 int ecc_make_key(prng_state *prng, int wprng, int keysize, ecc_key *key) in ecc_make_key()
37 int ecc_make_key_ex(prng_state *prng, int wprng, ecc_key *key, const ltc_ecc_curve *cu) in ecc_make_key_ex()
45 int ecc_generate_key(prng_state *prng, int wprng, ecc_key *key) in ecc_generate_key()
A Decc_encrypt_key.c34 prng_state *prng, int wprng, int hash, in ecc_encrypt_key()
/optee_os/core/lib/libtomcrypt/src/pk/rsa/
A Drsa_make_key.c19 static int s_rsa_make_key(prng_state *prng, int wprng, int size, void *e, rsa_key *key) in s_rsa_make_key()
99 int rsa_make_key(prng_state *prng, int wprng, int size, long e, rsa_key *key) in rsa_make_key()
130 int rsa_make_key_ubin_e(prng_state *prng, int wprng, int size, in rsa_make_key_ubin_e()
157 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.c37 prng_state *prng, int prng_idx, in rsa_encrypt_key_ex()
/optee_os/core/lib/libtomcrypt/src/math/
A Drand_bn.c17 int rand_bn_bits(void *N, int bits, prng_state *prng, int wprng) in rand_bn_bits()
57 int rand_bn_upto(void *N, void *limit, prng_state *prng, int wprng) in rand_bn_upto()
A Drand_prime.c21 int rand_prime(void *N, long len, prng_state *prng, int wprng) in rand_prime()
/optee_os/core/lib/libtomcrypt/src/misc/crypt/
A Dcrypt_register_prng.c22 int register_prng(const struct ltc_prng_descriptor *prng) in register_prng()
A Dcrypt_unregister_prng.c22 int unregister_prng(const struct ltc_prng_descriptor *prng) in unregister_prng()
/optee_os/core/lib/libtomcrypt/src/pk/dsa/
A Ddsa_sign_hash.c32 prng_state *prng, int wprng, const dsa_key *key) in dsa_sign_hash_raw()
121 prng_state *prng, int wprng, const dsa_key *key) in dsa_sign_hash()
A Ddsa_generate_key.c26 int dsa_generate_key(prng_state *prng, int wprng, dsa_key *key) in dsa_generate_key()
A Ddsa_make_key.c28 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.c30 static int _dsa_make_params(prng_state *prng, int wprng, int group_size, int modulus_size, void *p,… in _dsa_make_params()
215 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.c33 prng_state *prng, int wprng, int hash, in dsa_encrypt_key()
/optee_os/core/lib/libtomcrypt/src/pk/ed25519/
A Ded25519_make_key.c26 int ed25519_make_key(prng_state *prng, int wprng, curve25519_key *key) in ed25519_make_key()
/optee_os/core/lib/libtomcrypt/src/pk/x25519/
A Dx25519_make_key.c26 int x25519_make_key(prng_state *prng, int wprng, curve25519_key *key) in x25519_make_key()
/optee_os/core/lib/libtomcrypt/src/pk/dh/
A Ddh_generate_key.c44 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/core/lib/libtomcrypt/src/pk/pkcs1/
A Dpkcs_1_v1_5_encode.c36 prng_state *prng, in pkcs_1_v1_5_encode()

Completed in 23 milliseconds

12