/external/dropbear/libtomcrypt/src/headers/ |
tomcrypt_prng.h | 50 typedef union Prng_state { 64 } prng_state; typedef in typeref:union:Prng_state 76 int (*start)(prng_state *prng); 83 int (*add_entropy)(const unsigned char *in, unsigned long inlen, prng_state *prng); 88 int (*ready)(prng_state *prng); 95 unsigned long (*read)(unsigned char *out, unsigned long outlen, prng_state *prng); 100 int (*done)(prng_state *prng); 107 int (*pexport)(unsigned char *out, unsigned long *outlen, prng_state *prng); 114 int (*pimport)(const unsigned char *in, unsigned long inlen, prng_state *prng); 122 int yarrow_start(prng_state *prng) [all...] |
tomcrypt_pkcs.h | 31 prng_state *prng, 47 unsigned long modulus_bitlen, prng_state *prng, 58 unsigned long saltlen, prng_state *prng,
|
tomcrypt_pk.h | 8 int rand_prime(void *N, long len, prng_state *prng, int wprng); 39 int rsa_make_key(prng_state *prng, int wprng, int size, long e, rsa_key *key); 64 prng_state *prng, int prng_idx, int hash_idx, int padding, rsa_key *key); 75 prng_state *prng, int prng_idx, 120 int katja_make_key(prng_state *prng, int wprng, int size, katja_key *key); 132 prng_state *prng, int prng_idx, int hash_idx, katja_key *key); 216 int ecc_make_key(prng_state *prng, int wprng, int keysize, ecc_key *key); 217 int ecc_make_key_ex(prng_state *prng, int wprng, ecc_key *key, const ltc_ecc_set_type *dp); 233 prng_state *prng, int wprng, int hash, 242 prng_state *prng, int wprng, ecc_key *key) [all...] |
/external/dropbear/libtomcrypt/src/prngs/ |
sprng.c | 43 int sprng_start(prng_state *prng) 55 int sprng_add_entropy(const unsigned char *in, unsigned long inlen, prng_state *prng) 65 int sprng_ready(prng_state *prng) 77 unsigned long sprng_read(unsigned char *out, unsigned long outlen, prng_state *prng) 88 int sprng_done(prng_state *prng) 100 int sprng_export(unsigned char *out, unsigned long *outlen, prng_state *prng) 115 int sprng_import(const unsigned char *in, unsigned long inlen, prng_state *prng)
|
rc4.c | 38 int rc4_start(prng_state *prng) 55 int rc4_add_entropy(const unsigned char *in, unsigned long inlen, prng_state *prng) 84 int rc4_ready(prng_state *prng) 125 unsigned long rc4_read(unsigned char *out, unsigned long outlen, prng_state *prng) 158 int rc4_done(prng_state *prng) 171 int rc4_export(unsigned char *out, unsigned long *outlen, prng_state *prng) 197 int rc4_import(const unsigned char *in, unsigned long inlen, prng_state *prng) 231 prng_state prng;
|
rng_make_prng.c | 26 int rng_make_prng(int bits, int wprng, prng_state *prng,
|
fortuna.c | 53 static void fortuna_update_iv(prng_state *prng) 66 static int fortuna_reseed(prng_state *prng) 130 int fortuna_start(prng_state *prng) 171 int fortuna_add_entropy(const unsigned char *in, unsigned long inlen, prng_state *prng) 214 int fortuna_ready(prng_state *prng) 226 unsigned long fortuna_read(unsigned char *out, unsigned long outlen, prng_state *prng) 284 int fortuna_done(prng_state *prng) 316 int fortuna_export(unsigned char *out, unsigned long *outlen, prng_state *prng) 382 int fortuna_import(const unsigned char *in, unsigned long inlen, prng_state *prng)
|
sober128.c | 109 int sober128_start(prng_state *prng) 207 int sober128_add_entropy(const unsigned char *in, unsigned long inlen, prng_state *prng) 273 int sober128_ready(prng_state *prng) 289 unsigned long sober128_read(unsigned char *out, unsigned long outlen, prng_state *prng) 368 int sober128_done(prng_state *prng) 381 int sober128_export(unsigned char *out, unsigned long *outlen, prng_state *prng) 407 int sober128_import(const unsigned char *in, unsigned long inlen, prng_state *prng) 457 prng_state prng;
|
yarrow.c | 38 int yarrow_start(prng_state *prng) 135 int yarrow_add_entropy(const unsigned char *in, unsigned long inlen, prng_state *prng) 184 int yarrow_ready(prng_state *prng) 228 unsigned long yarrow_read(unsigned char *out, unsigned long outlen, prng_state *prng) 252 int yarrow_done(prng_state *prng) 275 int yarrow_export(unsigned char *out, unsigned long *outlen, prng_state *prng) 306 int yarrow_import(const unsigned char *in, unsigned long inlen, prng_state *prng) 339 prng_state prng;
|
/external/dropbear/libtomcrypt/src/math/ |
rand_prime.c | 20 int rand_prime(void *N, long len, prng_state *prng, int wprng)
|
/external/dropbear/libtomcrypt/src/pk/katja/ |
katja_encrypt_key.c | 37 prng_state *prng, int prng_idx, int hash_idx, katja_key *key)
|
katja_make_key.c | 28 int katja_make_key(prng_state *prng, int wprng, int size, katja_key *key)
|
/external/dropbear/libtomcrypt/src/pk/ecc/ |
ecc_make_key.c | 34 int ecc_make_key(prng_state *prng, int wprng, int keysize, ecc_key *key) 50 int ecc_make_key_ex(prng_state *prng, int wprng, ecc_key *key, const ltc_ecc_set_type *dp)
|
ecc_sign_hash.c | 39 prng_state *prng, int wprng, ecc_key *key)
|
ecc_encrypt_key.c | 40 prng_state *prng, int wprng, int hash,
|
/external/dropbear/libtomcrypt/src/pk/pkcs1/ |
pkcs_1_v1_5_encode.c | 37 prng_state *prng,
|
pkcs_1_oaep_encode.c | 36 unsigned long modulus_bitlen, prng_state *prng,
|
/external/dropbear/libtomcrypt/src/pk/rsa/ |
rsa_encrypt_key.c | 38 prng_state *prng, int prng_idx, int hash_idx, int padding, rsa_key *key)
|
rsa_sign_hash.c | 37 prng_state *prng, int prng_idx,
|
/external/dropbear/libtomcrypt/testprof/ |
cipher_hash_test.c | 10 prng_state nprng;
|
tomcrypt_test.h | 18 extern prng_state yarrow_prng;
|
/external/dropbear/libtomcrypt/src/pk/dsa/ |
dsa_sign_hash.c | 33 prng_state *prng, int wprng, dsa_key *key) 124 prng_state *prng, int wprng, dsa_key *key)
|
dsa_encrypt_key.c | 34 prng_state *prng, int wprng, int hash,
|
dsa_make_key.c | 29 int dsa_make_key(prng_state *prng, int wprng, int group_size, int modulus_size, dsa_key *key)
|
/external/dropbear/libtomcrypt/demos/ |
encrypt.c | 104 prng_state prng;
|