Lines Matching defs:encoder
13 #include <openssl/encoder.h>
70 * finding a suitable encoder
85 static void collect_encoder(OSSL_ENCODER *encoder, void *arg)
101 const OSSL_PROVIDER *prov = OSSL_ENCODER_get0_provider(encoder);
113 if (!OSSL_ENCODER_is_a(encoder, name)
114 || (encoder->does_selection != NULL
115 && !encoder->does_selection(provctx, data->ctx->selection))
117 && encoder->import_object == NULL))
120 /* Only add each encoder implementation once */
121 if (OSSL_ENCODER_CTX_add_encoder(data->ctx, encoder))
167 OSSL_ENCODER *encoder = OSSL_ENCODER_INSTANCE_get_encoder(encoder_inst);
171 encoder->import_object(encoderctx, construct_data->selection, params);
182 OSSL_ENCODER *encoder =
186 const OSSL_PROVIDER *e_prov = OSSL_ENCODER_get0_provider(encoder);
208 OSSL_ENCODER *encoder =
211 encoder->free_object(data->constructed_obj);
217 * OSSL_ENCODER_CTX_new_for_pkey() returns a ctx with no encoder if
218 * it couldn't find a suitable encoder. This allows a caller to detect if
219 * a suitable encoder was found, with OSSL_ENCODER_CTX_get_num_encoder(),
252 * Select the first encoder implementations in two steps.