Home
last modified time | relevance | path

Searched full:freectx (Results 1 – 24 of 24) sorted by relevance

/freebsd/crypto/openssl/doc/internal/man3/
H A Devp_generic_fetch.pod107 OSSL_FUNC_foo_freectx_fn *freectx;
144 foo->freectx = OSSL_FUNC_foo_freectx(fns);
242 c->foo->freectx(c->provctx);
/freebsd/crypto/openssl/crypto/evp/
H A Devp_local.h153 OSSL_FUNC_keyexch_freectx_fn *freectx; member
189 OSSL_FUNC_signature_freectx_fn *freectx; member
239 OSSL_FUNC_asym_cipher_freectx_fn *freectx; member
259 OSSL_FUNC_kem_freectx_fn *freectx; member
H A Devp_rand.c33 OSSL_FUNC_rand_freectx_fn *freectx; member
148 if (rand->freectx != NULL) in evp_rand_from_algorithm()
150 rand->freectx = OSSL_FUNC_rand_freectx(fns); in evp_rand_from_algorithm()
374 rand->freectx(ctx->algctx); in EVP_RAND_CTX_new()
397 ctx->meth->freectx(ctx->algctx); in EVP_RAND_CTX_free()
H A Dkdf_lib.c36 kdf->freectx(ctx->algctx); in EVP_KDF_CTX_new()
49 ctx->meth->freectx(ctx->algctx); in EVP_KDF_CTX_free()
H A Dkdf_meth.c90 if (kdf->freectx != NULL) in evp_kdf_from_algorithm()
92 kdf->freectx = OSSL_FUNC_kdf_freectx(fns); in evp_kdf_from_algorithm()
H A Dmac_meth.c90 if (mac->freectx != NULL) in evp_mac_from_algorithm()
92 mac->freectx = OSSL_FUNC_mac_freectx(fns); in evp_mac_from_algorithm()
H A Dsignature.c59 /* Counts newctx / freectx */ in evp_signature_from_algorithm()
210 if (signature->freectx != NULL) in evp_signature_from_algorithm()
212 signature->freectx = OSSL_FUNC_signature_freectx(fns); in evp_signature_from_algorithm()
286 * a set of context functions (newctx and freectx) as well as a set of in evp_signature_from_algorithm()
297 "missing %s newctx or freectx:%s", signature->type_name, desc); in evp_signature_from_algorithm()
848 signature->freectx(ctx->op.sig.algctx); in evp_pkey_signature_init()
H A Ddigest.c47 if (ctx->digest != NULL && ctx->digest->freectx != NULL) in evp_md_ctx_clear_digest()
48 ctx->digest->freectx(ctx->algctx); in evp_md_ctx_clear_digest()
150 if (ctx->digest->freectx != NULL) in evp_md_ctx_free_algctx()
151 ctx->digest->freectx(ctx->algctx); in evp_md_ctx_free_algctx()
1082 if (md->freectx == NULL) { in evp_md_from_algorithm()
1083 md->freectx = OSSL_FUNC_digest_freectx(fns); in evp_md_from_algorithm()
H A Dkem.c365 if (kem->freectx != NULL) in evp_kem_from_algorithm()
367 kem->freectx = OSSL_FUNC_kem_freectx(fns); in evp_kem_from_algorithm()
413 * a set of context functions (newctx and freectx) as well as a pair in evp_kem_from_algorithm()
H A Dasymcipher.c421 if (cipher->freectx != NULL) in evp_asym_cipher_from_algorithm()
423 cipher->freectx = OSSL_FUNC_asym_cipher_freectx(fns); in evp_asym_cipher_from_algorithm()
469 * a set of context functions (newctx and freectx) as well as a pair of in evp_asym_cipher_from_algorithm()
H A Dmac_lib.c30 mac->freectx(ctx->algctx); in EVP_MAC_CTX_new()
43 ctx->meth->freectx(ctx->algctx); in EVP_MAC_CTX_free()
H A Dexchange.c93 if (exchange->freectx != NULL) in evp_keyexch_from_algorithm()
95 exchange->freectx = OSSL_FUNC_keyexch_freectx(fns); in evp_keyexch_from_algorithm()
137 * and freectx. The set_ctx_params and settable_ctx_params functions are in evp_keyexch_from_algorithm()
H A Devp_enc.c42 if (ctx->cipher->freectx != NULL) in OSSL_SAFE_MATH_SIGNED()
43 ctx->cipher->freectx(ctx->algctx); in OSSL_SAFE_MATH_SIGNED()
1985 if (cipher->freectx != NULL) in evp_cipher_from_algorithm()
1987 cipher->freectx = OSSL_FUNC_cipher_freectx(fns); in evp_cipher_from_algorithm()
2039 * the "newctx" and "freectx" functions. in evp_cipher_from_algorithm()
H A Dpmeth_lib.c362 ctx->op.sig.signature->freectx(ctx->op.sig.algctx); in evp_pkey_ctx_free_old_ops()
368 ctx->op.kex.exchange->freectx(ctx->op.kex.algctx); in evp_pkey_ctx_free_old_ops()
374 ctx->op.encap.kem->freectx(ctx->op.encap.algctx); in evp_pkey_ctx_free_old_ops()
381 ctx->op.ciph.cipher->freectx(ctx->op.ciph.algctx); in evp_pkey_ctx_free_old_ops()
/freebsd/crypto/openssl/crypto/encode_decode/
H A Dencoder_local.h34 OSSL_FUNC_encoder_freectx_fn *freectx; member
48 OSSL_FUNC_decoder_freectx_fn *freectx; member
H A Dencoder_meth.c238 if (encoder->freectx == NULL) in encoder_from_algorithm()
239 encoder->freectx = in encoder_from_algorithm()
288 if (!((encoder->newctx == NULL && encoder->freectx == NULL) in encoder_from_algorithm()
289 || (encoder->newctx != NULL && encoder->freectx != NULL) in encoder_from_algorithm()
H A Ddecoder_meth.c237 if (decoder->freectx == NULL) in ossl_decoder_from_algorithm()
238 decoder->freectx = OSSL_FUNC_decoder_freectx(fns); in ossl_decoder_from_algorithm()
280 if (!((decoder->newctx == NULL && decoder->freectx == NULL) in ossl_decoder_from_algorithm()
281 || (decoder->newctx != NULL && decoder->freectx != NULL)) in ossl_decoder_from_algorithm()
H A Ddecoder_lib.c234 decoder->freectx(decoderctx); in ossl_decoder_instance_new_forprov()
304 decoder_inst->decoder->freectx(decoder_inst->decoderctx); in ossl_decoder_instance_free()
408 decoder->freectx(decoderctx); in OSSL_DECODER_CTX_add_decoder()
488 decoder->freectx(decoderctx); in collect_extra_decoder()
494 decoder->freectx(decoderctx); in collect_extra_decoder()
H A Dencoder_lib.c272 encoder_inst->encoder->freectx(encoder_inst->encoderctx); in ossl_encoder_instance_free()
335 encoder->freectx(encoderctx); in OSSL_ENCODER_CTX_add_encoder()
H A Ddecoder_pkey.c256 decoder->freectx(decoderctx); in collect_decoder_keymgmt()
/freebsd/crypto/heimdal/lib/krb5/
H A Dsend_to_kdc.c585 int type, freectx = 0; in krb5_sendto_context() local
591 freectx = 1; in krb5_sendto_context()
619 if (freectx) in krb5_sendto_context()
646 if (freectx) in krb5_sendto_context()
/freebsd/crypto/openssl/include/crypto/
H A Devp.h219 OSSL_FUNC_mac_freectx_fn *freectx; member
241 OSSL_FUNC_kdf_freectx_fn *freectx; member
288 OSSL_FUNC_digest_freectx_fn *freectx; member
349 OSSL_FUNC_cipher_freectx_fn *freectx; member
/freebsd/crypto/openssl/providers/implementations/kem/
H A Dtemplate_kem.c77 debug_print("freectx %p\n", ctx); in template_freectx()
/freebsd/crypto/openssl/providers/implementations/storemgmt/
H A Dfile_store_any2obj.c41 * newctx and freectx are not strictly necessary. However, the method creator,