Home
last modified time | relevance | path

Searched refs:encoderctx (Results 1 – 4 of 4) sorted by relevance

/freebsd/crypto/openssl/crypto/encode_decode/
H A Dencoder_lib.c211 void *encoderctx) in ossl_encoder_instance_new() argument
261 encoder_inst->encoderctx = encoderctx; in ossl_encoder_instance_new()
272 encoder_inst->encoder->freectx(encoder_inst->encoderctx); in ossl_encoder_instance_free()
273 encoder_inst->encoderctx = NULL; in ossl_encoder_instance_free()
311 void *encoderctx = NULL; in OSSL_ENCODER_CTX_add_encoder() local
322 if ((encoderctx = encoder->newctx(provctx)) == NULL in OSSL_ENCODER_CTX_add_encoder()
323 || (encoder_inst = ossl_encoder_instance_new(encoder, encoderctx)) == NULL) in OSSL_ENCODER_CTX_add_encoder()
326 encoderctx = NULL; in OSSL_ENCODER_CTX_add_encoder()
334 if (encoderctx != NULL) in OSSL_ENCODER_CTX_add_encoder()
335 encoder->freectx(encoderctx); in OSSL_ENCODER_CTX_add_encoder()
[all …]
H A Dencoder_local.h60 void *encoderctx; /* Never NULL */ member
H A Dencoder_meth.c635 void *encoderctx = OSSL_ENCODER_INSTANCE_get_encoder_ctx(encoder_inst); in OSSL_ENCODER_CTX_set_params() local
637 if (encoderctx == NULL || encoder->set_ctx_params == NULL) in OSSL_ENCODER_CTX_set_params()
639 if (!encoder->set_ctx_params(encoderctx, params)) in OSSL_ENCODER_CTX_set_params()
H A Dencoder_pkey.c169 void *encoderctx = OSSL_ENCODER_INSTANCE_get_encoder_ctx(encoder_inst); in encoder_import_cb() local
171 …construct_data->constructed_obj = encoder->import_object(encoderctx, construct_data->selection, pa… in encoder_import_cb()