Home
last modified time | relevance | path

Searched defs:selection (Results 1 – 25 of 85) sorted by relevance

1234

/freebsd/crypto/openssl/crypto/evp/
H A Dkeymgmt_lib.c87 int evp_keymgmt_util_export(const EVP_PKEY *pk, int selection, in evp_keymgmt_util_export()
97 int selection) in evp_keymgmt_util_export_to_provider()
234 int selection) in evp_keymgmt_util_find_operation_cache()
257 void *keydata, int selection) in evp_keymgmt_util_cache_keydata()
316 int selection, const OSSL_PARAM params[]) in evp_keymgmt_util_fromdata()
329 int evp_keymgmt_util_has(EVP_PKEY *pk, int selection) in evp_keymgmt_util_has()
351 int evp_keymgmt_util_match(EVP_PKEY *pk1, EVP_PKEY *pk2, int selection) in evp_keymgmt_util_match()
445 int evp_keymgmt_util_copy(EVP_PKEY *to, EVP_PKEY *from, int selection) in evp_keymgmt_util_copy()
H A Dkeymgmt_meth.c393 void *evp_keymgmt_gen_init(const EVP_KEYMGMT *keymgmt, int selection, in evp_keymgmt_gen_init()
525 int evp_keymgmt_has(const EVP_KEYMGMT *keymgmt, void *keydata, int selection) in evp_keymgmt_has()
532 int selection, int checktype) in evp_keymgmt_validate()
542 int selection) in evp_keymgmt_match()
551 int selection, const OSSL_PARAM params[]) in evp_keymgmt_import()
559 int selection) in evp_keymgmt_import_types()
571 int selection, OSSL_CALLBACK *param_cb, void *cbarg) in evp_keymgmt_export()
579 int selection) in evp_keymgmt_export_types()
591 int selection) in evp_keymgmt_dup()
H A Dpmeth_gn.c363 int EVP_PKEY_fromdata(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey, int selection, in EVP_PKEY_fromdata()
397 const OSSL_PARAM *EVP_PKEY_fromdata_settable(EVP_PKEY_CTX *ctx, int selection) in EVP_PKEY_fromdata_settable()
415 int EVP_PKEY_todata(const EVP_PKEY *pkey, int selection, OSSL_PARAM **params) in EVP_PKEY_todata()
438 int EVP_PKEY_export(const EVP_PKEY *pkey, int selection, in EVP_PKEY_export()
/freebsd/crypto/openssl/providers/implementations/encode_decode/
H A Dencode_key2text.c115 static int dsa_to_text(BIO *out, const void *key, int selection) in dsa_to_text()
312 static int ec_to_text(BIO *out, const void *key, int selection) in ec_to_text()
385 static int ecx_to_text(BIO *out, const void *key, int selection) in ecx_to_text()
441 static int ml_kem_to_text(BIO *out, const void *vkey, int selection) in ml_kem_to_text()
450 static int slh_dsa_to_text(BIO *out, const void *key, int selection) in slh_dsa_to_text()
456 static int rsa_to_text(BIO *out, const void *key, int selection) in rsa_to_text()
611 static int ml_dsa_to_text(BIO *out, const void *key, int selection) in ml_dsa_to_text()
627 static int key2text_encode(void *vctx, const void *key, int selection, in key2text_encode()
630 int selection), in key2text_encode()
H A Ddecode_msblob2key.c60 int selection; member
82 static int msblob2key_does_selection(void *provctx, int selection) in msblob2key_does_selection()
94 static int msblob2key_decode(void *vctx, OSSL_CORE_BIO *cin, int selection, in msblob2key_decode()
224 int selection = ctx->selection; in msblob2key_export_object() local
H A Ddecode_pvk2key.c64 int selection; member
108 static int pvk2key_does_selection(void *provctx, int selection) in pvk2key_does_selection()
119 static int pvk2key_decode(void *vctx, OSSL_CORE_BIO *cin, int selection, in pvk2key_decode()
220 int selection = ctx->selection; in pvk2key_export_object() local
H A Dencode_key2blob.c55 static int key2blob_check_selection(int selection, int selection_mask) in key2blob_check_selection()
88 static int key2blob_encode(void *vctx, const void *key, int selection, in key2blob_encode()
/freebsd/crypto/openssl/providers/implementations/keymgmt/
H A Dslh_dsa_kmgmt.c67 static void *slh_dsa_dup_key(const void *keydata_from, int selection) in slh_dsa_dup_key()
74 static int slh_dsa_has(const void *keydata, int selection) in slh_dsa_has()
86 static int slh_dsa_match(const void *keydata1, const void *keydata2, int selection) in slh_dsa_match()
98 static int slh_dsa_validate(const void *key_data, int selection, int check_type) in slh_dsa_validate()
110 static int slh_dsa_import(void *keydata, int selection, const OSSL_PARAM params[]) in slh_dsa_import()
133 static const OSSL_PARAM *slh_dsa_imexport_types(int selection) in slh_dsa_imexport_types()
154 int selection) in key_to_params()
220 static int slh_dsa_export(void *keydata, int selection, OSSL_CALLBACK *param_cb, in slh_dsa_export()
266 static void *slh_dsa_gen_init(void *provctx, int selection, in slh_dsa_gen_init()
H A Dtemplate_kmgmt.c68 int selection; member
96 static int template_has(const void *keydata, int selection) in template_has()
108 static int template_match(const void *keydata1, const void *keydata2, int selection) in template_match()
146 static int template_export(void *key, int selection, OSSL_CALLBACK *param_cb, in template_export()
215 static int template_import(void *key, int selection, const OSSL_PARAM params[]) in template_import()
243 static const OSSL_PARAM *template_imexport_types(int selection) in template_imexport_types()
333 static void *template_gen_init(void *provctx, int selection, in template_gen_init()
397 static void *template_dup(const void *vsrckey, int selection) in template_dup()
H A Drsa_kmgmt.c115 static int rsa_has(const void *keydata, int selection) in rsa_has()
135 static int rsa_match(const void *keydata1, const void *keydata2, int selection) in rsa_match()
173 static int rsa_import(void *keydata, int selection, const OSSL_PARAM params[]) in rsa_import()
203 static int rsa_export(void *keydata, int selection, in rsa_export()
313 static const OSSL_PARAM *rsa_imexport_types(int selection) in rsa_imexport_types()
320 static const OSSL_PARAM *rsa_import_types(int selection) in rsa_import_types()
325 static const OSSL_PARAM *rsa_export_types(int selection) in rsa_export_types()
392 static int rsa_validate(const void *keydata, int selection, int checktype) in rsa_validate()
450 static void *gen_init(void *provctx, int selection, int rsa_type, in gen_init()
486 static void *rsa_gen_init(void *provctx, int selection, in rsa_gen_init()
[all …]
H A Dmac_legacy_kmgmt.c58 int selection; member
136 static int mac_has(const void *keydata, int selection) in mac_has()
155 static int mac_match(const void *keydata1, const void *keydata2, int selection) in mac_match()
225 static int mac_import(void *keydata, int selection, const OSSL_PARAM params[]) in mac_import()
267 static int mac_export(void *keydata, int selection, OSSL_CALLBACK *param_cb, in mac_export()
305 static const OSSL_PARAM *mac_imexport_types(int selection) in mac_imexport_types()
319 static const OSSL_PARAM *cmac_imexport_types(int selection) in cmac_imexport_types()
375 static void *mac_gen_init_common(void *provctx, int selection) in mac_gen_init_common()
390 static void *mac_gen_init(void *provctx, int selection, in mac_gen_init()
402 static void *cmac_gen_init(void *provctx, int selection, in cmac_gen_init()
H A Decx_kmgmt.c84 int selection; member
137 static int ecx_has(const void *keydata, int selection) in ecx_has()
158 static int ecx_match(const void *keydata1, const void *keydata2, int selection) in ecx_match()
206 static int ecx_import(void *keydata, int selection, const OSSL_PARAM params[]) in ecx_import()
253 static int ecx_export(void *keydata, int selection, OSSL_CALLBACK *param_cb, in ecx_export()
297 static const OSSL_PARAM *ecx_imexport_types(int selection) in ecx_imexport_types()
507 static void *ecx_gen_init(void *provctx, int selection, in ecx_gen_init()
539 static void *x25519_gen_init(void *provctx, int selection, in x25519_gen_init()
545 static void *x448_gen_init(void *provctx, int selection, in x448_gen_init()
551 static void *ed25519_gen_init(void *provctx, int selection, in ed25519_gen_init()
[all …]
H A Ddh_kmgmt.c60 int selection; member
132 static int dh_has(const void *keydata, int selection) in dh_has()
151 static int dh_match(const void *keydata1, const void *keydata2, int selection) in dh_match()
193 static int dh_import(void *keydata, int selection, const OSSL_PARAM params[]) in dh_import()
217 static int dh_export(void *keydata, int selection, OSSL_CALLBACK *param_cb, in dh_export()
296 static const OSSL_PARAM *dh_imexport_types(int selection) in dh_imexport_types()
307 static const OSSL_PARAM *dh_import_types(int selection) in dh_import_types()
312 static const OSSL_PARAM *dh_export_types(int selection) in dh_export_types()
414 static int dh_validate(const void *keydata, int selection, int checktype) in dh_validate()
449 static void *dh_gen_init_base(void *provctx, int selection, in dh_gen_init_base()
[all …]
H A Dml_dsa_kmgmt.c140 static void *ml_dsa_dup_key(const void *keydata_from, int selection) in ml_dsa_dup_key()
147 static int ml_dsa_has(const void *keydata, int selection) in ml_dsa_has()
159 static int ml_dsa_match(const void *keydata1, const void *keydata2, int selection) in ml_dsa_match()
171 static int ml_dsa_validate(const void *key_data, int selection, int check_type) in ml_dsa_validate()
267 static int ml_dsa_import(void *keydata, int selection, const OSSL_PARAM params[]) in ml_dsa_import()
302 static const OSSL_PARAM *ml_dsa_imexport_types(int selection) in ml_dsa_imexport_types()
367 static int ml_dsa_export(void *keydata, int selection, in ml_dsa_export()
451 static void *ml_dsa_gen_init(void *provctx, int selection, in ml_dsa_gen_init()
H A Ddsa_kmgmt.c59 int selection; member
133 static int dsa_has(const void *keydata, int selection) in dsa_has()
152 static int dsa_match(const void *keydata1, const void *keydata2, int selection) in dsa_match()
194 static int dsa_import(void *keydata, int selection, const OSSL_PARAM params[]) in dsa_import()
218 static int dsa_export(void *keydata, int selection, OSSL_CALLBACK *param_cb, in dsa_export()
294 static const OSSL_PARAM *dsa_imexport_types(int selection) in dsa_imexport_types()
305 static const OSSL_PARAM *dsa_import_types(int selection) in dsa_import_types()
310 static const OSSL_PARAM *dsa_export_types(int selection) in dsa_export_types()
381 static int dsa_validate(const void *keydata, int selection, int checktype) in dsa_validate()
408 static void *dsa_gen_init(void *provctx, int selection, in dsa_gen_init()
[all …]
H A Dmlx_kmgmt.c58 int selection; member
101 static int mlx_kem_has(const void *vkey, int selection) in mlx_kem_has()
119 static int mlx_kem_match(const void *vkey1, const void *vkey2, int selection) in mlx_kem_match()
207 export_sub(EXPORT_CB_ARG *sub_arg, int selection, MLX_KEY *key) in export_sub()
244 static int mlx_kem_export(void *vkey, int selection, OSSL_CALLBACK *param_cb, in mlx_kem_export()
320 static const OSSL_PARAM *mlx_kem_imexport_types(int selection) in mlx_kem_imexport_types()
335 int selection, MLX_KEY *key, int slot, const uint8_t *in, in load_slot()
460 static int mlx_kem_import(void *vkey, int selection, const OSSL_PARAM params[]) in mlx_kem_import()
497 int selection; in mlx_kem_get_params() local
652 int selection, const OSSL_PARAM params[]) in mlx_kem_gen_init()
[all …]
H A Dml_kem_kmgmt.c60 int selection; member
189 static int ml_kem_has(const void *vkey, int selection) in ml_kem_has()
207 static int ml_kem_match(const void *vkey1, const void *vkey2, int selection) in ml_kem_match()
222 static int ml_kem_validate(const void *vkey, int selection, int check_type) in ml_kem_validate()
234 static int ml_kem_export(void *vkey, int selection, OSSL_CALLBACK *param_cb, in ml_kem_export()
328 static const OSSL_PARAM *ml_kem_imexport_types(int selection) in ml_kem_imexport_types()
461 static int ml_kem_import(void *vkey, int selection, const OSSL_PARAM params[]) in ml_kem_import()
715 static void *ml_kem_gen_init(void *provctx, int selection, in ml_kem_gen_init()
806 static void *ml_kem_dup(const void *vkey, int selection) in ml_kem_dup()
H A Dec_kmgmt.c309 int ec_has(const void *keydata, int selection) in ec_has()
333 static int ec_match(const void *keydata1, const void *keydata2, int selection) in ec_match()
395 int common_import(void *keydata, int selection, const OSSL_PARAM params[], in common_import()
438 int ec_import(void *keydata, int selection, const OSSL_PARAM params[]) in ec_import()
446 int sm2_import(void *keydata, int selection, const OSSL_PARAM params[]) in sm2_import()
454 int ec_export(void *keydata, int selection, OSSL_CALLBACK *param_cb, in ec_export()
562 const OSSL_PARAM *ec_imexport_types(int selection) in ec_imexport_types()
578 const OSSL_PARAM *ec_import_types(int selection) in ec_import_types()
584 const OSSL_PARAM *ec_export_types(int selection) in ec_export_types()
901 int sm2_validate(const void *keydata, int selection, int checktype) in sm2_validate()
[all …]
/freebsd/crypto/openssl/test/
H A Dendecoder_legacy_test.c304 EVP_PKEY *provided_pkey, int selection, in test_protected_PEM()
372 EVP_PKEY *provided_pkey, int selection, in test_unprotected_PEM()
437 EVP_PKEY *provided_pkey, int selection, in test_DER()
530 int selection = OSSL_KEYMGMT_SELECT_ALL; in test_key() local
548 int selection = in test_key() local
568 int selection = OSSL_KEYMGMT_SELECT_ALL_PARAMETERS; in test_key() local
587 int selection = in test_key() local
605 int selection = OSSL_KEYMGMT_SELECT_ALL; in test_key() local
623 int selection = in test_key() local
643 int selection = OSSL_KEYMGMT_SELECT_ALL_PARAMETERS; in test_key() local
[all …]
/freebsd/crypto/openssl/providers/implementations/skeymgmt/
H A Daes_skmgmt.c19 static void *aes_import(void *provctx, int selection, in aes_import()
36 static int aes_export(void *keydata, int selection, in aes_export()
H A Dgeneric.c30 void *generic_import(void *provctx, int selection, const OSSL_PARAM params[]) in generic_import()
68 int generic_export(void *keydata, int selection, in generic_export()
/freebsd/crypto/openssl/demos/encode/
H A Drsa_encode.c34 int selection = 0; in load_key() local
104 int selection; in store_key() local
H A Dec_encode.c34 int selection = 0; in load_key() local
104 int selection; in store_key() local
/freebsd/crypto/openssl/crypto/slh_dsa/
H A Dslh_dsa_key.c146 SLH_DSA_KEY *ossl_slh_dsa_key_dup(const SLH_DSA_KEY *src, int selection) in ossl_slh_dsa_key_dup()
190 int selection) in ossl_slh_dsa_key_equal()
220 int ossl_slh_dsa_key_has(const SLH_DSA_KEY *key, int selection) in ossl_slh_dsa_key_has()
480 int ossl_slh_dsa_key_to_text(BIO *out, const SLH_DSA_KEY *key, int selection) in ossl_slh_dsa_key_to_text()
/freebsd/crypto/openssl/crypto/encode_decode/
H A Dencoder_pkey.c159 int selection; member
192 int selection = data->selection; in encoder_construct_pkey() local
234 int selection, in ossl_encoder_ctx_setup_for_pkey()
348 int selection, in OSSL_ENCODER_CTX_new_for_pkey()

1234