Home
last modified time | relevance | path

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

1234

/src/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()
443 int evp_keymgmt_util_copy(EVP_PKEY *to, EVP_PKEY *from, int selection) in evp_keymgmt_util_copy()
H A Dkeymgmt_meth.c385 void *evp_keymgmt_gen_init(const EVP_KEYMGMT *keymgmt, int selection, in evp_keymgmt_gen_init()
517 int evp_keymgmt_has(const EVP_KEYMGMT *keymgmt, void *keydata, int selection) in evp_keymgmt_has()
524 int selection, int checktype) in evp_keymgmt_validate()
534 int selection) in evp_keymgmt_match()
543 int selection, const OSSL_PARAM params[]) in evp_keymgmt_import()
551 int selection) in evp_keymgmt_import_types()
563 int selection, OSSL_CALLBACK *param_cb, void *cbarg) in evp_keymgmt_export()
571 int selection) in evp_keymgmt_export_types()
583 int selection) in evp_keymgmt_dup()
H A Dpmeth_gn.c360 int EVP_PKEY_fromdata(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey, int selection, in EVP_PKEY_fromdata()
394 const OSSL_PARAM *EVP_PKEY_fromdata_settable(EVP_PKEY_CTX *ctx, int selection) in EVP_PKEY_fromdata_settable()
412 int EVP_PKEY_todata(const EVP_PKEY *pkey, int selection, OSSL_PARAM **params) in EVP_PKEY_todata()
435 int EVP_PKEY_export(const EVP_PKEY *pkey, int selection, in EVP_PKEY_export()
/src/crypto/openssl/providers/implementations/encode_decode/
H A Dencode_key2text.c116 static int dsa_to_text(BIO *out, const void *key, int selection) in dsa_to_text()
313 static int ec_to_text(BIO *out, const void *key, int selection) in ec_to_text()
387 static int ecx_to_text(BIO *out, const void *key, int selection) in ecx_to_text()
443 static int ml_kem_to_text(BIO *out, const void *vkey, int selection) in ml_kem_to_text()
452 static int slh_dsa_to_text(BIO *out, const void *key, int selection) in slh_dsa_to_text()
458 static int rsa_to_text(BIO *out, const void *key, int selection) in rsa_to_text()
618 static int ml_dsa_to_text(BIO *out, const void *key, int selection) in ml_dsa_to_text()
634 static int key2text_encode(void *vctx, const void *key, int selection, in key2text_encode()
637 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()
93 static int msblob2key_decode(void *vctx, OSSL_CORE_BIO *cin, int selection, in msblob2key_decode()
218 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()
216 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()
/src/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()
221 static int slh_dsa_export(void *keydata, int selection, OSSL_CALLBACK *param_cb, in slh_dsa_export()
267 static void *slh_dsa_gen_init(void *provctx, int selection, in slh_dsa_gen_init()
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()
199 static int rsa_export(void *keydata, int selection, in rsa_export()
307 static const OSSL_PARAM *rsa_imexport_types(int selection) in rsa_imexport_types()
314 static const OSSL_PARAM *rsa_import_types(int selection) in rsa_import_types()
319 static const OSSL_PARAM *rsa_export_types(int selection) in rsa_export_types()
386 static int rsa_validate(const void *keydata, int selection, int checktype) in rsa_validate()
444 static void *gen_init(void *provctx, int selection, int rsa_type, in gen_init()
480 static void *rsa_gen_init(void *provctx, int selection, in rsa_gen_init()
[all …]
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()
214 static int template_import(void *key, int selection, const OSSL_PARAM params[]) in template_import()
242 static const OSSL_PARAM *template_imexport_types(int selection) in template_imexport_types()
332 static void *template_gen_init(void *provctx, int selection, in template_gen_init()
396 static void *template_dup(const void *vsrckey, int selection) in template_dup()
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()
222 static int mac_import(void *keydata, int selection, const OSSL_PARAM params[]) in mac_import()
264 static int mac_export(void *keydata, int selection, OSSL_CALLBACK *param_cb, in mac_export()
302 static const OSSL_PARAM *mac_imexport_types(int selection) in mac_imexport_types()
316 static const OSSL_PARAM *cmac_imexport_types(int selection) in cmac_imexport_types()
372 static void *mac_gen_init_common(void *provctx, int selection) in mac_gen_init_common()
387 static void *mac_gen_init(void *provctx, int selection, in mac_gen_init()
399 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()
245 static int ecx_export(void *keydata, int selection, OSSL_CALLBACK *param_cb, in ecx_export()
289 static const OSSL_PARAM *ecx_imexport_types(int selection) in ecx_imexport_types()
500 static void *ecx_gen_init(void *provctx, int selection, in ecx_gen_init()
532 static void *x25519_gen_init(void *provctx, int selection, in x25519_gen_init()
538 static void *x448_gen_init(void *provctx, int selection, in x448_gen_init()
544 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()
216 static int dh_export(void *keydata, int selection, OSSL_CALLBACK *param_cb, in dh_export()
294 static const OSSL_PARAM *dh_imexport_types(int selection) in dh_imexport_types()
305 static const OSSL_PARAM *dh_import_types(int selection) in dh_import_types()
310 static const OSSL_PARAM *dh_export_types(int selection) in dh_export_types()
412 static int dh_validate(const void *keydata, int selection, int checktype) in dh_validate()
447 static void *dh_gen_init_base(void *provctx, int selection, in dh_gen_init_base()
[all …]
H A Dml_dsa_kmgmt.c142 static void *ml_dsa_dup_key(const void *keydata_from, int selection) in ml_dsa_dup_key()
149 static int ml_dsa_has(const void *keydata, int selection) in ml_dsa_has()
161 static int ml_dsa_match(const void *keydata1, const void *keydata2, int selection) in ml_dsa_match()
173 static int ml_dsa_validate(const void *key_data, int selection, int check_type) in ml_dsa_validate()
269 static int ml_dsa_import(void *keydata, int selection, const OSSL_PARAM params[]) in ml_dsa_import()
304 static const OSSL_PARAM *ml_dsa_imexport_types(int selection) in ml_dsa_imexport_types()
369 static int ml_dsa_export(void *keydata, int selection, in ml_dsa_export()
449 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()
217 static int dsa_export(void *keydata, int selection, OSSL_CALLBACK *param_cb, in dsa_export()
292 static const OSSL_PARAM *dsa_imexport_types(int selection) in dsa_imexport_types()
303 static const OSSL_PARAM *dsa_import_types(int selection) in dsa_import_types()
308 static const OSSL_PARAM *dsa_export_types(int selection) in dsa_export_types()
379 static int dsa_validate(const void *keydata, int selection, int checktype) in dsa_validate()
406 static void *dsa_gen_init(void *provctx, int selection, in dsa_gen_init()
[all …]
H A Dmlx_kmgmt.c58 int selection; member
100 static int mlx_kem_has(const void *vkey, int selection) in mlx_kem_has()
118 static int mlx_kem_match(const void *vkey1, const void *vkey2, int selection) in mlx_kem_match()
206 export_sub(EXPORT_CB_ARG *sub_arg, int selection, MLX_KEY *key) in export_sub()
243 static int mlx_kem_export(void *vkey, int selection, OSSL_CALLBACK *param_cb, in mlx_kem_export()
319 static const OSSL_PARAM *mlx_kem_imexport_types(int selection) in mlx_kem_imexport_types()
334 int selection, MLX_KEY *key, int slot, const uint8_t *in, in load_slot()
457 static int mlx_kem_import(void *vkey, int selection, const OSSL_PARAM params[]) in mlx_kem_import()
494 int selection; in mlx_kem_get_params() local
649 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()
463 static int ml_kem_import(void *vkey, int selection, const OSSL_PARAM params[]) in ml_kem_import()
717 static void *ml_kem_gen_init(void *provctx, int selection, in ml_kem_gen_init()
807 static void *ml_kem_dup(const void *vkey, int selection) in ml_kem_dup()
H A Dec_kmgmt.c300 static int ec_has(const void *keydata, int selection) in ec_has()
324 static int ec_match(const void *keydata1, const void *keydata2, int selection) in ec_match()
385 static int common_import(void *keydata, int selection, const OSSL_PARAM params[], in common_import()
426 static int ec_import(void *keydata, int selection, const OSSL_PARAM params[]) in ec_import()
433 static int sm2_import(void *keydata, int selection, const OSSL_PARAM params[]) in sm2_import()
440 static int ec_export(void *keydata, int selection, OSSL_CALLBACK *param_cb, in ec_export()
543 static ossl_inline const OSSL_PARAM *ec_imexport_types(int selection) in ec_imexport_types()
558 static const OSSL_PARAM *ec_import_types(int selection) in ec_import_types()
563 static const OSSL_PARAM *ec_export_types(int selection) in ec_export_types()
871 static int sm2_validate(const void *keydata, int selection, int checktype) in sm2_validate()
[all …]
/src/crypto/openssl/test/
H A Dendecoder_legacy_test.c306 EVP_PKEY *provided_pkey, int selection, in test_protected_PEM()
372 EVP_PKEY *provided_pkey, int selection, in test_unprotected_PEM()
435 EVP_PKEY *provided_pkey, int selection, in test_DER()
527 int selection = OSSL_KEYMGMT_SELECT_ALL; in test_key() local
545 int selection = OSSL_KEYMGMT_SELECT_PUBLIC_KEY in test_key() local
564 int selection = OSSL_KEYMGMT_SELECT_ALL_PARAMETERS; in test_key() local
583 int selection = OSSL_KEYMGMT_SELECT_PUBLIC_KEY in test_key() local
599 int selection = OSSL_KEYMGMT_SELECT_ALL; in test_key() local
617 int selection = OSSL_KEYMGMT_SELECT_PUBLIC_KEY in test_key() local
636 int selection = OSSL_KEYMGMT_SELECT_ALL_PARAMETERS; in test_key() local
[all …]
/src/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()
/src/crypto/openssl/demos/encode/
H A Dec_encode.c34 int selection = 0; in load_key() local
105 int selection; in store_key() local
H A Drsa_encode.c34 int selection = 0; in load_key() local
105 int selection; in store_key() local
/src/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()
221 int ossl_slh_dsa_key_has(const SLH_DSA_KEY *key, int selection) in ossl_slh_dsa_key_has()
481 int ossl_slh_dsa_key_to_text(BIO *out, const SLH_DSA_KEY *key, int selection) in ossl_slh_dsa_key_to_text()
/src/crypto/openssl/crypto/encode_decode/
H A Dencoder_pkey.c157 int selection; member
188 int selection = data->selection; in encoder_construct_pkey() local
229 int selection, in ossl_encoder_ctx_setup_for_pkey()
343 int selection, in OSSL_ENCODER_CTX_new_for_pkey()

1234