Home
last modified time | relevance | path

Searched refs:hash_mapping (Results 1 – 14 of 14) sorted by relevance

/freebsd/crypto/libecc/src/hash/
H A Dhash_algs.c23 ATTRIBUTE_WARN_UNUSED_RET int get_hash_by_name(const char *hash_name, const hash_mapping **hm) in get_hash_by_name()
25 const hash_mapping *_hm = NULL; in get_hash_by_name()
52 ATTRIBUTE_WARN_UNUSED_RET int get_hash_by_type(hash_alg_type hash_type, const hash_mapping **hm) in get_hash_by_type()
54 const hash_mapping *_hm = NULL; in get_hash_by_type()
82 const hash_mapping *m; in get_hash_sizes()
108 ATTRIBUTE_WARN_UNUSED_RET int hash_mapping_callbacks_sanity_check(const hash_mapping *h) in hash_mapping_callbacks_sanity_check()
110 const hash_mapping *m; in hash_mapping_callbacks_sanity_check()
H A Dhmac.c24 const hash_mapping *h; in hmac_init()
87 const hash_mapping *h; in hmac_update()
106 const hash_mapping *h; in hmac_finalize()
/freebsd/crypto/libecc/src/examples/hash/
H A Dhash.c14 …hash(gen_hash_alg_type gen_hash_type, hash_alg_type *hash_type, const hash_mapping **hm, u8 *hlen,… in get_libecc_hash()
222 const hash_mapping *hm; in gen_hash_get_hash_sizes()
276 const hash_mapping *hm; in gen_hash_hfunc_scattered()
347 const hash_mapping *hm; in gen_hash_init()
400 const hash_mapping *hm; in gen_hash_update()
453 const hash_mapping *hm; in gen_hash_final()
/freebsd/crypto/libecc/include/libecc/hash/
H A Dhash_algs.h241 } hash_mapping; typedef
243 ATTRIBUTE_WARN_UNUSED_RET static inline int hash_mapping_sanity_check(const hash_mapping *hm) in hash_mapping_sanity_check()
258 static const hash_mapping hash_maps[] = {
549 ATTRIBUTE_WARN_UNUSED_RET int get_hash_by_name(const char *hash_name, const hash_mapping **hm);
550 ATTRIBUTE_WARN_UNUSED_RET int get_hash_by_type(hash_alg_type hash_type, const hash_mapping **hm);
552 ATTRIBUTE_WARN_UNUSED_RET int hash_mapping_callbacks_sanity_check(const hash_mapping *h);
H A Dhmac.h18 const hash_mapping *hash;
/freebsd/crypto/libecc/include/libecc/sig/
H A Dsig_algs_internal.h159 const hash_mapping *h;
217 const hash_mapping *h;
/freebsd/crypto/libecc/src/sig/
H A Deddsa.c60 ATTRIBUTE_WARN_UNUSED_RET static inline int dom(u16 x, const u8 *y, u16 olen_y, const hash_mapping in dom()
102 ATTRIBUTE_WARN_UNUSED_RET static inline int dom2(u16 x, const u8 *y, u16 olen_y, const hash_mapping in dom2()
118 ATTRIBUTE_WARN_UNUSED_RET static inline int dom4(u16 x, const u8 *y, u16 olen_y, const hash_mapping in dom4()
313 const hash_mapping *hash; in eddsa_get_digest_from_priv_key()
577 const hash_mapping *hash; in eddsa_derive_priv_key_hash()
1057 const hash_mapping *hash;
1120 const hash_mapping *h;
1246 const hash_mapping *h;
1584 const hash_mapping *h;
2305 const hash_mapping *hm;
[all …]
H A Dbip0340.c47 const hash_mapping *hm, hash_context *h_ctx) in _bip0340_hash()
177 const hash_mapping *hm; in _bip0340_sign()
767 const hash_mapping *hm; in _bip0340_compute_batch_csprng_seed()
824 const hash_mapping *hm; in _bip0340_verify_batch_no_memory()
1044 const hash_mapping *hm; in _bip0340_verify_batch()
H A Dsig_algs.c301 const hash_mapping *hm; in _ec_sign_init()
517 const hash_mapping *hm; in ec_verify_init()
H A Decfsdsa.c671 const hash_mapping *hm; in _ecfsdsa_verify_batch_no_memory()
854 const hash_mapping *hm; in _ecfsdsa_verify_batch()
H A Dsm2.c141 const hash_mapping *hm; in sm2_compute_Z()
/freebsd/crypto/libecc/src/tests/
H A Dec_self_tests_core.c1240 const hash_mapping *hash_map;
1343 const hash_mapping *hash,
1774 ATTRIBUTE_WARN_UNUSED_RET static int perf_test_one(const ec_sig_mapping *sig, const hash_mapping *h…
H A Dec_utils.c175 const hash_mapping *hm; in string_to_params()
/freebsd/crypto/libecc/
H A DREADME.md581 algorithm should be added here in compliance with the API described in the `hash_mapping struct`. T…