• Home
  • Raw
  • Download

Lines Matching full:decoder

15 #include <openssl/decoder.h>
19 #include "crypto/decoder.h"
71 OSSL_DECODER *decoder = OSSL_DECODER_INSTANCE_get_decoder(decoder_inst); in decoder_construct_pkey() local
73 const OSSL_PROVIDER *decoder_prov = OSSL_DECODER_get0_provider(decoder); in decoder_construct_pkey()
112 * the decoder that passed the params. in decoder_construct_pkey()
143 * Otherwise, we export from the decoder and import the in decoder_construct_pkey()
159 (void)decoder->export_object(decoderctx, in decoder_construct_pkey()
225 static void collect_decoder(OSSL_DECODER *decoder, void *arg) in collect_decoder() argument
229 const OSSL_PROVIDER *prov = OSSL_DECODER_get0_provider(decoder); in collect_decoder()
242 * the decoder must tell us if it supports that selection to in collect_decoder()
243 * be accepted. If the decoder doesn't have |does_selection|, in collect_decoder()
246 if (decoder->does_selection != NULL in collect_decoder()
247 && !decoder->does_selection(provctx, data->ctx->selection)) in collect_decoder()
250 OSSL_TRACE_BEGIN(DECODER) { in collect_decoder()
252 "(ctx %p) Checking out decoder %p:\n" in collect_decoder()
254 (void *)data->ctx, (void *)decoder, in collect_decoder()
255 OSSL_DECODER_get0_name(decoder), in collect_decoder()
256 OSSL_DECODER_get0_properties(decoder)); in collect_decoder()
257 } OSSL_TRACE_END(DECODER); in collect_decoder()
263 if (OSSL_DECODER_is_a(decoder, name)) { in collect_decoder()
267 if ((decoderctx = decoder->newctx(provctx)) == NULL) { in collect_decoder()
271 if ((di = ossl_decoder_instance_new(decoder, decoderctx)) == NULL) { in collect_decoder()
272 decoder->freectx(decoderctx); in collect_decoder()
277 OSSL_TRACE_BEGIN(DECODER) { in collect_decoder()
279 "(ctx %p) Checking out decoder %p:\n" in collect_decoder()
281 (void *)data->ctx, (void *)decoder, in collect_decoder()
282 OSSL_DECODER_get0_name(decoder), in collect_decoder()
283 OSSL_DECODER_get0_properties(decoder)); in collect_decoder()
284 } OSSL_TRACE_END(DECODER); in collect_decoder()
298 /* Decoder not suitable - but not a fatal error */ in collect_decoder()
320 OSSL_TRACE_BEGIN(DECODER) { in ossl_decoder_ctx_setup_for_pkey()
330 } OSSL_TRACE_END(DECODER); in ossl_decoder_ctx_setup_for_pkey()
371 OSSL_TRACE_BEGIN(DECODER) { in ossl_decoder_ctx_setup_for_pkey()
381 } OSSL_TRACE_END(DECODER); in ossl_decoder_ctx_setup_for_pkey()
400 OSSL_TRACE_BEGIN(DECODER) { in ossl_decoder_ctx_setup_for_pkey()
404 } OSSL_TRACE_END(DECODER); in ossl_decoder_ctx_setup_for_pkey()
439 OSSL_TRACE_BEGIN(DECODER) { in OSSL_DECODER_CTX_new_for_pkey()
445 } OSSL_TRACE_END(DECODER); in OSSL_DECODER_CTX_new_for_pkey()
453 OSSL_TRACE_BEGIN(DECODER) { in OSSL_DECODER_CTX_new_for_pkey()
456 } OSSL_TRACE_END(DECODER); in OSSL_DECODER_CTX_new_for_pkey()