Home
last modified time | relevance | path

Searched refs:verify_ctx (Results 1 – 7 of 7) sorted by relevance

/freebsd/crypto/openssl/apps/
H A Dts.c882 TS_VERIFY_CTX *verify_ctx = NULL; in verify_command() local
895 if ((verify_ctx = create_verify_ctx(data, digest, queryfile, in verify_command()
902 ? TS_RESP_verify_token(verify_ctx, token) in verify_command()
903 : TS_RESP_verify_response(verify_ctx, response); in verify_command()
917 TS_VERIFY_CTX_free(verify_ctx); in verify_command()
/freebsd/crypto/libecc/src/sig/
H A Dsig_algs.c229 int ec_verify_ctx_callbacks_sanity_check(const struct ec_verify_context *verify_ctx) in ec_verify_ctx_callbacks_sanity_check() argument
233 MUST_HAVE((verify_ctx != NULL) && (verify_ctx->ctx_magic == SIG_VERIFY_MAGIC), ret, err); in ec_verify_ctx_callbacks_sanity_check()
235 ret = hash_mapping_callbacks_sanity_check(verify_ctx->h); EG(ret, err); in ec_verify_ctx_callbacks_sanity_check()
236 ret = ec_sig_mapping_callbacks_sanity_check(verify_ctx->sig); in ec_verify_ctx_callbacks_sanity_check()
/freebsd/crypto/heimdal/kdc/
H A Dpkinit.c69 hx509_verify_ctx verify_ctx; member
176 if (cp->verify_ctx) in _kdc_pk_free_client_param()
177 hx509_verify_destroy_ctx(cp->verify_ctx); in _kdc_pk_free_client_param()
560 ret = hx509_verify_init_ctx(context->hx509ctx, &cp->verify_ctx); in _kdc_pk_rd_padata()
567 hx509_verify_set_time(cp->verify_ctx, kdc_time); in _kdc_pk_rd_padata()
568 hx509_verify_attach_anchors(cp->verify_ctx, trust_anchors); in _kdc_pk_rd_padata()
572 hx509_verify_set_proxy_certificate(cp->verify_ctx, 1); in _kdc_pk_rd_padata()
729 cp->verify_ctx, in _kdc_pk_rd_padata()
/freebsd/crypto/heimdal/lib/krb5/
H A Dkrb5_locl.h343 hx509_verify_ctx verify_ctx; member
H A Dpkinit.c921 id->verify_ctx, in pk_verify_sign()
2051 ret = hx509_verify_init_ctx(context->hx509ctx, &id->verify_ctx); in _krb5_pk_load_id()
2058 hx509_verify_attach_anchors(id->verify_ctx, id->anchors); in _krb5_pk_load_id()
2059 hx509_verify_attach_revoke(id->verify_ctx, id->revokectx); in _krb5_pk_load_id()
2063 hx509_verify_destroy_ctx(id->verify_ctx); in _krb5_pk_load_id()
2437 hx509_verify_destroy_ctx(ctx->id->verify_ctx); in _krb5_get_init_creds_opt_free_pkinit()
/freebsd/crypto/libecc/include/libecc/sig/
H A Dsig_algs.h38 …RN_UNUSED_RET int ec_verify_ctx_callbacks_sanity_check(const struct ec_verify_context *verify_ctx);
/freebsd/crypto/openssl/test/
H A Devp_extra_test.c4202 EVP_PKEY_CTX *sign_ctx = NULL, *verify_ctx = NULL; in test_RSA_verify_recover_rejects_short_buffer() local
4234 || !TEST_ptr(verify_ctx = EVP_PKEY_CTX_new_from_pkey(testctx, pkey, in test_RSA_verify_recover_rejects_short_buffer()
4236 || !TEST_int_gt(EVP_PKEY_verify_recover_init(verify_ctx), 0) in test_RSA_verify_recover_rejects_short_buffer()
4237 || !TEST_int_gt(EVP_PKEY_CTX_set_rsa_padding(verify_ctx, in test_RSA_verify_recover_rejects_short_buffer()
4240 || !TEST_int_gt(EVP_PKEY_CTX_set_signature_md(verify_ctx, EVP_sha256()), in test_RSA_verify_recover_rejects_short_buffer()
4245 if (!TEST_int_gt(EVP_PKEY_verify_recover(verify_ctx, recovered, in test_RSA_verify_recover_rejects_short_buffer()
4254 if (!TEST_int_le(EVP_PKEY_verify_recover(verify_ctx, shortbuf, in test_RSA_verify_recover_rejects_short_buffer()
4269 EVP_PKEY_CTX_free(verify_ctx); in test_RSA_verify_recover_rejects_short_buffer()
4285 EVP_PKEY_CTX *sign_ctx = NULL, *verify_ctx = NULL; in test_RSA_verify_recover_empty_payload() local
4311 || !TEST_ptr(verify_ctx = EVP_PKEY_CTX_new_from_pkey(testctx, pkey, NULL)) in test_RSA_verify_recover_empty_payload()
[all …]