Home
last modified time | relevance | path

Searched refs:freectx (Results 1 – 23 of 23) sorted by relevance

/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 Ddecoder_meth.c248 if (decoder->freectx == NULL) in ossl_decoder_from_algorithm()
249 decoder->freectx = OSSL_FUNC_decoder_freectx(fns); in ossl_decoder_from_algorithm()
291 if (!((decoder->newctx == NULL && decoder->freectx == NULL) in ossl_decoder_from_algorithm()
292 || (decoder->newctx != NULL && decoder->freectx != NULL)) in ossl_decoder_from_algorithm()
H A Dencoder_meth.c249 if (encoder->freectx == NULL) in encoder_from_algorithm()
250 encoder->freectx = in encoder_from_algorithm()
299 if (!((encoder->newctx == NULL && encoder->freectx == NULL) in encoder_from_algorithm()
300 || (encoder->newctx != NULL && encoder->freectx != NULL) in encoder_from_algorithm()
H A Ddecoder_lib.c276 decoder_inst->decoder->freectx(decoder_inst->decoderctx); in ossl_decoder_instance_free()
339 decoder->freectx(decoderctx); in OSSL_DECODER_CTX_add_decoder()
409 decoder->freectx(decoderctx); in collect_extra_decoder()
H A Dencoder_lib.c251 encoder_inst->encoder->freectx(encoder_inst->encoderctx); in ossl_encoder_instance_free()
314 encoder->freectx(encoderctx); in OSSL_ENCODER_CTX_add_extra()
H A Ddecoder_pkey.c276 decoder->freectx(decoderctx); in collect_decoder()
/freebsd/crypto/openssl/crypto/evp/
H A Devp_local.h148 OSSL_FUNC_keyexch_freectx_fn *freectx; member
179 OSSL_FUNC_signature_freectx_fn *freectx; member
204 OSSL_FUNC_asym_cipher_freectx_fn *freectx; member
225 OSSL_FUNC_kem_freectx_fn *freectx; member
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 Ddigest.c46 if (ctx->digest != NULL && ctx->digest->freectx != NULL) in evp_md_ctx_clear_digest()
47 ctx->digest->freectx(ctx->algctx); in evp_md_ctx_clear_digest()
177 if (ctx->digest->freectx != NULL) in evp_md_init_internal()
178 ctx->digest->freectx(ctx->algctx); in evp_md_init_internal()
264 if (ctx->digest->freectx != NULL) in evp_md_init_internal()
265 ctx->digest->freectx(ctx->algctx); in evp_md_init_internal()
997 if (md->freectx == NULL) { in evp_md_from_algorithm()
998 md->freectx = OSSL_FUNC_digest_freectx(fns); in evp_md_from_algorithm()
H A Devp_rand.c34 OSSL_FUNC_rand_freectx_fn *freectx; member
146 if (rand->freectx != NULL) in evp_rand_from_algorithm()
148 rand->freectx = OSSL_FUNC_rand_freectx(fns); in evp_rand_from_algorithm()
361 rand->freectx(ctx->algctx); in EVP_RAND_CTX_new()
385 ctx->meth->freectx(ctx->algctx); in EVP_RAND_CTX_free()
H A Dkdf_meth.c92 if (kdf->freectx != NULL) in evp_kdf_from_algorithm()
94 kdf->freectx = OSSL_FUNC_kdf_freectx(fns); in evp_kdf_from_algorithm()
H A Dmac_meth.c93 if (mac->freectx != NULL) in evp_mac_from_algorithm()
95 mac->freectx = OSSL_FUNC_mac_freectx(fns); in evp_mac_from_algorithm()
H A Dmac_lib.c31 mac->freectx(ctx->algctx); in EVP_MAC_CTX_new()
44 ctx->meth->freectx(ctx->algctx); in EVP_MAC_CTX_free()
H A Dsignature.c162 if (signature->freectx != NULL) in evp_signature_from_algorithm()
164 signature->freectx = OSSL_FUNC_signature_freectx(fns); in evp_signature_from_algorithm()
255 * a set of context functions (newctx and freectx) as well as a set of in evp_signature_from_algorithm()
559 signature->freectx(ctx->op.sig.algctx); in evp_pkey_signature_init()
H A Dkem.c310 if (kem->freectx != NULL) in evp_kem_from_algorithm()
312 kem->freectx = OSSL_FUNC_kem_freectx(fns); in evp_kem_from_algorithm()
H A Dasymcipher.c376 if (cipher->freectx != NULL) in evp_asym_cipher_from_algorithm()
378 cipher->freectx = OSSL_FUNC_asym_cipher_freectx(fns); in evp_asym_cipher_from_algorithm()
H A Dexchange.c87 if (exchange->freectx != NULL) in evp_keyexch_from_algorithm()
89 exchange->freectx = OSSL_FUNC_keyexch_freectx(fns); in evp_keyexch_from_algorithm()
H A Devp_enc.c39 if (ctx->cipher->freectx != NULL) in EVP_CIPHER_CTX_reset()
40 ctx->cipher->freectx(ctx->algctx); in EVP_CIPHER_CTX_reset()
1589 if (cipher->freectx != NULL) in evp_cipher_from_algorithm()
1591 cipher->freectx = OSSL_FUNC_cipher_freectx(fns); in evp_cipher_from_algorithm()
H A Dm_sigver.c59 if (ctx->digest->freectx != NULL) in do_sigver_init()
60 ctx->digest->freectx(ctx->algctx); in do_sigver_init()
H A Dpmeth_lib.c382 ctx->op.sig.signature->freectx(ctx->op.sig.algctx); in evp_pkey_ctx_free_old_ops()
388 ctx->op.kex.exchange->freectx(ctx->op.kex.algctx); in evp_pkey_ctx_free_old_ops()
394 ctx->op.encap.kem->freectx(ctx->op.encap.algctx); in evp_pkey_ctx_free_old_ops()
401 ctx->op.ciph.cipher->freectx(ctx->op.ciph.algctx); in evp_pkey_ctx_free_old_ops()
/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/doc/internal/man3/
H A Devp_generic_fetch.pod124 OSSL_FUNC_foo_freectx_fn *freectx;
158 foo->freectx = OSSL_FUNC_foo_freectx(fns);
242 c->foo->freectx(c->provctx);
/freebsd/crypto/openssl/include/crypto/
H A Devp.h210 OSSL_FUNC_mac_freectx_fn *freectx; member
232 OSSL_FUNC_kdf_freectx_fn *freectx; member
279 OSSL_FUNC_digest_freectx_fn *freectx; member
336 OSSL_FUNC_cipher_freectx_fn *freectx; member