Home
last modified time | relevance | path

Searched refs:hfunc_finalize (Results 1 – 15 of 15) sorted by relevance

/freebsd/crypto/libecc/include/libecc/hash/
H A Dhash_algs.h239 ATTRIBUTE_WARN_UNUSED_RET _hfunc_finalize hfunc_finalize; member
248 (hm->hfunc_update != NULL) && (hm->hfunc_finalize != NULL) && in hash_mapping_sanity_check()
266 .hfunc_finalize = _sha224_final,
280 .hfunc_finalize = _sha256_final,
294 .hfunc_finalize = _sha384_final,
308 .hfunc_finalize = _sha512_final,
322 .hfunc_finalize = _sha512_224_final,
336 .hfunc_finalize = _sha512_256_final,
350 .hfunc_finalize = _sha3_224_final,
364 .hfunc_finalize = _sha3_256_final,
[all …]
/freebsd/crypto/libecc/src/hash/
H A Dhmac.c54 ret = h->hfunc_finalize(&tmp_ctx, local_hmac_key); EG(ret, err); in hmac_init()
118 ret = h->hfunc_finalize(&(ctx->in_ctx), in_hash); EG(ret, err); in hmac_finalize()
120 ret = h->hfunc_finalize(&(ctx->out_ctx), output); EG(ret, err); in hmac_finalize()
H A Dhash_algs.c132 } else if(m->hfunc_finalize != h->hfunc_finalize) { in hash_mapping_callbacks_sanity_check()
/freebsd/crypto/libecc/src/sig/
H A Dbip0340.c58 ret = hm->hfunc_finalize(h_ctx, hash); EG(ret, err); in _bip0340_hash()
263 ret = hm->hfunc_finalize(&h_ctx, buff); EG(ret, err); in _bip0340_sign()
284 ret = hm->hfunc_finalize(&h_ctx, buff); EG(ret, err); in _bip0340_sign()
320 ret = hm->hfunc_finalize(&h_ctx, buff); EG(ret, err); in _bip0340_sign()
532 ret = ctx->h->hfunc_finalize(&(ctx->verify_data.bip0340.h_ctx), in _bip0340_verify_finalize()
794 ret = hm->hfunc_finalize(&h_ctx, seed); in _bip0340_compute_batch_csprng_seed()
975 ret = hm->hfunc_finalize(&h_ctx, hash); EG(ret, err); in _bip0340_verify_batch_no_memory()
1236 ret = hm->hfunc_finalize(&h_ctx, hash); EG(ret, err); in _bip0340_verify_batch()
H A Deckcdsa.c359 ret = ctx->h->hfunc_finalize(&(ctx->sign_data.eckcdsa.h_ctx), hzm); EG(ret, err); in _eckcdsa_sign_finalize()
412 ret = ctx->h->hfunc_finalize(&r_ctx, r); EG(ret, err); in _eckcdsa_sign_finalize()
746 ret = ctx->h->hfunc_finalize(&(ctx->verify_data.eckcdsa.h_ctx), hzm); EG(ret, err); in _eckcdsa_verify_finalize()
784 ret = ctx->h->hfunc_finalize(&r_prime_ctx, r_prime); EG(ret, err); in _eckcdsa_verify_finalize()
H A Deddsa.c1076 ret = hash->hfunc_finalize(&hash_ctx, digest); EG(ret, err);
1327 ret = h->hfunc_finalize(&(ctx->sign_data.eddsa.h_ctx), ph_hash); EG(ret, err);
1362 ret = h->hfunc_finalize(&(ctx->sign_data.eddsa.h_ctx), hash); EG(ret, err);
1480 ret = h->hfunc_finalize(&(ctx->sign_data.eddsa.h_ctx), hash); EG(ret, err);
1710 ret = h->hfunc_finalize(&h_ctx, hash); EG(ret, err);
1838 ret = h->hfunc_finalize(&h_ctx, hash); EG(ret, err);
2202 ret = ctx->h->hfunc_finalize(h_ctx_pre_hash, hash); EG(ret, err);
2206 ret = ctx->h->hfunc_finalize(h_ctx, hash); EG(ret, err);
2490 ret = hm->hfunc_finalize(&h_ctx_pre_hash, hash); EG(ret, err);
2497 ret = hm->hfunc_finalize(&h_ctx, hash); EG(ret, err);
[all …]
H A Dsm2.c199 ret = hm->hfunc_finalize(&hctx, Z); EG(ret, err); in sm2_compute_Z()
364 ret = ctx->h->hfunc_finalize(&(ctx->sign_data.sm2.h_ctx), hash); EG(ret, err); in _sm2_sign_finalize()
652 ret = ctx->h->hfunc_finalize(&(ctx->verify_data.sm2.h_ctx), hash); EG(ret, err); in _sm2_verify_finalize()
H A Decfsdsa.c313 ret = ctx->h->hfunc_finalize(&(ctx->sign_data.ecfsdsa.h_ctx), e_buf); EG(ret, err); in _ecfsdsa_sign_finalize()
582 ret = ctx->h->hfunc_finalize(&(ctx->verify_data.ecfsdsa.h_ctx), e_buf); EG(ret, err); in _ecfsdsa_verify_finalize()
776 ret = hm->hfunc_finalize(&h_ctx, hash); EG(ret, err); in _ecfsdsa_verify_batch_no_memory()
993 ret = hm->hfunc_finalize(&h_ctx, hash); EG(ret, err); in _ecfsdsa_verify_batch()
H A Decsdsa_common.c318 ret = ctx->h->hfunc_finalize(&(ctx->sign_data.ecsdsa.h_ctx), r); EG(ret, err); in __ecsdsa_sign_finalize()
603 ret = ctx->h->hfunc_finalize(&(ctx->verify_data.ecsdsa.h_ctx), r_prime); EG(ret, err); in __ecsdsa_verify_finalize()
H A Decrdsa.c301 ret = ctx->h->hfunc_finalize(&(ctx->sign_data.ecrdsa.h_ctx), h_buf); EG(ret, err); in _ecrdsa_sign_finalize()
540 ret = ctx->h->hfunc_finalize(&(ctx->verify_data.ecrdsa.h_ctx), h_buf); EG(ret, err); in _ecrdsa_verify_finalize()
H A Decgdsa.c245 ret = ctx->h->hfunc_finalize(&(ctx->sign_data.ecgdsa.h_ctx), e_buf); EG(ret, err); in _ecgdsa_sign_finalize()
543 ret = ctx->h->hfunc_finalize(&(ctx->verify_data.ecgdsa.h_ctx), e_buf); EG(ret, err); in _ecgdsa_verify_finalize()
H A Dbign_common.c550 ret = ctx->h->hfunc_finalize(&(ctx->sign_data.bign.h_ctx), hash); EG(ret, err); in __bign_sign_finalize()
909 ret = ctx->h->hfunc_finalize(&(ctx->verify_data.bign.h_ctx), hash); EG(ret, err); in __bign_verify_finalize()
H A Decdsa_common.c386 ret = ctx->h->hfunc_finalize(&(ctx->sign_data.ecdsa.h_ctx), hash); EG(ret, err); in __ecdsa_sign_finalize()
748 ret = ctx->h->hfunc_finalize(&(ctx->verify_data.ecdsa.h_ctx), hash); EG(ret, err); in __ecdsa_verify_finalize()
/freebsd/crypto/libecc/src/examples/hash/
H A Dhash.c458 ret = hm->hfunc_finalize(&(ctx->hctx), output); EG(ret, err); in gen_hash_final()
/freebsd/crypto/libecc/
H A DREADME.md586 * `hfunc_finalize`: the hash function finalization routine.