/openssl/crypto/encode_decode/ |
H A D | decoder_meth.c | 32 if ((decoder = OPENSSL_zalloc(sizeof(*decoder))) == NULL) in ossl_decoder_new() 39 return decoder; in ossl_decoder_new() 54 if (decoder == NULL) in OSSL_DECODER_free() 64 OPENSSL_free(decoder); in OSSL_DECODER_free() 270 if (!((decoder->newctx == NULL && decoder->freectx == NULL) in ossl_decoder_from_algorithm() 271 || (decoder->newctx != NULL && decoder->freectx != NULL)) in ossl_decoder_from_algorithm() 284 return decoder; in ossl_decoder_from_algorithm() 570 if (decoder == NULL) in OSSL_DECODER_names_do_all() 586 if (decoder != NULL && decoder->gettable_params != NULL) { in OSSL_DECODER_gettable_params() 596 if (decoder != NULL && decoder->get_params != NULL) in OSSL_DECODER_get_params() [all …]
|
H A D | decoder_lib.c | 222 if (!ossl_assert(decoder != NULL)) { 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() 370 decoder->freectx(decoderctx); in OSSL_DECODER_CTX_add_decoder() 394 if (OSSL_DECODER_up_ref(decoder) in DEFINE_STACK_OF() 396 OSSL_DECODER_free(decoder); in DEFINE_STACK_OF() 428 if (decoder->base.algodef == check_inst->decoder->base.algodef) { in collect_extra_decoder() 660 OSSL_DECODER *decoder = NULL; in OSSL_DECODER_export() local 682 return decoder_inst->decoder; in OSSL_DECODER_INSTANCE_get_decoder() 716 OSSL_DECODER *decoder = NULL; in decoder_process() local [all …]
|
H A D | decoder_pkey.c | 167 (void)decoder->export_object(decoderctx, in decoder_construct_pkey() 231 if (keymgmt->name_id != decoder->base.id) in collect_decoder_keymgmt() 235 if ((decoderctx = decoder->newctx(provctx)) == NULL) { in collect_decoder_keymgmt() 241 decoder->freectx(decoderctx); in collect_decoder_keymgmt() 250 (void *)data->ctx, (void *)decoder, in collect_decoder_keymgmt() 251 OSSL_DECODER_get0_name(decoder), in collect_decoder_keymgmt() 252 OSSL_DECODER_get0_properties(decoder)); in collect_decoder_keymgmt() 276 prov = OSSL_DECODER_get0_provider(decoder); in collect_decoder() 284 if (decoder->does_selection != NULL in collect_decoder() 292 (void *)data->ctx, (void *)decoder, in collect_decoder() [all …]
|
H A D | encoder_local.h | 106 OSSL_DECODER *decoder; /* Never NULL */ member 162 ossl_decoder_parsed_properties(const OSSL_DECODER *decoder); 166 int ossl_decoder_fast_is_a(OSSL_DECODER *decoder,
|
/openssl/doc/man3/ |
H A D | OSSL_DECODER.pod | 22 #include <openssl/decoder.h> 28 int OSSL_DECODER_up_ref(OSSL_DECODER *decoder); 29 void OSSL_DECODER_free(OSSL_DECODER *decoder); 60 I<decoder>. 67 I<decoder>. 70 with the given I<decoder>. 79 of the I<decoder> implementation. 84 OSSL_DECODER_do_all_provided() traverses all decoder 115 implementation for the given I<decoder>. Note that the I<decoder> may have 140 sk_OSSL_DECODER_push(decoder_stack, decoder); [all …]
|
H A D | OSSL_DECODER_CTX.pod | 34 #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 132 a decoder, to be used to attempt to decode some encoded input. 135 added decoders, and adds them as well. This is used to build decoder 198 OSSL_DECODER_INSTANCE_get_decoder() can be used to get the decoder 199 implementation from a decoder instance I<decoder_inst>. 204 OSSL_DECODER_INSTANCE_get_input_type() can be used to get the decoder 205 implementation's input type from a decoder instance I<decoder_inst>. [all …]
|
H A D | OSSL_DECODER_CTX_new_for_pkey.pod | 14 #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 …]
|
H A D | OSSL_DECODER_from_bio.pod | 12 #include <openssl/decoder.h>
|
/openssl/include/openssl/ |
H A D | decoder.h | 36 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/fuzz/ |
H A D | build.info | 13 PROGRAMS{noinst}=punycode pem decoder hashtable acert 93 SOURCE[decoder]=decoder.c driver.c fuzz_rand.c 94 INCLUDE[decoder]=../include {- $ex_inc -} 95 DEPEND[decoder]=../libcrypto {- $ex_lib -} 148 PROGRAMS{noinst}=punycode-test pem-test decoder-test hashtable-test acert-test 230 SOURCE[decoder-test]=decoder.c test-corpus.c fuzz_rand.c 231 INCLUDE[decoder-test]=../include 232 DEPEND[decoder-test]=../libcrypto
|
/openssl/test/ |
H A D | provfetchtest.c | 235 OSSL_DECODER *decoder = NULL; in fetch_test() local 253 decoder = OSSL_DECODER_fetch(libctx, "DUMMY", in fetch_test() 255 if (!TEST_ptr(decoder)) in fetch_test() 283 OSSL_DECODER_free(decoder); in fetch_test()
|
/openssl/providers/ |
H A D | decoders.inc | 87 * A decoder that takes a SubjectPublicKeyInfo and figures out the types of key 93 * A decoder that recognises PKCS#8 EncryptedPrivateKeyInfo structure 95 * form to the next decoder.
|
/openssl/crypto/comp/ |
H A D | c_brotli.c | 110 BrotliDecoderState *decoder; member 124 state->decoder = BrotliDecoderCreateInstance(brotli_alloc, brotli_free, NULL); in brotli_stateful_init() 125 if (state->decoder == NULL) in brotli_stateful_init() 131 BrotliDecoderDestroyInstance(state->decoder); in brotli_stateful_init() 142 BrotliDecoderDestroyInstance(state->decoder); in brotli_stateful_finish() 199 result = BrotliDecoderDecompressStream(state->decoder, &in_avail, in brotli_stateful_expand_block() 204 || BrotliDecoderHasMoreOutput(state->decoder)) in brotli_stateful_expand_block()
|
/openssl/doc/man7/ |
H A D | provider-decoder.pod | 5 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
|
H A D | fips_module.pod | 277 property defined for them. These are the encoder and decoder algorithms that 279 file. The encoder and decoder algorithms are not in the FIPS module itself but 405 you need a decoder to read previously saved keys and parameters. In most cases 408 encoder/decoder will need to be available in the library context associated with
|
H A D | openssl-env.pod | 131 Traces decoder operations.
|
H A D | provider-object.pod | 154 interprets the object data type as the input type for a decoder.
|
H A D | openssl-glossary.pod | 41 A decoder is a type of algorithm used for decoding keys and parameters from some
|
H A D | provider-storemgmt.pod | 190 decoder implementations.
|
/openssl/include/crypto/ |
H A D | decoder.h | 26 ossl_decoder_instance_new(OSSL_DECODER *decoder, void *decoderctx);
|
/openssl/doc/internal/man3/ |
H A D | evp_md_get_number.pod | 25 int ossl_decoder_get_number(const OSSL_DECODER *decoder); 82 Returns the internal dynamic number assigned to the given I<decoder>.
|
/openssl/doc/designs/ |
H A D | fast-param-find.md | 143 generated along with fast decoder to look up parameter names quickly. 172 /* magic decoder */
|
/openssl/doc/designs/quic-design/ |
H A D | json-encoder.md | 8 implement a decoder at this time. The encoder is intended to support automation
|
H A D | debugging.md | 90 **Activating the decoder.** If you are using QUIC on a port not known to be
|
/openssl/apps/ |
H A D | list.c | 63 IS_FETCHABLE(decoder, OSSL_DECODER) in IS_FETCHABLE() 576 static void collect_decoders(OSSL_DECODER *decoder, void *stack) in collect_decoders() argument 580 if (is_decoder_fetchable(decoder) in collect_decoders() 581 && sk_OSSL_DECODER_push(decoder_stack, decoder) > 0) in collect_decoders() 582 OSSL_DECODER_up_ref(decoder); in collect_decoders()
|