Home
last modified time | relevance | path

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

12

/third_party/node/deps/openssl/openssl/crypto/encode_decode/
Dencoder_meth.c220 static void *encoder_from_algorithm(int id, const OSSL_ALGORITHM *algodef, in encoder_from_algorithm() argument
224 const OSSL_DISPATCH *fns = algodef->implementation; in encoder_from_algorithm()
230 if ((encoder->base.name = ossl_algorithm_get1_first_name(algodef)) == NULL) { in encoder_from_algorithm()
234 encoder->base.algodef = algodef; in encoder_from_algorithm()
236 = ossl_parse_property(libctx, algodef->property_definition)) == NULL) { in encoder_from_algorithm()
324 static void *construct_encoder(const OSSL_ALGORITHM *algodef, in construct_encoder() argument
336 const char *names = algodef->algorithm_names; in construct_encoder()
341 method = encoder_from_algorithm(id, algodef, prov); in construct_encoder()
525 return encoder->base.algodef->property_definition; in OSSL_ENCODER_get0_properties()
556 return encoder->base.algodef->algorithm_description; in OSSL_ENCODER_get0_description()
Ddecoder_meth.c220 void *ossl_decoder_from_algorithm(int id, const OSSL_ALGORITHM *algodef, in ossl_decoder_from_algorithm() argument
224 const OSSL_DISPATCH *fns = algodef->implementation; in ossl_decoder_from_algorithm()
230 if ((decoder->base.name = ossl_algorithm_get1_first_name(algodef)) == NULL) { in ossl_decoder_from_algorithm()
234 decoder->base.algodef = algodef; in ossl_decoder_from_algorithm()
236 = ossl_parse_property(libctx, algodef->property_definition)) == NULL) { in ossl_decoder_from_algorithm()
314 static void *construct_decoder(const OSSL_ALGORITHM *algodef, in construct_decoder() argument
326 const char *names = algodef->algorithm_names; in construct_decoder()
331 method = ossl_decoder_from_algorithm(id, algodef, prov); in construct_decoder()
516 return decoder->base.algodef->property_definition; in OSSL_DECODER_get0_properties()
547 return decoder->base.algodef->algorithm_description; in OSSL_DECODER_get0_description()
/third_party/openssl/crypto/encode_decode/
Ddecoder_meth.c220 void *ossl_decoder_from_algorithm(int id, const OSSL_ALGORITHM *algodef, in ossl_decoder_from_algorithm() argument
224 const OSSL_DISPATCH *fns = algodef->implementation; in ossl_decoder_from_algorithm()
230 if ((decoder->base.name = ossl_algorithm_get1_first_name(algodef)) == NULL) { in ossl_decoder_from_algorithm()
234 decoder->base.algodef = algodef; in ossl_decoder_from_algorithm()
236 = ossl_parse_property(libctx, algodef->property_definition)) == NULL) { in ossl_decoder_from_algorithm()
314 static void *construct_decoder(const OSSL_ALGORITHM *algodef, in construct_decoder() argument
326 const char *names = algodef->algorithm_names; in construct_decoder()
331 method = ossl_decoder_from_algorithm(id, algodef, prov); in construct_decoder()
516 return decoder->base.algodef->property_definition; in OSSL_DECODER_get0_properties()
547 return decoder->base.algodef->algorithm_description; in OSSL_DECODER_get0_description()
Dencoder_meth.c220 static void *encoder_from_algorithm(int id, const OSSL_ALGORITHM *algodef, in encoder_from_algorithm() argument
224 const OSSL_DISPATCH *fns = algodef->implementation; in encoder_from_algorithm()
230 if ((encoder->base.name = ossl_algorithm_get1_first_name(algodef)) == NULL) { in encoder_from_algorithm()
234 encoder->base.algodef = algodef; in encoder_from_algorithm()
236 = ossl_parse_property(libctx, algodef->property_definition)) == NULL) { in encoder_from_algorithm()
324 static void *construct_encoder(const OSSL_ALGORITHM *algodef, in construct_encoder() argument
336 const char *names = algodef->algorithm_names; in construct_encoder()
341 method = encoder_from_algorithm(id, algodef, prov); in construct_encoder()
525 return encoder->base.algodef->property_definition; in OSSL_ENCODER_get0_properties()
556 return encoder->base.algodef->algorithm_description; in OSSL_ENCODER_get0_description()
/third_party/node/deps/openssl/openssl/crypto/store/
Dstore_meth.c195 static void *loader_from_algorithm(int scheme_id, const OSSL_ALGORITHM *algodef, in loader_from_algorithm() argument
199 const OSSL_DISPATCH *fns = algodef->implementation; in loader_from_algorithm()
204 loader->propdef = algodef->property_definition; in loader_from_algorithm()
205 loader->description = algodef->algorithm_description; in loader_from_algorithm()
262 static void *construct_loader(const OSSL_ALGORITHM *algodef, in construct_loader() argument
274 const char *scheme = algodef->algorithm_names; in construct_loader()
279 method = loader_from_algorithm(id, algodef, prov); in construct_loader()
/third_party/openssl/crypto/store/
Dstore_meth.c195 static void *loader_from_algorithm(int scheme_id, const OSSL_ALGORITHM *algodef, in loader_from_algorithm() argument
199 const OSSL_DISPATCH *fns = algodef->implementation; in loader_from_algorithm()
204 loader->propdef = algodef->property_definition; in loader_from_algorithm()
205 loader->description = algodef->algorithm_description; in loader_from_algorithm()
262 static void *construct_loader(const OSSL_ALGORITHM *algodef, in construct_loader() argument
274 const char *scheme = algodef->algorithm_names; in construct_loader()
279 method = loader_from_algorithm(id, algodef, prov); in construct_loader()
/third_party/openssl/crypto/evp/
Devp_fetch.c219 static void *construct_evp_method(const OSSL_ALGORITHM *algodef, in construct_evp_method() argument
232 const char *names = algodef->algorithm_names; in construct_evp_method()
239 method = methdata->method_from_algorithm(name_id, algodef, prov); in construct_evp_method()
265 const OSSL_ALGORITHM *algodef, in inner_evp_generic_fetch() argument
386 const OSSL_ALGORITHM *algodef, in evp_generic_fetch() argument
413 const OSSL_ALGORITHM *algodef, in evp_generic_fetch_by_number() argument
439 const OSSL_ALGORITHM *algodef, in evp_generic_fetch_from_prov() argument
644 const OSSL_ALGORITHM *algodef, in evp_generic_do_all() argument
Dkdf_meth.c60 const OSSL_ALGORITHM *algodef, in evp_kdf_from_algorithm() argument
63 const OSSL_DISPATCH *fns = algodef->implementation; in evp_kdf_from_algorithm()
72 if ((kdf->type_name = ossl_algorithm_get1_first_name(algodef)) == NULL) { in evp_kdf_from_algorithm()
76 kdf->description = algodef->algorithm_description; in evp_kdf_from_algorithm()
Dmac_meth.c61 const OSSL_ALGORITHM *algodef, in evp_mac_from_algorithm() argument
64 const OSSL_DISPATCH *fns = algodef->implementation; in evp_mac_from_algorithm()
73 if ((mac->type_name = ossl_algorithm_get1_first_name(algodef)) == NULL) { in evp_mac_from_algorithm()
77 mac->description = algodef->algorithm_description; in evp_mac_from_algorithm()
Devp_local.h269 const OSSL_ALGORITHM *algodef,
276 const OSSL_ALGORITHM *algodef,
283 const OSSL_ALGORITHM *algodef,
294 const OSSL_ALGORITHM *algodef,
Dkem.c259 static void *evp_kem_from_algorithm(int name_id, const OSSL_ALGORITHM *algodef, in evp_kem_from_algorithm() argument
262 const OSSL_DISPATCH *fns = algodef->implementation; in evp_kem_from_algorithm()
273 if ((kem->type_name = ossl_algorithm_get1_first_name(algodef)) == NULL) in evp_kem_from_algorithm()
275 kem->description = algodef->algorithm_description; in evp_kem_from_algorithm()
Dkeymgmt_meth.c37 const OSSL_ALGORITHM *algodef, in keymgmt_from_algorithm() argument
40 const OSSL_DISPATCH *fns = algodef->implementation; in keymgmt_from_algorithm()
50 if ((keymgmt->type_name = ossl_algorithm_get1_first_name(algodef)) == NULL) { in keymgmt_from_algorithm()
54 keymgmt->description = algodef->algorithm_description; in keymgmt_from_algorithm()
Dasymcipher.c325 const OSSL_ALGORITHM *algodef, in evp_asym_cipher_from_algorithm() argument
328 const OSSL_DISPATCH *fns = algodef->implementation; in evp_asym_cipher_from_algorithm()
339 if ((cipher->type_name = ossl_algorithm_get1_first_name(algodef)) == NULL) in evp_asym_cipher_from_algorithm()
341 cipher->description = algodef->algorithm_description; in evp_asym_cipher_from_algorithm()
Dexchange.c44 const OSSL_ALGORITHM *algodef, in evp_keyexch_from_algorithm() argument
47 const OSSL_DISPATCH *fns = algodef->implementation; in evp_keyexch_from_algorithm()
57 if ((exchange->type_name = ossl_algorithm_get1_first_name(algodef)) == NULL) in evp_keyexch_from_algorithm()
59 exchange->description = algodef->algorithm_description; in evp_keyexch_from_algorithm()
Dsignature.c44 const OSSL_ALGORITHM *algodef, in evp_signature_from_algorithm() argument
47 const OSSL_DISPATCH *fns = algodef->implementation; in evp_signature_from_algorithm()
59 if ((signature->type_name = ossl_algorithm_get1_first_name(algodef)) == NULL) in evp_signature_from_algorithm()
61 signature->description = algodef->algorithm_description; in evp_signature_from_algorithm()
Devp_rand.c116 const OSSL_ALGORITHM *algodef, in evp_rand_from_algorithm() argument
119 const OSSL_DISPATCH *fns = algodef->implementation; in evp_rand_from_algorithm()
131 if ((rand->type_name = ossl_algorithm_get1_first_name(algodef)) == NULL) { in evp_rand_from_algorithm()
135 rand->description = algodef->algorithm_description; in evp_rand_from_algorithm()
/third_party/node/deps/openssl/openssl/crypto/evp/
Devp_fetch.c219 static void *construct_evp_method(const OSSL_ALGORITHM *algodef, in construct_evp_method() argument
232 const char *names = algodef->algorithm_names; in construct_evp_method()
239 method = methdata->method_from_algorithm(name_id, algodef, prov); in construct_evp_method()
265 const OSSL_ALGORITHM *algodef, in inner_evp_generic_fetch() argument
399 const OSSL_ALGORITHM *algodef, in evp_generic_fetch() argument
426 const OSSL_ALGORITHM *algodef, in evp_generic_fetch_by_number() argument
452 const OSSL_ALGORITHM *algodef, in evp_generic_fetch_from_prov() argument
657 const OSSL_ALGORITHM *algodef, in evp_generic_do_all() argument
Dkdf_meth.c60 const OSSL_ALGORITHM *algodef, in evp_kdf_from_algorithm() argument
63 const OSSL_DISPATCH *fns = algodef->implementation; in evp_kdf_from_algorithm()
72 if ((kdf->type_name = ossl_algorithm_get1_first_name(algodef)) == NULL) { in evp_kdf_from_algorithm()
76 kdf->description = algodef->algorithm_description; in evp_kdf_from_algorithm()
Dmac_meth.c61 const OSSL_ALGORITHM *algodef, in evp_mac_from_algorithm() argument
64 const OSSL_DISPATCH *fns = algodef->implementation; in evp_mac_from_algorithm()
73 if ((mac->type_name = ossl_algorithm_get1_first_name(algodef)) == NULL) { in evp_mac_from_algorithm()
77 mac->description = algodef->algorithm_description; in evp_mac_from_algorithm()
Devp_local.h269 const OSSL_ALGORITHM *algodef,
276 const OSSL_ALGORITHM *algodef,
283 const OSSL_ALGORITHM *algodef,
294 const OSSL_ALGORITHM *algodef,
Dkem.c259 static void *evp_kem_from_algorithm(int name_id, const OSSL_ALGORITHM *algodef, in evp_kem_from_algorithm() argument
262 const OSSL_DISPATCH *fns = algodef->implementation; in evp_kem_from_algorithm()
273 if ((kem->type_name = ossl_algorithm_get1_first_name(algodef)) == NULL) in evp_kem_from_algorithm()
275 kem->description = algodef->algorithm_description; in evp_kem_from_algorithm()
Dkeymgmt_meth.c37 const OSSL_ALGORITHM *algodef, in keymgmt_from_algorithm() argument
40 const OSSL_DISPATCH *fns = algodef->implementation; in keymgmt_from_algorithm()
50 if ((keymgmt->type_name = ossl_algorithm_get1_first_name(algodef)) == NULL) { in keymgmt_from_algorithm()
54 keymgmt->description = algodef->algorithm_description; in keymgmt_from_algorithm()
Dexchange.c44 const OSSL_ALGORITHM *algodef, in evp_keyexch_from_algorithm() argument
47 const OSSL_DISPATCH *fns = algodef->implementation; in evp_keyexch_from_algorithm()
57 if ((exchange->type_name = ossl_algorithm_get1_first_name(algodef)) == NULL) in evp_keyexch_from_algorithm()
59 exchange->description = algodef->algorithm_description; in evp_keyexch_from_algorithm()
Dasymcipher.c325 const OSSL_ALGORITHM *algodef, in evp_asym_cipher_from_algorithm() argument
328 const OSSL_DISPATCH *fns = algodef->implementation; in evp_asym_cipher_from_algorithm()
339 if ((cipher->type_name = ossl_algorithm_get1_first_name(algodef)) == NULL) in evp_asym_cipher_from_algorithm()
341 cipher->description = algodef->algorithm_description; in evp_asym_cipher_from_algorithm()
Devp_rand.c116 const OSSL_ALGORITHM *algodef, in evp_rand_from_algorithm() argument
119 const OSSL_DISPATCH *fns = algodef->implementation; in evp_rand_from_algorithm()
131 if ((rand->type_name = ossl_algorithm_get1_first_name(algodef)) == NULL) { in evp_rand_from_algorithm()
135 rand->description = algodef->algorithm_description; in evp_rand_from_algorithm()

12