Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/crypto/slh_dsa/
H A Dslh_wots.c97 SLH_HASH_FUNC_DECLARE(key, hashf); in slh_wots_chain()
99 SLH_HASH_FN_DECLARE(hashf, F); in slh_wots_chain()
151 SLH_HASH_FUNC_DECLARE(key, hashf); in ossl_slh_wots_pk_gen()
153 SLH_HASH_FN_DECLARE(hashf, PRF); in ossl_slh_wots_pk_gen()
179 ret = hashf->T(ctx, pk_seed, wots_pk_adrs, tmp, tmp_len, pk_out, pk_out_len); in ossl_slh_wots_pk_gen()
217 SLH_HASH_FUNC_DECLARE(key, hashf); in ossl_slh_wots_sign()
219 SLH_HASH_FN_DECLARE(hashf, PRF); in ossl_slh_wots_sign()
283 SLH_HASH_FUNC_DECLARE(key, hashf); in ossl_slh_wots_pk_from_sig()
309 ret = hashf->T(ctx, pk_seed, wots_pk_adrs, tmp, tmp_len, in ossl_slh_wots_pk_from_sig()
H A Dslh_hash.h18 #define SLH_HASH_FUNC_DECLARE(ctx, hashf) \ argument
19 const SLH_HASH_FUNC *hashf = ctx->hash_func
21 #define SLH_HASH_FN_DECLARE(hashf, t) OSSL_SLH_HASHFUNC_##t *t = hashf->t argument
H A Dslh_dsa.c64 SLH_HASH_FUNC_DECLARE(priv, hashf); in slh_sign_internal()
97 if (!hashf->PRF_MSG(hctx, SLH_DSA_SK_PRF(priv), opt_rand, msg, msg_len, wpkt) in slh_sign_internal()
99 || !hashf->H_MSG(hctx, r, pk_seed, SLH_DSA_PK_ROOT(priv), msg, msg_len, in slh_sign_internal()
152 SLH_HASH_FUNC_DECLARE(pub, hashf); in slh_verify_internal()
186 if (!hashf->H_MSG(hctx, r, pk_seed, pk_root, msg, msg_len, in slh_verify_internal()
H A Dslh_fors.c233 SLH_HASH_FUNC_DECLARE(key, hashf); in ossl_slh_fors_pk_from_sig()
234 SLH_HASH_FN_DECLARE(hashf, F); in ossl_slh_fors_pk_from_sig()
235 SLH_HASH_FN_DECLARE(hashf, H); in ossl_slh_fors_pk_from_sig()
287 ret = hashf->T(ctx, pk_seed, pk_adrs, roots, roots_len, pk_out, pk_out_len); in ossl_slh_fors_pk_from_sig()
H A Dslh_xmss.c145 SLH_HASH_FUNC_DECLARE(key, hashf); in ossl_slh_xmss_pk_from_sig()
147 SLH_HASH_FN_DECLARE(hashf, H); in ossl_slh_xmss_pk_from_sig()
/freebsd/crypto/libecc/scripts/
H A Dexpand_libecc.py1184 …vectors = [[ gen_self_test(curve, hashf, sign, verify, genkp, num, hash_name, sig_alg_name, total_…
1185 …for (hashf, hash_name) in all_hash_funcs ] for (sign, verify, genkp, sig_alg_name) in all_sig_algs…