Lines Matching refs:encoder_data
251 struct collected_encoder_st encoder_data; in ossl_encoder_ctx_setup_for_pkey() local
274 encoder_data.names = keymgmt_data.names; in ossl_encoder_ctx_setup_for_pkey()
275 encoder_data.output_type = ctx->output_type; in ossl_encoder_ctx_setup_for_pkey()
276 encoder_data.output_structure = ctx->output_structure; in ossl_encoder_ctx_setup_for_pkey()
277 encoder_data.error_occurred = 0; in ossl_encoder_ctx_setup_for_pkey()
278 encoder_data.keymgmt_prov = prov; in ossl_encoder_ctx_setup_for_pkey()
279 encoder_data.ctx = ctx; in ossl_encoder_ctx_setup_for_pkey()
280 encoder_data.id_names = NULL; in ossl_encoder_ctx_setup_for_pkey()
288 end = sk_OPENSSL_CSTRING_num(encoder_data.names); in ossl_encoder_ctx_setup_for_pkey()
290 encoder_data.id_names = OPENSSL_malloc(end * sizeof(int)); in ossl_encoder_ctx_setup_for_pkey()
291 if (encoder_data.id_names == NULL) { in ossl_encoder_ctx_setup_for_pkey()
298 encoder_data.id_names[i] = ossl_namemap_name2num(namemap, name); in ossl_encoder_ctx_setup_for_pkey()
305 encoder_data.flag_find_same_provider = 0; in ossl_encoder_ctx_setup_for_pkey()
306 OSSL_ENCODER_do_all_provided(libctx, collect_encoder, &encoder_data); in ossl_encoder_ctx_setup_for_pkey()
312 encoder_data.flag_find_same_provider = 1; in ossl_encoder_ctx_setup_for_pkey()
313 OSSL_ENCODER_do_all_provided(libctx, collect_encoder, &encoder_data); in ossl_encoder_ctx_setup_for_pkey()
315 OPENSSL_free(encoder_data.id_names); in ossl_encoder_ctx_setup_for_pkey()
317 if (encoder_data.error_occurred) { in ossl_encoder_ctx_setup_for_pkey()