/optee_os-3.20.0/core/lib/libtomcrypt/src/prngs/ |
A D | sprng.c | 35 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 D | chacha20.c | 31 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 D | sober128.c | 33 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 D | yarrow.c | 30 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 D | rc4.c | 31 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 D | fortuna.c | 56 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 D | rng_make_prng.c | 24 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 D | ecc_make_key.c | 21 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 D | ecc_encrypt_key.c | 27 prng_state *prng, int wprng, int hash, in ecc_encrypt_key()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/rsa/ |
A D | rsa_make_key.c | 12 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 D | rsa_encrypt_key.c | 30 prng_state *prng, int prng_idx, in rsa_encrypt_key_ex()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/math/ |
A D | rand_bn.c | 10 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 D | rand_prime.c | 14 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 D | crypt_register_prng.c | 15 int register_prng(const struct ltc_prng_descriptor *prng) in register_prng()
|
A D | crypt_unregister_prng.c | 15 int unregister_prng(const struct ltc_prng_descriptor *prng) in unregister_prng()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/x25519/ |
A D | x25519_make_key.c | 19 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 D | dsa_generate_key.c | 19 int dsa_generate_key(prng_state *prng, int wprng, dsa_key *key) in dsa_generate_key()
|
A D | dsa_sign_hash.c | 25 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 D | dsa_make_key.c | 21 int dsa_make_key(prng_state *prng, int wprng, int group_size, int modulus_size, dsa_key *key) in dsa_make_key()
|
A D | dsa_generate_pqg.c | 23 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 D | dsa_encrypt_key.c | 26 prng_state *prng, int wprng, int hash, in dsa_encrypt_key()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ed25519/ |
A D | ed25519_make_key.c | 19 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 D | dh_generate_key.c | 37 int dh_generate_key(prng_state *prng, int wprng, dh_key *key) in dh_generate_key()
|
A D | dh_make_key.c | 49 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 D | pkcs_1_v1_5_encode.c | 29 prng_state *prng, in pkcs_1_v1_5_encode()
|