Home
last modified time | relevance | path

Searched refs:encoder_inst (Results 1 – 5 of 5) sorted by relevance

/netbsd-src/crypto/external/bsd/openssl/dist/crypto/encode_decode/
H A Dencoder_lib.c190 OSSL_ENCODER_INSTANCE *encoder_inst = NULL; in ossl_encoder_instance_new() local
201 if ((encoder_inst = OPENSSL_zalloc(sizeof(*encoder_inst))) == NULL) { in ossl_encoder_instance_new()
223 encoder_inst->output_type = ossl_property_get_string_value(libctx, prop); in ossl_encoder_instance_new()
224 if (encoder_inst->output_type == NULL) { in ossl_encoder_instance_new()
236 encoder_inst->output_structure in ossl_encoder_instance_new()
239 encoder_inst->encoder = encoder; in ossl_encoder_instance_new()
240 encoder_inst->encoderctx = encoderctx; in ossl_encoder_instance_new()
241 return encoder_inst; in ossl_encoder_instance_new()
243 ossl_encoder_instance_free(encoder_inst); in ossl_encoder_instance_new()
247 void ossl_encoder_instance_free(OSSL_ENCODER_INSTANCE *encoder_inst) in ossl_encoder_instance_free() argument
[all …]
H A Dencoder_pkey.c158 OSSL_ENCODER_INSTANCE *encoder_inst; member
166 OSSL_ENCODER_INSTANCE *encoder_inst = construct_data->encoder_inst; in encoder_import_cb() local
167 OSSL_ENCODER *encoder = OSSL_ENCODER_INSTANCE_get_encoder(encoder_inst); in encoder_import_cb()
168 void *encoderctx = OSSL_ENCODER_INSTANCE_get_encoder_ctx(encoder_inst); in encoder_import_cb()
177 encoder_construct_pkey(OSSL_ENCODER_INSTANCE *encoder_inst, void *arg) in encoder_construct_pkey() argument
183 OSSL_ENCODER_INSTANCE_get_encoder(encoder_inst); in encoder_construct_pkey()
189 data->encoder_inst = encoder_inst; in encoder_construct_pkey()
207 if (data->encoder_inst != NULL) { in encoder_destruct_pkey()
209 OSSL_ENCODER_INSTANCE_get_encoder(data->encoder_inst); in encoder_destruct_pkey()
H A Dencoder_local.h67 void ossl_encoder_instance_free(OSSL_ENCODER_INSTANCE *encoder_inst);
H A Dencoder_meth.c678 OSSL_ENCODER_INSTANCE *encoder_inst = in OSSL_ENCODER_CTX_set_params() local
680 OSSL_ENCODER *encoder = OSSL_ENCODER_INSTANCE_get_encoder(encoder_inst); in OSSL_ENCODER_CTX_set_params()
681 void *encoderctx = OSSL_ENCODER_INSTANCE_get_encoder_ctx(encoder_inst); in OSSL_ENCODER_CTX_set_params()
/netbsd-src/crypto/external/bsd/openssl/dist/include/openssl/
H A Dencoder.h83 OSSL_ENCODER_INSTANCE_get_encoder(OSSL_ENCODER_INSTANCE *encoder_inst);
85 OSSL_ENCODER_INSTANCE_get_encoder_ctx(OSSL_ENCODER_INSTANCE *encoder_inst);
87 OSSL_ENCODER_INSTANCE_get_output_type(OSSL_ENCODER_INSTANCE *encoder_inst);
89 OSSL_ENCODER_INSTANCE_get_output_structure(OSSL_ENCODER_INSTANCE *encoder_inst);
91 typedef const void *OSSL_ENCODER_CONSTRUCT(OSSL_ENCODER_INSTANCE *encoder_inst,