/optee_os/core/lib/libtomcrypt/src/prngs/ |
A D | sprng.c | 42 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 D | sober128.c | 40 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 D | chacha20.c | 38 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 D | yarrow.c | 37 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 D | rc4.c | 38 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 D | fortuna.c | 63 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 D | rng_make_prng.c | 31 int rng_make_prng(int bits, int wprng, prng_state *prng, in rng_make_prng()
|
/optee_os/core/lib/libtomcrypt/src/pk/ecc/ |
A D | ecc_make_key.c | 28 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 D | ecc_encrypt_key.c | 34 prng_state *prng, int wprng, int hash, in ecc_encrypt_key()
|
/optee_os/core/lib/libtomcrypt/src/pk/rsa/ |
A D | rsa_make_key.c | 19 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 D | rsa_encrypt_key.c | 37 prng_state *prng, int prng_idx, in rsa_encrypt_key_ex()
|
/optee_os/core/lib/libtomcrypt/src/math/ |
A D | rand_bn.c | 17 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 D | rand_prime.c | 21 int rand_prime(void *N, long len, prng_state *prng, int wprng) in rand_prime()
|
/optee_os/core/lib/libtomcrypt/src/misc/crypt/ |
A D | crypt_register_prng.c | 22 int register_prng(const struct ltc_prng_descriptor *prng) in register_prng()
|
A D | crypt_unregister_prng.c | 22 int unregister_prng(const struct ltc_prng_descriptor *prng) in unregister_prng()
|
/optee_os/core/lib/libtomcrypt/src/pk/dsa/ |
A D | dsa_sign_hash.c | 32 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 D | dsa_generate_key.c | 26 int dsa_generate_key(prng_state *prng, int wprng, dsa_key *key) in dsa_generate_key()
|
A D | dsa_make_key.c | 28 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 | 30 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 D | dsa_encrypt_key.c | 33 prng_state *prng, int wprng, int hash, in dsa_encrypt_key()
|
/optee_os/core/lib/libtomcrypt/src/pk/ed25519/ |
A D | ed25519_make_key.c | 26 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 D | x25519_make_key.c | 26 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 D | dh_generate_key.c | 44 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/core/lib/libtomcrypt/src/pk/pkcs1/ |
A D | pkcs_1_v1_5_encode.c | 36 prng_state *prng, in pkcs_1_v1_5_encode()
|