Home
last modified time | relevance | path

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

/external/dropbear/libtomcrypt/src/prngs/
Dsprng.c43 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()
Dyarrow.c38 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()
Dfortuna.c53 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()
Drc4.c38 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()
Dsober128.c109 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()
Drng_make_prng.c26 int rng_make_prng(int bits, int wprng, prng_state *prng, in rng_make_prng()
/external/dropbear/libtomcrypt/src/pk/ecc/
Decc_make_key.c34 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()
Decc_sign_hash.c39 prng_state *prng, int wprng, ecc_key *key) in ecc_sign_hash()
Decc_encrypt_key.c40 prng_state *prng, int wprng, int hash, in ecc_encrypt_key()
/external/dropbear/libtomcrypt/src/pk/dsa/
Ddsa_sign_hash.c33 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()
Ddsa_make_key.c29 int dsa_make_key(prng_state *prng, int wprng, int group_size, int modulus_size, dsa_key *key) in dsa_make_key()
Ddsa_encrypt_key.c34 prng_state *prng, int wprng, int hash, in dsa_encrypt_key()
/external/dropbear/libtomcrypt/src/misc/crypt/
Dcrypt_register_prng.c23 int register_prng(const struct ltc_prng_descriptor *prng) in register_prng()
Dcrypt_unregister_prng.c23 int unregister_prng(const struct ltc_prng_descriptor *prng) in unregister_prng()
/external/dropbear/libtomcrypt/src/pk/katja/
Dkatja_make_key.c28 int katja_make_key(prng_state *prng, int wprng, int size, katja_key *key) in katja_make_key()
Dkatja_encrypt_key.c37 prng_state *prng, int prng_idx, int hash_idx, katja_key *key) in katja_encrypt_key()
/external/dropbear/libtomcrypt/src/math/
Drand_prime.c20 int rand_prime(void *N, long len, prng_state *prng, int wprng) in rand_prime()
/external/dropbear/libtomcrypt/src/pk/rsa/
Drsa_make_key.c29 int rsa_make_key(prng_state *prng, int wprng, int size, long e, rsa_key *key) in rsa_make_key()
Drsa_encrypt_key.c38 prng_state *prng, int prng_idx, int hash_idx, int padding, rsa_key *key) in rsa_encrypt_key_ex()
Drsa_sign_hash.c37 prng_state *prng, int prng_idx, in rsa_sign_hash_ex()
/external/dropbear/libtomcrypt/src/pk/pkcs1/
Dpkcs_1_v1_5_encode.c37 prng_state *prng, in pkcs_1_v1_5_encode()
Dpkcs_1_oaep_encode.c36 unsigned long modulus_bitlen, prng_state *prng, in pkcs_1_oaep_encode()
Dpkcs_1_pss_encode.c34 unsigned long saltlen, prng_state *prng, in pkcs_1_pss_encode()
/external/dropbear/libtomcrypt/demos/
Dencrypt.c104 prng_state prng; in main() local