Searched refs:UNKNOWN_HASH_ALG (Results 1 – 11 of 11) sorted by relevance
/freebsd/crypto/libecc/src/hash/ |
H A D | hash_algs.c | 32 for (i = 0, _hm = &hash_maps[i]; _hm->type != UNKNOWN_HASH_ALG; in get_hash_by_name() 61 for (i = 0, _hm = &hash_maps[i]; _hm->type != UNKNOWN_HASH_ALG; in get_hash_by_type() 87 for (i = 0, m = &hash_maps[i]; m->type != UNKNOWN_HASH_ALG; in get_hash_sizes() 119 for (i = 0, m = &hash_maps[i]; m->type != UNKNOWN_HASH_ALG; in hash_mapping_callbacks_sanity_check()
|
/freebsd/crypto/libecc/src/examples/hash/ |
H A D | hash.c | 17 hash_alg_type htype = UNKNOWN_HASH_ALG; in get_libecc_hash() 144 htype = UNKNOWN_HASH_ALG; in get_libecc_hash() 148 if(htype != UNKNOWN_HASH_ALG){ in get_libecc_hash() 164 (*hash_type) = UNKNOWN_HASH_ALG; in get_libecc_hash()
|
H A D | hash.h | 41 HASH_UNKNOWN_HASH_ALG = UNKNOWN_HASH_ALG,
|
/freebsd/crypto/libecc/include/libecc/ |
H A D | lib_ecc_types.h | 83 UNKNOWN_HASH_ALG = 0, enumerator
|
/freebsd/crypto/libecc/src/sig/ |
H A D | eddsa.c | 129 hash_alg_type hash_type = UNKNOWN_HASH_ALG; in get_eddsa_hash_type() 148 hash_type = UNKNOWN_HASH_ALG; in get_eddsa_hash_type() 318 MUST_HAVE(((hash_type = get_eddsa_hash_type(in_priv->key_type)) != UNKNOWN_HASH_ALG), ret, err); in eddsa_get_digest_from_priv_key() 576 hash_alg_type hash_type = UNKNOWN_HASH_ALG; in eddsa_derive_priv_key_hash() 586 MUST_HAVE(((hash_type = get_eddsa_hash_type(in_priv->key_type)) != UNKNOWN_HASH_ALG), ret, err); in eddsa_derive_priv_key_hash() 619 hash_alg_type hash_type = UNKNOWN_HASH_ALG; in eddsa_derive_priv_key() 628 MUST_HAVE(((hash_type = get_eddsa_hash_type(priv_key->key_type)) != UNKNOWN_HASH_ALG), ret, err); in eddsa_derive_priv_key() 701 hash_alg_type hash_type = UNKNOWN_HASH_ALG; in eddsa_gen_priv_key() 709 MUST_HAVE(((hash_type = get_eddsa_hash_type(priv_key->key_type)) != UNKNOWN_HASH_ALG), ret, err); in eddsa_gen_priv_key() 745 hash_alg_type hash_type = UNKNOWN_HASH_ALG; in eddsa_import_priv_key() [all …]
|
H A D | sig_algs.c | 312 hm->type != UNKNOWN_HASH_ALG; hm = &hash_maps[++i]) { in _ec_sign_init() 528 hm->type != UNKNOWN_HASH_ALG; hm = &hash_maps[++i]) { in ec_verify_init()
|
/freebsd/crypto/libecc/src/tests/ |
H A D | ec_self_tests.c | 103 for (i = 0; hash_maps[i].type != UNKNOWN_HASH_ALG; i++) { in print_hash_algs()
|
H A D | ec_self_tests_core.c | 1503 for (num_hash_maps = 0; hash_maps[num_hash_maps].type != UNKNOWN_HASH_ALG; num_hash_maps++) {} 1919 for (j = 0; hash_maps[j].type != UNKNOWN_HASH_ALG; j++) {
|
H A D | ec_utils.c | 1558 for (i = 0; hash_maps[i].type != UNKNOWN_HASH_ALG; i++) { in print_hash_algs()
|
H A D | ec_self_tests_core.h | 4903 .hash_type = UNKNOWN_HASH_ALG,
|
/freebsd/crypto/libecc/include/libecc/hash/ |
H A D | hash_algs.h | 539 {.type = UNKNOWN_HASH_ALG, /* Needs to be kept last */
|