/external/dropbear/libtomcrypt/src/misc/crypt/ |
crypt_find_prng.c | 23 int find_prng(const char *name) function
|
/external/dropbear/libtomcrypt/testprof/ |
dsa_test.c | 13 DO(dsa_make_key(&yarrow_prng, find_prng("yarrow"), 20, 128, &key)); 22 DO(dsa_encrypt_key(msg, 16, out, &x, &yarrow_prng, find_prng("yarrow"), find_hash("sha1"), &key)); 35 DO(dsa_sign_hash(msg, sizeof(msg), out, &x, &yarrow_prng, find_prng("yarrow"), &key));
|
ecc_test.c | 123 DO(ecc_make_key (&yarrow_prng, find_prng ("yarrow"), sizes[s], &usera)); 124 DO(ecc_make_key (&yarrow_prng, find_prng ("yarrow"), sizes[s], &userb)); 188 DO(ecc_make_key (&yarrow_prng, find_prng ("yarrow"), sizes[s], &usera)); 202 DO(ecc_encrypt_key (buf[0], 32, buf[1], &y, &yarrow_prng, find_prng ("yarrow"), find_hash ("sha256"), &pubKey)); 221 DO(ecc_sign_hash (buf[0], 16, buf[1], &x, &yarrow_prng, find_prng ("yarrow"), &privKey));
|
pkcs_1_test.c | 14 prng_idx = find_prng("yarrow");
|
x86_prof.c | 248 if ((err = rng_make_prng(128, find_prng("yarrow"), &yarrow_prng, NULL)) != CRYPT_OK) { 785 if ((err = dsa_make_key(&yarrow_prng, find_prng("yarrow"), groups[x].group, groups[x].modulus, &key)) != CRYPT_OK) { 822 if ((err = rsa_make_key(&yarrow_prng, find_prng("yarrow"), x/8, 65537, &key)) != CRYPT_OK) { 847 find_prng("yarrow"), find_hash("sha1"), 888 find_prng("yarrow"), find_hash("sha1"), 8, &key)) != CRYPT_OK) { 946 if ((err = katja_make_key(&yarrow_prng, find_prng("yarrow"), x/8, &key)) != CRYPT_OK) { 966 find_prng("yarrow"), find_hash("sha1"), 1042 if ((err = ecc_make_key(&yarrow_prng, find_prng("yarrow"), x, &key)) != CRYPT_OK) { 1066 if ((err = ecc_encrypt_key(buf[0], 20, buf[1], &z, &yarrow_prng, find_prng("yarrow"), find_hash("sha1"), 1106 find_prng("yarrow"), &key)) != CRYPT_OK) [all...] |
katja_test.c | 14 prng_idx = find_prng("yarrow");
|
rsa_test.c | 138 prng_idx = find_prng("yarrow");
|
/external/dropbear/libtomcrypt/demos/ |
encrypt.c | 198 if ((errno = rng_make_prng(128, find_prng("yarrow"), &prng, NULL)) != CRYPT_OK) {
|
/external/dropbear/libtomcrypt/src/headers/ |
tomcrypt_prng.h | 181 int find_prng(const char *name);
|
/external/dropbear/libtomcrypt/ |
crypt.tex | 378 if ((err = rsa_make_key(NULL, find_prng("sprng"), 1024/8, 65537, &key)) [all...] |