| /freebsd/crypto/openssl/crypto/encode_decode/ |
| H A D | encoder_meth.c | 209 static void *encoder_from_algorithm(int id, const OSSL_ALGORITHM *algodef, in encoder_from_algorithm() argument 213 const OSSL_DISPATCH *fns = algodef->implementation; in encoder_from_algorithm() 219 if ((encoder->base.name = ossl_algorithm_get1_first_name(algodef)) == NULL) { in encoder_from_algorithm() 223 encoder->base.algodef = algodef; in encoder_from_algorithm() 225 = ossl_parse_property(libctx, algodef->property_definition)) in encoder_from_algorithm() 304 static void *construct_encoder(const OSSL_ALGORITHM *algodef, in construct_encoder() argument 316 const char *names = algodef->algorithm_names; in construct_encoder() 321 method = encoder_from_algorithm(id, algodef, prov); in construct_encoder() 482 return encoder->base.algodef->property_definition; in OSSL_ENCODER_get0_properties() 513 return encoder->base.algodef->algorithm_description; in OSSL_ENCODER_get0_description()
|
| H A D | decoder_meth.c | 209 void *ossl_decoder_from_algorithm(int id, const OSSL_ALGORITHM *algodef, in ossl_decoder_from_algorithm() argument 213 const OSSL_DISPATCH *fns = algodef->implementation; in ossl_decoder_from_algorithm() 219 if ((decoder->base.name = ossl_algorithm_get1_first_name(algodef)) == NULL) { in ossl_decoder_from_algorithm() 223 decoder->base.algodef = algodef; in ossl_decoder_from_algorithm() 225 = ossl_parse_property(libctx, algodef->property_definition)) in ossl_decoder_from_algorithm() 298 static void *construct_decoder(const OSSL_ALGORITHM *algodef, in construct_decoder() argument 310 const char *names = algodef->algorithm_names; in construct_decoder() 315 method = ossl_decoder_from_algorithm(id, algodef, prov); in construct_decoder() 477 return decoder->base.algodef->property_definition; in OSSL_DECODER_get0_properties() 508 return decoder->base.algodef->algorithm_description; in OSSL_DECODER_get0_description()
|
| H A D | encoder_local.h | 25 const OSSL_ALGORITHM *algodef; member
|
| H A D | decoder_lib.c | 469 if (decoder->base.algodef == check_inst->decoder->base.algodef) { in collect_extra_decoder()
|
| /freebsd/crypto/openssl/crypto/store/ |
| H A D | store_meth.c | 178 static void *loader_from_algorithm(int scheme_id, const OSSL_ALGORITHM *algodef, in loader_from_algorithm() argument 182 const OSSL_DISPATCH *fns = algodef->implementation; in loader_from_algorithm() 187 loader->propdef = algodef->property_definition; in loader_from_algorithm() 188 loader->description = algodef->algorithm_description; in loader_from_algorithm() 252 static void *construct_loader(const OSSL_ALGORITHM *algodef, in construct_loader() argument 264 const char *scheme = algodef->algorithm_names; in construct_loader() 269 method = loader_from_algorithm(id, algodef, prov); in construct_loader()
|
| /freebsd/crypto/openssl/crypto/evp/ |
| H A D | kdf_meth.c | 59 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() 74 kdf->description = algodef->algorithm_description; in evp_kdf_from_algorithm()
|
| H A D | skeymgmt_meth.c | 62 const OSSL_ALGORITHM *algodef, in skeymgmt_from_algorithm() argument 65 const OSSL_DISPATCH *fns = algodef->implementation; in skeymgmt_from_algorithm() 72 if ((skeymgmt->type_name = ossl_algorithm_get1_first_name(algodef)) == NULL) { in skeymgmt_from_algorithm() 76 skeymgmt->description = algodef->algorithm_description; in skeymgmt_from_algorithm()
|
| H A D | mac_meth.c | 58 const OSSL_ALGORITHM *algodef, in evp_mac_from_algorithm() argument 61 const OSSL_DISPATCH *fns = algodef->implementation; in evp_mac_from_algorithm() 71 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 D | evp_fetch.c | 210 static void *construct_evp_method(const OSSL_ALGORITHM *algodef, in construct_evp_method() argument 223 const char *names = algodef->algorithm_names; in construct_evp_method() 230 method = methdata->method_from_algorithm(name_id, algodef, prov); in construct_evp_method() 255 const OSSL_ALGORITHM *algodef, in inner_evp_generic_fetch() argument 394 const OSSL_ALGORITHM *algodef, in evp_generic_fetch() argument 420 const OSSL_ALGORITHM *algodef, in evp_generic_fetch_from_prov() argument 634 const OSSL_ALGORITHM *algodef, in evp_generic_do_all() argument
|
| H A D | kem.c | 301 static void *evp_kem_from_algorithm(int name_id, const OSSL_ALGORITHM *algodef, in evp_kem_from_algorithm() argument 304 const OSSL_DISPATCH *fns = algodef->implementation; in evp_kem_from_algorithm() 315 if ((kem->type_name = ossl_algorithm_get1_first_name(algodef)) == NULL) in evp_kem_from_algorithm() 317 kem->description = algodef->algorithm_description; in evp_kem_from_algorithm()
|
| H A D | exchange.c | 50 const OSSL_ALGORITHM *algodef, in evp_keyexch_from_algorithm() argument 53 const OSSL_DISPATCH *fns = algodef->implementation; in evp_keyexch_from_algorithm() 63 if ((exchange->type_name = ossl_algorithm_get1_first_name(algodef)) == NULL) in evp_keyexch_from_algorithm() 65 exchange->description = algodef->algorithm_description; in evp_keyexch_from_algorithm()
|
| H A D | evp_local.h | 304 const OSSL_ALGORITHM *algodef, 311 const OSSL_ALGORITHM *algodef, 322 const OSSL_ALGORITHM *algodef,
|
| H A D | keymgmt_meth.c | 64 const OSSL_ALGORITHM *algodef, in keymgmt_from_algorithm() argument 67 const OSSL_DISPATCH *fns = algodef->implementation; in keymgmt_from_algorithm() 79 if ((keymgmt->type_name = ossl_algorithm_get1_first_name(algodef)) == NULL) { in keymgmt_from_algorithm() 83 keymgmt->description = algodef->algorithm_description; in keymgmt_from_algorithm()
|
| H A D | asymcipher.c | 367 const OSSL_ALGORITHM *algodef, in evp_asym_cipher_from_algorithm() argument 370 const OSSL_DISPATCH *fns = algodef->implementation; in evp_asym_cipher_from_algorithm() 381 if ((cipher->type_name = ossl_algorithm_get1_first_name(algodef)) == NULL) in evp_asym_cipher_from_algorithm() 383 cipher->description = algodef->algorithm_description; in evp_asym_cipher_from_algorithm()
|
| H A D | evp_rand.c | 118 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 D | signature.c | 53 const OSSL_ALGORITHM *algodef, in evp_signature_from_algorithm() argument 56 const OSSL_DISPATCH *fns = algodef->implementation; in evp_signature_from_algorithm() 73 if ((signature->type_name = ossl_algorithm_get1_first_name(algodef)) == NULL) in evp_signature_from_algorithm() 75 signature->description = algodef->algorithm_description; in evp_signature_from_algorithm()
|
| H A D | digest.c | 1015 const OSSL_ALGORITHM *algodef, in evp_md_from_algorithm() argument 1018 const OSSL_DISPATCH *fns = algodef->implementation; in evp_md_from_algorithm() 1038 if ((md->type_name = ossl_algorithm_get1_first_name(algodef)) == NULL) in evp_md_from_algorithm() 1041 md->description = algodef->algorithm_description; in evp_md_from_algorithm()
|
| H A D | evp_enc.c | 1878 const OSSL_ALGORITHM *algodef, in evp_cipher_from_algorithm() argument 1881 const OSSL_DISPATCH *fns = algodef->implementation; in evp_cipher_from_algorithm() 1900 if ((cipher->type_name = ossl_algorithm_get1_first_name(algodef)) == NULL) in evp_cipher_from_algorithm() 1903 cipher->description = algodef->algorithm_description; in evp_cipher_from_algorithm()
|
| /freebsd/crypto/openssl/include/crypto/ |
| H A D | decoder.h | 22 void *ossl_decoder_from_algorithm(int id, const OSSL_ALGORITHM *algodef,
|
| /freebsd/crypto/openssl/include/internal/ |
| H A D | core.h | 43 void *(*construct)(const OSSL_ALGORITHM *algodef, OSSL_PROVIDER *prov,
|
| /freebsd/crypto/openssl/doc/internal/man3/ |
| H A D | ossl_method_construct.pod | 21 void *(*construct)(const OSSL_ALGORITHM *algodef, OSSL_PROVIDER *prov,
|