/external/dropbear/libtomcrypt/src/prngs/ |
yarrow.c | 14 @file yarrow.c 15 Yarrow PRNG, Tom St Denis 18 #ifdef YARROW 22 "yarrow", 64, 47 prng->yarrow.cipher = register_cipher(&rijndael_enc_desc); 49 prng->yarrow.cipher = register_cipher(&aes_enc_desc); 51 prng->yarrow.cipher = register_cipher(&rijndael_desc); 53 prng->yarrow.cipher = register_cipher(&aes_desc); 56 prng->yarrow.cipher = register_cipher(&blowfish_desc); 58 prng->yarrow.cipher = register_cipher(&twofish_desc) [all...] |
/external/dropbear/libtomcrypt/notes/ |
tech0004.txt | 2 Using Yarrow, Fortuna and SOBER-128 13 Yarrow 16 Yarrow is by far the simplest of the PRNGs. It gathers bits of entropy by hashing the pool state 28 Yarrow is mostly meant for short-term programs [e.g. like file utils]. This particular implementation 34 Fortuna was designed by Niels Fergusson and Bruce Schneier [Bruce is also the guy who invented Yarrow]. It 35 operates on a more defensive level than Yarrow. Instead of 1 entropy pool it has 32 and the new entropy 55 the stream. Unlike Yarrow the cipher is re-keyed after every call to fortuna_read() [so one big call 88 Yarrow is still a good candidate but only for "short lived" programs. However, since Fortuna is faster
|
tech0005.txt | 12 The following build with GCC 3.4.4 on an AMD64 box gets you AES, CTR mode, SHA-256, HMAC, Yarrow, full RSA PKCS #1, PKCS #5 and ASN.1 DER in
|
tech0001.txt | 8 This tech note explains a relatively simple way to gather entropy for a PRNG (Yarrow in this case) in embedded systems 17 First we shall begin by taking an overview of how the Yarrow PRNG works within libtomcrypt. At the heart of all
|
/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"); 17 fprintf(stderr, "pkcs_1 tests require sha1/yarrow");
|
x86_prof.c | 234 #ifndef YARROW 235 #error This demo requires Yarrow. 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) [all...] |
katja_test.c | 14 prng_idx = find_prng("yarrow"); 16 fprintf(stderr, "katja_test requires SHA1 and yarrow");
|
rsa_test.c | 138 prng_idx = find_prng("yarrow"); 140 fprintf(stderr, "rsa_test requires SHA1 and yarrow");
|
der_tests.c | 551 fprintf(stderr, "Failed to read %lu bytes from yarrow\n", z); 574 fprintf(stderr, "Failed to read %lu bytes from yarrow\n", z); [all...] |
/external/dropbear/libtomcrypt/src/headers/ |
tomcrypt_prng.h | 2 #ifdef YARROW 52 #ifdef YARROW 53 struct yarrow_prng yarrow; member in union:Prng_state 121 #ifdef YARROW
|
/external/dropbear/libtomcrypt/demos/ |
encrypt.c | 85 printf("Error registering yarrow PRNG\n"); 196 /* Setup yarrow for random bytes for IV */ 198 if ((errno = rng_make_prng(128, find_prng("yarrow"), &prng, NULL)) != CRYPT_OK) {
|
/external/dropbear/libtomcrypt/src/misc/crypt/ |
crypt.c | 232 #if defined(YARROW) 233 " Yarrow\n"
|
/external/dropbear/libtomcrypt/ |
changes | 201 -- Added LTC_MUTEX_* support to Yarrow and Fortuna allowing you to use respective prng_state as a global PRNG state [e.g. thread-safe] if you define one of the LTC_* defines at [all...] |
makefile.msvc | 113 src/prngs/sprng.obj src/prngs/yarrow.obj
|
crypt.tex | [all...] |
makefile.icc | 203 src/prngs/sprng.o src/prngs/yarrow.o
|
makefile.shared | 208 src/prngs/sprng.o src/prngs/yarrow.o
|
makefile.unix | 149 src/prngs/sprng.o src/prngs/yarrow.o
|