Home
last modified time | relevance | path

Searched refs:hash_maps (Results 1 – 6 of 6) sorted by relevance

/freebsd/crypto/libecc/src/hash/
H A Dhash_algs.c32 for (i = 0, _hm = &hash_maps[i]; _hm->type != UNKNOWN_HASH_ALG; in get_hash_by_name()
33 _hm = &hash_maps[++i]) { in get_hash_by_name()
61 for (i = 0, _hm = &hash_maps[i]; _hm->type != UNKNOWN_HASH_ALG; in get_hash_by_type()
62 _hm = &hash_maps[++i]) { in get_hash_by_type()
87 for (i = 0, m = &hash_maps[i]; m->type != UNKNOWN_HASH_ALG; in get_hash_sizes()
88 m = &hash_maps[++i]) { in get_hash_sizes()
119 for (i = 0, m = &hash_maps[i]; m->type != UNKNOWN_HASH_ALG; in hash_mapping_callbacks_sanity_check()
120 m = &hash_maps[++i]) { in hash_mapping_callbacks_sanity_check()
/freebsd/crypto/libecc/src/tests/
H A Dec_self_tests_core.c1503 for (num_hash_maps = 0; hash_maps[num_hash_maps].type != UNKNOWN_HASH_ALG; num_hash_maps++) {}
1524 ret = are_str_equal(hash_maps[j].name, hash, &check); OPENMP_EG(ret, err);
1539 …if((ec_sig_maps[i].type == EDDSA25519) && ((hash_maps[j].type != SHA512) || (ec_maps[k].type != WE…
1542 …if((ec_sig_maps[i].type == EDDSA25519CTX) && ((hash_maps[j].type != SHA512) || (ec_maps[k].type !=…
1545 …if((ec_sig_maps[i].type == EDDSA25519PH) && ((hash_maps[j].type != SHA512) || (ec_maps[k].type != …
1550 …if((ec_sig_maps[i].type == EDDSA448) && ((hash_maps[j].type != SHAKE256) || (ec_maps[k].type != WE…
1553 …if((ec_sig_maps[i].type == EDDSA448PH) && ((hash_maps[j].type != SHAKE256) || (ec_maps[k].type != …
1558 &hash_maps[j],
1919 for (j = 0; hash_maps[j].type != UNKNOWN_HASH_ALG; j++) {
1928 ret = are_str_equal(hash_maps[j].name, hash, &check); OPENMP_EG(ret, err);
[all …]
H A Dec_self_tests.c103 for (i = 0; hash_maps[i].type != UNKNOWN_HASH_ALG; i++) { in print_hash_algs()
104 ext_printf("%s ", hash_maps[i].name); in print_hash_algs()
H A Dec_utils.c1558 for (i = 0; hash_maps[i].type != UNKNOWN_HASH_ALG; i++) { in print_hash_algs()
1559 printf("%s ", hash_maps[i].name); in print_hash_algs()
/freebsd/crypto/libecc/src/sig/
H A Dsig_algs.c311 for (i = 0, hm = &hash_maps[i]; in _ec_sign_init()
312 hm->type != UNKNOWN_HASH_ALG; hm = &hash_maps[++i]) { in _ec_sign_init()
527 for (i = 0, hm = &hash_maps[i]; in ec_verify_init()
528 hm->type != UNKNOWN_HASH_ALG; hm = &hash_maps[++i]) { in ec_verify_init()
/freebsd/crypto/libecc/include/libecc/hash/
H A Dhash_algs.h258 static const hash_mapping hash_maps[] = { variable