/external/dropbear/libtomcrypt/src/misc/crypt/ |
crypt_find_hash.c | 23 int find_hash(const char *name) function
|
crypt_find_hash_any.c | 28 x = find_hash(name);
|
/external/dropbear/libtomcrypt/demos/ |
multi.c | 16 hash_memory(find_hash("sha256"), (unsigned char*)"hello", 5, buf[0], &len); 18 hash_memory_multi(find_hash("sha256"), buf[1], &len2, (unsigned char*)"hello", 5, NULL); 24 hash_memory_multi(find_hash("sha256"), buf[1], &len2, (unsigned char*)"he", 2UL, "llo", 3UL, NULL, 0); 30 hash_memory_multi(find_hash("sha256"), buf[1], &len2, (unsigned char*)"h", 1UL, "e", 1UL, "l", 1UL, "l", 1UL, "o", 1UL, NULL); 38 hmac_memory(find_hash("sha256"), key, 16, (unsigned char*)"hello", 5, buf[0], &len); 40 hmac_memory_multi(find_hash("sha256"), key, 16, buf[1], &len2, (unsigned char*)"hello", 5UL, NULL); 46 hmac_memory_multi(find_hash("sha256"), key, 16, buf[1], &len2, (unsigned char*)"he", 2UL, "llo", 3UL, NULL); 52 hmac_memory_multi(find_hash("sha256"), key, 16, buf[1], &len2, (unsigned char*)"h", 1UL, "e", 1UL, "l", 1UL, "l", 1UL, "o", 1UL, NULL);
|
hashsum.c | 34 idx = find_hash(argv[1]);
|
encrypt.c | 145 hash_idx = find_hash("sha256");
|
/external/dropbear/libtomcrypt/testprof/ |
dsa_test.c | 22 DO(dsa_encrypt_key(msg, 16, out, &x, &yarrow_prng, find_prng("yarrow"), find_hash("sha1"), &key));
|
pkcs_1_test.c | 13 hash_idx = find_hash("sha1");
|
x86_prof.c | 847 find_prng("yarrow"), find_hash("sha1"), 867 if ((err = rsa_decrypt_key(buf[1], z, buf[0], &zzz, (const unsigned char *)"testprog", 8, find_hash("sha1"), 888 find_prng("yarrow"), find_hash("sha1"), 8, &key)) != CRYPT_OK) { 906 if ((err = rsa_verify_hash(buf[1], z, buf[0], 20, find_hash("sha1"), 8, &stat, &key)) != CRYPT_OK) { 966 find_prng("yarrow"), find_hash("sha1"), 982 if ((err = katja_decrypt_key(buf[1], z, buf[0], &zzz, "testprog", 8, find_hash("sha1"), 1066 if ((err = ecc_encrypt_key(buf[0], 20, buf[1], &z, &yarrow_prng, find_prng("yarrow"), find_hash("sha1"), 1166 hash_idx = find_hash("sha1"); [all...] |
katja_test.c | 13 hash_idx = find_hash("sha1");
|
ecc_test.c | 202 DO(ecc_encrypt_key (buf[0], 32, buf[1], &y, &yarrow_prng, find_prng ("yarrow"), find_hash ("sha256"), &pubKey));
|
rsa_test.c | 137 hash_idx = find_hash("sha1");
|
/external/dropbear/libtomcrypt/src/hashes/chc/ |
chc.c | 68 if ((err = hash_is_valid(idx = find_hash("chc_hash"))) != CRYPT_OK) {
|
/external/dropbear/ |
packet.c | 330 find_hash(ses.keys->recv_algo_mac->hashdesc->name), 534 find_hash(ses.keys->trans_algo_mac->hashdesc->name),
|
/external/wpa_supplicant/ |
crypto_libtomcrypt.c | 181 if (hmac_init(&ctx->u.hmac, find_hash("md5"), key, key_len) != 186 if (hmac_init(&ctx->u.hmac, find_hash("sha1"), key, key_len) !=
|
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
crypto_libtomcrypt.c | 181 if (hmac_init(&ctx->u.hmac, find_hash("md5"), key, key_len) != 186 if (hmac_init(&ctx->u.hmac, find_hash("sha1"), key, key_len) !=
|
/external/wpa_supplicant_8/src/crypto/ |
crypto_libtomcrypt.c | 180 if (hmac_init(&ctx->u.hmac, find_hash("md5"), key, key_len) != 185 if (hmac_init(&ctx->u.hmac, find_hash("sha1"), key, key_len) !=
|
/external/dropbear/libtomcrypt/src/headers/ |
tomcrypt_hash.h | 322 int find_hash(const char *name);
|
/external/dropbear/libtomcrypt/src/mac/hmac/ |
hmac_test.c | 269 int hash = find_hash(cases[i].algo);
|
/external/dropbear/libtomcrypt/ |
crypt.tex | [all...] |