Home
last modified time | relevance | path

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

12

/openssl-master/crypto/encode_decode/
A Dencoder_meth.c31 if ((encoder = OPENSSL_zalloc(sizeof(*encoder))) == NULL in ossl_encoder_new()
40 return encoder; in ossl_encoder_new()
47 CRYPTO_UP_REF(&encoder->base.refcnt, &ref, encoder->base.lock); in OSSL_ENCODER_up_ref()
55 if (encoder == NULL) in OSSL_ENCODER_free()
58 CRYPTO_DOWN_REF(&encoder->base.refcnt, &ref, encoder->base.lock); in OSSL_ENCODER_free()
274 if (!((encoder->newctx == NULL && encoder->freectx == NULL) in encoder_from_algorithm()
275 || (encoder->newctx != NULL && encoder->freectx != NULL) in encoder_from_algorithm()
290 return encoder; in encoder_from_algorithm()
574 if (encoder != NULL && encoder->gettable_params != NULL) { in OSSL_ENCODER_gettable_params()
584 if (encoder != NULL && encoder->get_params != NULL) in OSSL_ENCODER_get_params()
[all …]
A Dencoder_lib.c192 if (!ossl_assert(encoder != NULL)) { in ossl_encoder_instance_new()
202 if (!OSSL_ENCODER_up_ref(encoder)) { in ossl_encoder_instance_new()
207 prov = OSSL_ENCODER_get0_provider(encoder); in ossl_encoder_instance_new()
209 props = ossl_encoder_parsed_properties(encoder); in ossl_encoder_instance_new()
235 encoder_inst->encoder = encoder; in ossl_encoder_instance_new()
246 if (encoder_inst->encoder != NULL) in ossl_encoder_instance_free()
249 OSSL_ENCODER_free(encoder_inst->encoder); in ossl_encoder_instance_free()
250 encoder_inst->encoder = NULL; in ossl_encoder_instance_free()
293 prov = OSSL_ENCODER_get0_provider(encoder); in OSSL_ENCODER_CTX_add_encoder()
310 encoder->freectx(encoderctx); in OSSL_ENCODER_CTX_add_encoder()
[all …]
A Dencoder_pkey.c86 static void collect_encoder(OSSL_ENCODER *encoder, void *arg) in collect_encoder() argument
102 const OSSL_PROVIDER *prov = OSSL_ENCODER_get0_provider(encoder); in collect_encoder()
114 if (!OSSL_ENCODER_is_a(encoder, name) in collect_encoder()
115 || (encoder->does_selection != NULL in collect_encoder()
116 && !encoder->does_selection(provctx, data->ctx->selection)) in collect_encoder()
118 && encoder->import_object == NULL)) in collect_encoder()
122 if (OSSL_ENCODER_CTX_add_encoder(data->ctx, encoder)) in collect_encoder()
183 OSSL_ENCODER *encoder = in encoder_construct_pkey() local
187 const OSSL_PROVIDER *e_prov = OSSL_ENCODER_get0_provider(encoder); in encoder_construct_pkey()
209 OSSL_ENCODER *encoder = in encoder_destruct_pkey() local
[all …]
A Dencoder_local.h59 OSSL_ENCODER *encoder; /* Never NULL */ member
164 ossl_encoder_parsed_properties(const OSSL_ENCODER *encoder);
/openssl-master/doc/man3/
A DOSSL_ENCODER.pod22 #include <openssl/encoder.h>
28 int OSSL_ENCODER_up_ref(OSSL_ENCODER *encoder);
29 void OSSL_ENCODER_free(OSSL_ENCODER *encoder);
38 int OSSL_ENCODER_names_do_all(const OSSL_ENCODER *encoder,
57 in L<provider-encoder(7)/Names and properties>.
60 I<encoder>.
63 I<encoder>, and when the count reaches zero, frees it.
66 I<encoder>.
69 with the given I<encoder>.
83 OSSL_ENCODER_do_all_provided() traverses all encoder
[all …]
A DOSSL_ENCODER_CTX.pod30 #include <openssl/encoder.h>
35 const OSSL_PARAM *OSSL_ENCODER_settable_ctx_params(OSSL_ENCODER *encoder);
75 encoder implementations, which means that the output from one encoder may be
89 encoder that is going to be used, and that may be useful for the
107 I<ctx> with a encoder, to be used to encode an input object.
111 encoder chains.
114 be specified, and determines if a complete encoder chain is available.
155 OSSL_ENCODER_INSTANCE_get_encoder() can be used to get the encoder
156 implementation of the encoder instance I<encoder_inst>.
162 for the encoder implementation of the encoder instance I<encoder_inst>.
[all …]
A DOSSL_ENCODER_CTX_new_for_pkey.pod15 #include <openssl/encoder.h>
41 B<OSSL_ENCODER_CTX>, finds all applicable encoder implementations and sets
51 applicable encoder implementations that are used to process the I<pkey> into
56 If no suitable encoder implementation is found,
58 with no associated encoder (L<OSSL_ENCODER_CTX_get_num_encoders(3)> returns
60 the B<OSSL_ENCODER_CTX> and missing encoder implementation, and allows it to
114 These are only 'hints' since the encoder implementations are free to
A DOSSL_ENCODER_to_bio.pod12 #include <openssl/encoder.h>
47 =for comment Know your encoder!
51 it in text or binary mode as is appropriate for the encoder output type.
A DOSSL_DECODER_CTX_new_for_pkey.pod71 the B<OSSL_ENCODER_CTX> and missing encoder implementation, and allows it to
A DOSSL_DECODER.pod57 in L<provider-encoder(7)/Names and properties>.
/openssl-master/include/openssl/
A Dencoder.h31 int OSSL_ENCODER_up_ref(OSSL_ENCODER *encoder);
32 void OSSL_ENCODER_free(OSSL_ENCODER *encoder);
34 const OSSL_PROVIDER *OSSL_ENCODER_get0_provider(const OSSL_ENCODER *encoder);
35 const char *OSSL_ENCODER_get0_properties(const OSSL_ENCODER *encoder);
38 int OSSL_ENCODER_is_a(const OSSL_ENCODER *encoder, const char *name);
41 void (*fn)(OSSL_ENCODER *encoder, void *arg),
43 int OSSL_ENCODER_names_do_all(const OSSL_ENCODER *encoder,
46 const OSSL_PARAM *OSSL_ENCODER_gettable_params(OSSL_ENCODER *encoder);
47 int OSSL_ENCODER_get_params(OSSL_ENCODER *encoder, OSSL_PARAM params[]);
49 const OSSL_PARAM *OSSL_ENCODER_settable_ctx_params(OSSL_ENCODER *encoder);
[all …]
A Ddecoder.h31 int OSSL_DECODER_up_ref(OSSL_DECODER *encoder);
32 void OSSL_DECODER_free(OSSL_DECODER *encoder);
34 const OSSL_PROVIDER *OSSL_DECODER_get0_provider(const OSSL_DECODER *encoder);
35 const char *OSSL_DECODER_get0_properties(const OSSL_DECODER *encoder);
38 int OSSL_DECODER_is_a(const OSSL_DECODER *encoder, const char *name);
41 void (*fn)(OSSL_DECODER *encoder, void *arg),
43 int OSSL_DECODER_names_do_all(const OSSL_DECODER *encoder,
49 const OSSL_PARAM *OSSL_DECODER_settable_ctx_params(OSSL_DECODER *encoder);
/openssl-master/test/
A Dprovfetchtest.c235 OSSL_ENCODER *encoder = NULL; in fetch_test() local
256 encoder = OSSL_ENCODER_fetch(libctx, "DUMMY", NULL); in fetch_test()
257 if (!TEST_ptr(encoder)) in fetch_test()
277 OSSL_ENCODER_free(encoder); in fetch_test()
A Dendecode_test.c129 typedef int (encoder)(const char *file, const int line, typedef
152 encoder *encode_cb, decoder *decode_cb, in test_encode_decode()
/openssl-master/include/crypto/
A Dencoder.h14 int ossl_encoder_get_number(const OSSL_ENCODER *encoder);
A Ddecoder.h40 int ossl_decoder_get_number(const OSSL_DECODER *encoder);
/openssl-master/doc/internal/man3/
A Devp_md_get_number.pod26 int ossl_encoder_get_number(const OSSL_ENCODER *encoder);
86 Returns the internal dynamic number assigned to the given I<encoder>.
/openssl-master/doc/man7/
A Dprovider-encoder.pod5 provider-encoder - The OSSL_ENCODER library E<lt>-E<gt> provider functions
21 /* Functions to construct / destruct / manipulate the encoder context */
55 The encoder doesn't need to know more about the B<OSSL_CORE_BIO>
77 encoder to be used for data that's been exported from another
309 OSSL_FUNC_encoder_does_selection() returns 1 if the encoder 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
389 then it is likely that you will need to use an encoder to do this. Similarly
393 encoder/decoder will need to be available in the library context associated with
A Dprovider.pod172 L<provider-encoder(7)>
A Dopenssl-glossary.pod67 An encoder is a type of algorithm used for encoding keys and parameters to some
/openssl-master/apps/
A Dlist.c61 IS_FETCHABLE(encoder, OSSL_ENCODER) in IS_FETCHABLE()
508 static void collect_encoders(OSSL_ENCODER *encoder, void *stack) in collect_encoders() argument
512 if (is_encoder_fetchable(encoder) in collect_encoders()
513 && sk_OSSL_ENCODER_push(encoder_stack, encoder) > 0) in collect_encoders()
514 OSSL_ENCODER_up_ref(encoder); in collect_encoders()
/openssl-master/providers/
A Dfips.module.sources417 include/openssl/encoder.h
A Dfips-sources.checksums417 61c76ee3f12ed0e42503a56421ca00f1cb9a0f4caa5f9c4421c374bcd45917d7 include/openssl/encoder.h
/openssl-master/doc/
A Dbuild.info4488 DEPEND[html/man7/provider-encoder.html]=man7/provider-encoder.pod
4489 GENERATE[html/man7/provider-encoder.html]=man7/provider-encoder.pod
4490 DEPEND[man/man7/provider-encoder.7]=man7/provider-encoder.pod
4491 GENERATE[man/man7/provider-encoder.7]=man7/provider-encoder.pod
4661 html/man7/provider-encoder.html \
4786 man/man7/provider-encoder.7 \

Completed in 55 milliseconds

12