Home
last modified time | relevance | path

Searched refs:decoder (Results 1 – 25 of 25) sorted by relevance

/openssl-master/crypto/encode_decode/
A Ddecoder_meth.c31 if ((decoder = OPENSSL_zalloc(sizeof(*decoder))) == NULL in ossl_decoder_new()
40 return decoder; in ossl_decoder_new()
47 CRYPTO_UP_REF(&decoder->base.refcnt, &ref, decoder->base.lock); in OSSL_DECODER_up_ref()
55 if (decoder == NULL) in OSSL_DECODER_free()
58 CRYPTO_DOWN_REF(&decoder->base.refcnt, &ref, decoder->base.lock); in OSSL_DECODER_free()
266 if (!((decoder->newctx == NULL && decoder->freectx == NULL) in ossl_decoder_from_algorithm()
267 || (decoder->newctx != NULL && decoder->freectx != NULL)) in ossl_decoder_from_algorithm()
280 return decoder; in ossl_decoder_from_algorithm()
565 if (decoder != NULL && decoder->gettable_params != NULL) { in OSSL_DECODER_gettable_params()
575 if (decoder != NULL && decoder->get_params != NULL) in OSSL_DECODER_get_params()
[all …]
A Ddecoder_lib.c221 if (!ossl_assert(decoder != NULL)) { in ossl_decoder_instance_new()
230 if (!OSSL_DECODER_up_ref(decoder)) { in ossl_decoder_instance_new()
264 decoder_inst->decoder = decoder; in ossl_decoder_instance_new()
279 decoder_inst->decoder = NULL; in ossl_decoder_instance_free()
339 decoder->freectx(decoderctx); in OSSL_DECODER_CTX_add_decoder()
361 if (OSSL_DECODER_up_ref(decoder)) in DEFINE_STACK_OF()
394 if (decoder->base.algodef == check_inst->decoder->base.algodef) { in collect_extra_decoder()
623 OSSL_DECODER *decoder = NULL; in OSSL_DECODER_export() local
645 return decoder_inst->decoder; in OSSL_DECODER_INSTANCE_get_decoder()
679 OSSL_DECODER *decoder = NULL; in decoder_process() local
[all …]
A Ddecoder_pkey.c160 (void)decoder->export_object(decoderctx, in decoder_construct_pkey()
226 static void collect_decoder(OSSL_DECODER *decoder, void *arg) in collect_decoder() argument
247 if (decoder->does_selection != NULL in collect_decoder()
255 (void *)data->ctx, (void *)decoder, in collect_decoder()
256 OSSL_DECODER_get0_name(decoder), in collect_decoder()
257 OSSL_DECODER_get0_properties(decoder)); in collect_decoder()
264 if (OSSL_DECODER_is_a(decoder, name)) { in collect_decoder()
268 if ((decoderctx = decoder->newctx(provctx)) == NULL) { in collect_decoder()
273 decoder->freectx(decoderctx); in collect_decoder()
282 (void *)data->ctx, (void *)decoder, in collect_decoder()
[all …]
A Dencoder_local.h107 OSSL_DECODER *decoder; /* Never NULL */ member
162 ossl_decoder_parsed_properties(const OSSL_DECODER *decoder);
/openssl-master/doc/man3/
A DOSSL_DECODER.pod22 #include <openssl/decoder.h>
28 int OSSL_DECODER_up_ref(OSSL_DECODER *decoder);
29 void OSSL_DECODER_free(OSSL_DECODER *decoder);
60 I<decoder>.
66 I<decoder>.
69 with the given I<decoder>.
78 of the I<decoder> implementation.
83 OSSL_DECODER_do_all_provided() traverses all decoder
114 implementation for the given I<decoder>. Note that the I<decoder> may have
139 sk_OSSL_DECODER_push(decoder_stack, decoder);
[all …]
A DOSSL_DECODER_CTX.pod34 #include <openssl/decoder.h>
39 const OSSL_PARAM *OSSL_DECODER_settable_ctx_params(OSSL_DECODER *decoder);
99 input type is set to C<DER>, a PEM to DER decoder will be ignored.
103 simply try with one decoder implementation after the other, and thereby
131 a decoder, to be used to attempt to decode some encoded input.
134 added decoders, and adds them as well. This is used to build decoder
197 OSSL_DECODER_INSTANCE_get_decoder() can be used to get the decoder
198 implementation from a decoder instance I<decoder_inst>.
203 OSSL_DECODER_INSTANCE_get_input_type() can be used to get the decoder
204 implementation's input type from a decoder instance I<decoder_inst>.
[all …]
A DOSSL_DECODER_CTX_new_for_pkey.pod14 #include <openssl/decoder.h>
39 B<OSSL_DECODER_CTX>, finds all applicable decoder implementations and sets
50 decoder implementations that may be able to process the encoded input into
54 The search of decoder implementations can be limited with I<input_type> and
62 The search of decoder implementations can also be limited with I<keytype>
64 NULL and zero are valid and signify that the decoder implementations will
67 If no suitable decoder implementation is found,
69 with no associated decoder (L<OSSL_DECODER_CTX_get_num_decoders(3)> returns
93 Among the known input types that OpenSSL decoder implementations offer
103 Among the known input structures that OpenSSL decoder implementations
[all …]
A DOSSL_DECODER_from_bio.pod12 #include <openssl/decoder.h>
/openssl-master/include/openssl/
A Ddecoder.h36 const char *OSSL_DECODER_get0_name(const OSSL_DECODER *decoder);
37 const char *OSSL_DECODER_get0_description(const OSSL_DECODER *decoder);
46 const OSSL_PARAM *OSSL_DECODER_gettable_params(OSSL_DECODER *decoder);
47 int OSSL_DECODER_get_params(OSSL_DECODER *decoder, OSSL_PARAM params[]);
77 int OSSL_DECODER_CTX_add_decoder(OSSL_DECODER_CTX *ctx, OSSL_DECODER *decoder);
/openssl-master/test/
A Dprovfetchtest.c234 OSSL_DECODER *decoder = NULL; in fetch_test() local
251 decoder = OSSL_DECODER_fetch(libctx, "DUMMY", NULL); in fetch_test()
252 if (!TEST_ptr(decoder)) in fetch_test()
276 OSSL_DECODER_free(decoder); in fetch_test()
A Dendecode_test.c134 typedef int (decoder)(const char *file, const int line, typedef
152 encoder *encode_cb, decoder *decode_cb, in test_encode_decode()
/openssl-master/providers/
A Ddecoders.inc84 * A decoder that takes a SubjectPublicKeyInfo and figures out the types of key
90 * A decoder that recognises PKCS#8 EncryptedPrivateKeyInfo structure
92 * form to the next decoder.
/openssl-master/doc/man7/
A Dprovider-decoder.pod5 provider-decoder - The OSSL_DECODER library E<lt>-E<gt> provider functions
21 /* Functions to construct / destruct / manipulate the decoder context */
55 The decoder doesn't need to know more about the B<OSSL_CORE_BIO>
214 When a provider-native object is created by a decoder it would be unsuitable
244 another decoder implementation that can decode it into something.
254 possible for some other decoder implementation to get a different result.
289 OSSL_FUNC_decoder_does_selection() returns 1 if the decoder implementation
A Dfips_module.pod270 property defined for them. These are the encoder and decoder algorithms that
272 file. The encoder and decoder algorithms are not in the FIPS module itself but
390 you need a decoder to read previously saved keys and parameters. In most cases
393 encoder/decoder will need to be available in the library context associated with
A Dprovider-storemgmt.pod159 decoder implementations.
A Dprovider-object.pod154 interprets the object data type as the input type for a decoder.
A Dopenssl-glossary.pod41 A decoder is a type of algorithm used for decoding keys and parameters from some
A Dprovider-encoder.pod197 and if there's a corresponding decoder, the resulting decoded object must
/openssl-master/include/crypto/
A Ddecoder.h30 ossl_decoder_instance_new(OSSL_DECODER *decoder, void *decoderctx);
/openssl-master/doc/internal/man3/
A Devp_md_get_number.pod25 int ossl_decoder_get_number(const OSSL_DECODER *decoder);
82 Returns the internal dynamic number assigned to the given I<decoder>.
/openssl-master/apps/
A Dlist.c60 IS_FETCHABLE(decoder, OSSL_DECODER) in IS_FETCHABLE()
573 static void collect_decoders(OSSL_DECODER *decoder, void *stack) in collect_decoders() argument
577 if (is_decoder_fetchable(decoder) in collect_decoders()
578 && sk_OSSL_DECODER_push(decoder_stack, decoder) > 0) in collect_decoders()
579 OSSL_DECODER_up_ref(decoder); in collect_decoders()
/openssl-master/doc/
A Dbuild.info4480 DEPEND[html/man7/provider-decoder.html]=man7/provider-decoder.pod
4481 GENERATE[html/man7/provider-decoder.html]=man7/provider-decoder.pod
4482 DEPEND[man/man7/provider-decoder.7]=man7/provider-decoder.pod
4483 GENERATE[man/man7/provider-decoder.7]=man7/provider-decoder.pod
4659 html/man7/provider-decoder.html \
4784 man/man7/provider-decoder.7 \
/openssl-master/crypto/err/
A Dopenssl.txt818 OSSL_DECODER_R_DECODER_NOT_FOUND:102:decoder not found
/openssl-master/
A DNEWS.md72 * Added OSSL_DECODER, a generic decoder API.
A DCHANGES.md12660 * Fix ASN1 decoder when decoding type ANY and V_ASN1_OTHER: since this
13441 encoder and decoder which interprets an ASN1_ITEM structure describing
16863 data directly through the decoder. Unfortunately it doesn't reset

Completed in 56 milliseconds