Home
last modified time | relevance | path

Searched refs:verif_ctx (Results 1 – 2 of 2) sorted by relevance

/freebsd/crypto/libecc/src/tests/
H A Dec_self_tests_core.c467 struct ec_verify_context verif_ctx; in ec_import_export_test() local
496 …ret = ec_verify_init(&verif_ctx, &(kp.pub_key), sig, siglen, c->sig_type, c->hash_type, c->adata,… in ec_import_export_test()
499 ret = ecdsa_verify_raw(&verif_ctx, digest, digestlen); EG(ret, err); in ec_import_export_test()
504 ret = ecgdsa_verify_raw(&verif_ctx, digest, digestlen); EG(ret, err); in ec_import_export_test()
509 ret = ecrdsa_verify_raw(&verif_ctx, digest, digestlen); EG(ret, err); in ec_import_export_test()
884 struct ec_verify_context verif_ctx; local
967 …if(ec_verify_init(&verif_ctx, &(kp.pub_key), sig, siglen, c->sig_type, c->hash_type, c->adata, c-…
975 if(ecdsa_verify_raw(&verif_ctx, digest, digestlen)){
984 if(ecgdsa_verify_raw(&verif_ctx, digest, digestlen)){
993 if(ecrdsa_verify_raw(&verif_ctx, digest, digestlen)){
H A Dec_utils.c1015 struct ec_verify_context verif_ctx; in verify_bin_file() local
1255 ret = ec_verify_init(&verif_ctx, &pub_key, sig, siglen, in verify_bin_file()
1284 ret = ec_verify_update(&verif_ctx, buf, (u32)read); in verify_bin_file()
1296 ret = ec_verify_finalize(&verif_ctx); in verify_bin_file()