Home
last modified time | relevance | path

Searched refs:algodef (Results 1 – 20 of 20) sorted by relevance

/openssl/crypto/encode_decode/
H A Ddecoder_meth.c199 void *ossl_decoder_from_algorithm(int id, const OSSL_ALGORITHM *algodef, in ossl_decoder_from_algorithm() argument
203 const OSSL_DISPATCH *fns = algodef->implementation; in ossl_decoder_from_algorithm()
209 if ((decoder->base.name = ossl_algorithm_get1_first_name(algodef)) == NULL) { in ossl_decoder_from_algorithm()
213 decoder->base.algodef = algodef; in ossl_decoder_from_algorithm()
215 = ossl_parse_property(libctx, algodef->property_definition)) == NULL) { in ossl_decoder_from_algorithm()
293 static void *construct_decoder(const OSSL_ALGORITHM *algodef, in construct_decoder() argument
305 const char *names = algodef->algorithm_names; in construct_decoder()
310 method = ossl_decoder_from_algorithm(id, algodef, prov); in construct_decoder()
471 return decoder->base.algodef->property_definition; in OSSL_DECODER_get0_properties()
502 return decoder->base.algodef->algorithm_description; in OSSL_DECODER_get0_description()
H A Dencoder_meth.c199 static void *encoder_from_algorithm(int id, const OSSL_ALGORITHM *algodef, in encoder_from_algorithm() argument
203 const OSSL_DISPATCH *fns = algodef->implementation; in encoder_from_algorithm()
209 if ((encoder->base.name = ossl_algorithm_get1_first_name(algodef)) == NULL) { in encoder_from_algorithm()
213 encoder->base.algodef = algodef; in encoder_from_algorithm()
215 = ossl_parse_property(libctx, algodef->property_definition)) == NULL) { in encoder_from_algorithm()
303 static void *construct_encoder(const OSSL_ALGORITHM *algodef, in construct_encoder() argument
315 const char *names = algodef->algorithm_names; in construct_encoder()
320 method = encoder_from_algorithm(id, algodef, prov); in construct_encoder()
480 return encoder->base.algodef->property_definition; in OSSL_ENCODER_get0_properties()
511 return encoder->base.algodef->algorithm_description; in OSSL_ENCODER_get0_description()
H A Dencoder_local.h24 const OSSL_ALGORITHM *algodef; member
H A Ddecoder_lib.c428 if (decoder->base.algodef == check_inst->decoder->base.algodef) { in collect_extra_decoder()
/openssl/crypto/store/
H A Dstore_meth.c175 static void *loader_from_algorithm(int scheme_id, const OSSL_ALGORITHM *algodef, in loader_from_algorithm() argument
179 const OSSL_DISPATCH *fns = algodef->implementation; in loader_from_algorithm()
184 loader->propdef = algodef->property_definition; in loader_from_algorithm()
185 loader->description = algodef->algorithm_description; in loader_from_algorithm()
250 static void *construct_loader(const OSSL_ALGORITHM *algodef, in construct_loader() argument
262 const char *scheme = algodef->algorithm_names; in construct_loader()
267 method = loader_from_algorithm(id, algodef, prov); in construct_loader()
/openssl/crypto/evp/
H A Dmac_meth.c58 const OSSL_ALGORITHM *algodef, in evp_mac_from_algorithm() argument
61 const OSSL_DISPATCH *fns = algodef->implementation; in evp_mac_from_algorithm()
70 if ((mac->type_name = ossl_algorithm_get1_first_name(algodef)) == NULL) { in evp_mac_from_algorithm()
74 mac->description = algodef->algorithm_description; in evp_mac_from_algorithm()
H A Dkdf_meth.c59 const OSSL_ALGORITHM *algodef, in evp_kdf_from_algorithm() argument
62 const OSSL_DISPATCH *fns = algodef->implementation; in evp_kdf_from_algorithm()
71 if ((kdf->type_name = ossl_algorithm_get1_first_name(algodef)) == NULL) { in evp_kdf_from_algorithm()
75 kdf->description = algodef->algorithm_description; in evp_kdf_from_algorithm()
H A Devp_fetch.c200 static void *construct_evp_method(const OSSL_ALGORITHM *algodef, in construct_evp_method() argument
213 const char *names = algodef->algorithm_names; in construct_evp_method()
220 method = methdata->method_from_algorithm(name_id, algodef, prov); in construct_evp_method()
245 const OSSL_ALGORITHM *algodef, in inner_evp_generic_fetch() argument
368 const OSSL_ALGORITHM *algodef, in evp_generic_fetch() argument
394 const OSSL_ALGORITHM *algodef, in evp_generic_fetch_from_prov() argument
607 const OSSL_ALGORITHM *algodef, in evp_generic_do_all() argument
H A Devp_local.h281 const OSSL_ALGORITHM *algodef,
288 const OSSL_ALGORITHM *algodef,
299 const OSSL_ALGORITHM *algodef,
H A Dkem.c291 static void *evp_kem_from_algorithm(int name_id, const OSSL_ALGORITHM *algodef, in evp_kem_from_algorithm() argument
294 const OSSL_DISPATCH *fns = algodef->implementation; in evp_kem_from_algorithm()
305 if ((kem->type_name = ossl_algorithm_get1_first_name(algodef)) == NULL) in evp_kem_from_algorithm()
307 kem->description = algodef->algorithm_description; in evp_kem_from_algorithm()
H A Dasymcipher.c338 const OSSL_ALGORITHM *algodef, in evp_asym_cipher_from_algorithm() argument
341 const OSSL_DISPATCH *fns = algodef->implementation; in evp_asym_cipher_from_algorithm()
352 if ((cipher->type_name = ossl_algorithm_get1_first_name(algodef)) == NULL) in evp_asym_cipher_from_algorithm()
354 cipher->description = algodef->algorithm_description; in evp_asym_cipher_from_algorithm()
H A Dexchange.c39 const OSSL_ALGORITHM *algodef, in evp_keyexch_from_algorithm() argument
42 const OSSL_DISPATCH *fns = algodef->implementation; in evp_keyexch_from_algorithm()
52 if ((exchange->type_name = ossl_algorithm_get1_first_name(algodef)) == NULL) in evp_keyexch_from_algorithm()
54 exchange->description = algodef->algorithm_description; in evp_keyexch_from_algorithm()
H A Dkeymgmt_meth.c54 const OSSL_ALGORITHM *algodef, in keymgmt_from_algorithm() argument
57 const OSSL_DISPATCH *fns = algodef->implementation; in keymgmt_from_algorithm()
69 if ((keymgmt->type_name = ossl_algorithm_get1_first_name(algodef)) == NULL) { in keymgmt_from_algorithm()
73 keymgmt->description = algodef->algorithm_description; in keymgmt_from_algorithm()
H A Devp_rand.c118 const OSSL_ALGORITHM *algodef, in evp_rand_from_algorithm() argument
121 const OSSL_DISPATCH *fns = algodef->implementation; in evp_rand_from_algorithm()
133 if ((rand->type_name = ossl_algorithm_get1_first_name(algodef)) == NULL) { in evp_rand_from_algorithm()
137 rand->description = algodef->algorithm_description; in evp_rand_from_algorithm()
H A Dsignature.c42 const OSSL_ALGORITHM *algodef, in evp_signature_from_algorithm() argument
45 const OSSL_DISPATCH *fns = algodef->implementation; in evp_signature_from_algorithm()
61 if ((signature->type_name = ossl_algorithm_get1_first_name(algodef)) == NULL) in evp_signature_from_algorithm()
63 signature->description = algodef->algorithm_description; in evp_signature_from_algorithm()
H A Ddigest.c1015 const OSSL_ALGORITHM *algodef, in evp_md_from_algorithm() argument
1018 const OSSL_DISPATCH *fns = algodef->implementation; in evp_md_from_algorithm()
1039 if ((md->type_name = ossl_algorithm_get1_first_name(algodef)) == NULL) { in evp_md_from_algorithm()
1043 md->description = algodef->algorithm_description; in evp_md_from_algorithm()
H A Devp_enc.c1565 const OSSL_ALGORITHM *algodef, in evp_cipher_from_algorithm() argument
1568 const OSSL_DISPATCH *fns = algodef->implementation; in evp_cipher_from_algorithm()
1588 if ((cipher->type_name = ossl_algorithm_get1_first_name(algodef)) == NULL) { in evp_cipher_from_algorithm()
1592 cipher->description = algodef->algorithm_description; in evp_cipher_from_algorithm()
/openssl/include/crypto/
H A Ddecoder.h22 void *ossl_decoder_from_algorithm(int id, const OSSL_ALGORITHM *algodef,
/openssl/include/internal/
H A Dcore.h43 void *(*construct)(const OSSL_ALGORITHM *algodef, OSSL_PROVIDER *prov,
/openssl/doc/internal/man3/
H A Dossl_method_construct.pod21 void *(*construct)(const OSSL_ALGORITHM *algodef, OSSL_PROVIDER *prov,

Completed in 95 milliseconds