/external/dropbear/libtomcrypt/src/prngs/ |
D | sprng.c | 43 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() 65 int sprng_ready(prng_state *prng) in sprng_ready() 77 unsigned long sprng_read(unsigned char *out, unsigned long outlen, prng_state *prng) in sprng_read() 88 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() 115 int sprng_import(const unsigned char *in, unsigned long inlen, prng_state *prng) in sprng_import()
|
D | yarrow.c | 38 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() 184 int yarrow_ready(prng_state *prng) in yarrow_ready() 228 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() 275 int yarrow_export(unsigned char *out, unsigned long *outlen, prng_state *prng) in yarrow_export() 306 int yarrow_import(const unsigned char *in, unsigned long inlen, prng_state *prng) in yarrow_import()
|
D | fortuna.c | 53 static void fortuna_update_iv(prng_state *prng) in fortuna_update_iv() 66 static int fortuna_reseed(prng_state *prng) in fortuna_reseed() 130 int fortuna_start(prng_state *prng) in fortuna_start() 171 int fortuna_add_entropy(const unsigned char *in, unsigned long inlen, prng_state *prng) in fortuna_add_entropy() 214 int fortuna_ready(prng_state *prng) in fortuna_ready() 226 unsigned long fortuna_read(unsigned char *out, unsigned long outlen, prng_state *prng) in fortuna_read() 284 int fortuna_done(prng_state *prng) in fortuna_done() 316 int fortuna_export(unsigned char *out, unsigned long *outlen, prng_state *prng) in fortuna_export() 382 int fortuna_import(const unsigned char *in, unsigned long inlen, prng_state *prng) in fortuna_import()
|
D | rc4.c | 38 int rc4_start(prng_state *prng) in rc4_start() 55 int rc4_add_entropy(const unsigned char *in, unsigned long inlen, prng_state *prng) in rc4_add_entropy() 84 int rc4_ready(prng_state *prng) in rc4_ready() 125 unsigned long rc4_read(unsigned char *out, unsigned long outlen, prng_state *prng) in rc4_read() 158 int rc4_done(prng_state *prng) in rc4_done() 171 int rc4_export(unsigned char *out, unsigned long *outlen, prng_state *prng) in rc4_export() 197 int rc4_import(const unsigned char *in, unsigned long inlen, prng_state *prng) in rc4_import()
|
D | sober128.c | 109 int sober128_start(prng_state *prng) in sober128_start() 207 int sober128_add_entropy(const unsigned char *in, unsigned long inlen, prng_state *prng) in sober128_add_entropy() 273 int sober128_ready(prng_state *prng) in sober128_ready() 289 unsigned long sober128_read(unsigned char *out, unsigned long outlen, prng_state *prng) in sober128_read() 368 int sober128_done(prng_state *prng) in sober128_done() 381 int sober128_export(unsigned char *out, unsigned long *outlen, prng_state *prng) in sober128_export() 407 int sober128_import(const unsigned char *in, unsigned long inlen, prng_state *prng) in sober128_import()
|
D | rng_make_prng.c | 26 int rng_make_prng(int bits, int wprng, prng_state *prng, in rng_make_prng()
|
/external/dropbear/libtomcrypt/src/pk/ecc/ |
D | ecc_make_key.c | 34 int ecc_make_key(prng_state *prng, int wprng, int keysize, ecc_key *key) in ecc_make_key() 50 int ecc_make_key_ex(prng_state *prng, int wprng, ecc_key *key, const ltc_ecc_set_type *dp) in ecc_make_key_ex()
|
D | ecc_sign_hash.c | 39 prng_state *prng, int wprng, ecc_key *key) in ecc_sign_hash()
|
D | ecc_encrypt_key.c | 40 prng_state *prng, int wprng, int hash, in ecc_encrypt_key()
|
/external/dropbear/libtomcrypt/src/pk/dsa/ |
D | dsa_sign_hash.c | 33 prng_state *prng, int wprng, dsa_key *key) in dsa_sign_hash_raw() 124 prng_state *prng, int wprng, dsa_key *key) in dsa_sign_hash()
|
D | dsa_make_key.c | 29 int dsa_make_key(prng_state *prng, int wprng, int group_size, int modulus_size, dsa_key *key) in dsa_make_key()
|
D | dsa_encrypt_key.c | 34 prng_state *prng, int wprng, int hash, in dsa_encrypt_key()
|
/external/dropbear/libtomcrypt/src/misc/crypt/ |
D | crypt_register_prng.c | 23 int register_prng(const struct ltc_prng_descriptor *prng) in register_prng()
|
D | crypt_unregister_prng.c | 23 int unregister_prng(const struct ltc_prng_descriptor *prng) in unregister_prng()
|
/external/dropbear/libtomcrypt/src/pk/katja/ |
D | katja_make_key.c | 28 int katja_make_key(prng_state *prng, int wprng, int size, katja_key *key) in katja_make_key()
|
D | katja_encrypt_key.c | 37 prng_state *prng, int prng_idx, int hash_idx, katja_key *key) in katja_encrypt_key()
|
/external/dropbear/libtomcrypt/src/math/ |
D | rand_prime.c | 20 int rand_prime(void *N, long len, prng_state *prng, int wprng) in rand_prime()
|
/external/dropbear/libtomcrypt/src/pk/rsa/ |
D | rsa_make_key.c | 29 int rsa_make_key(prng_state *prng, int wprng, int size, long e, rsa_key *key) in rsa_make_key()
|
D | rsa_encrypt_key.c | 38 prng_state *prng, int prng_idx, int hash_idx, int padding, rsa_key *key) in rsa_encrypt_key_ex()
|
D | rsa_sign_hash.c | 37 prng_state *prng, int prng_idx, in rsa_sign_hash_ex()
|
/external/dropbear/libtomcrypt/src/pk/pkcs1/ |
D | pkcs_1_v1_5_encode.c | 37 prng_state *prng, in pkcs_1_v1_5_encode()
|
D | pkcs_1_oaep_encode.c | 36 unsigned long modulus_bitlen, prng_state *prng, in pkcs_1_oaep_encode()
|
D | pkcs_1_pss_encode.c | 34 unsigned long saltlen, prng_state *prng, in pkcs_1_pss_encode()
|
/external/dropbear/libtomcrypt/demos/ |
D | encrypt.c | 104 prng_state prng; in main() local
|