| /src/crypto/openssl/providers/implementations/encode_decode/ |
| H A D | encode_key2text.c | 42 static int dh_to_text(BIO *out, const void *key, int selection) in DEFINE_SPECIAL_STACK_OF_CONST() 56 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in DEFINE_SPECIAL_STACK_OF_CONST() 58 else if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in DEFINE_SPECIAL_STACK_OF_CONST() 60 else if ((selection & OSSL_KEYMGMT_SELECT_DOMAIN_PARAMETERS) != 0) in DEFINE_SPECIAL_STACK_OF_CONST() 63 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in DEFINE_SPECIAL_STACK_OF_CONST() 70 if ((selection & OSSL_KEYMGMT_SELECT_KEYPAIR) != 0) { in DEFINE_SPECIAL_STACK_OF_CONST() 77 if ((selection & OSSL_KEYMGMT_SELECT_DOMAIN_PARAMETERS) != 0) { in DEFINE_SPECIAL_STACK_OF_CONST() 116 static int dsa_to_text(BIO *out, const void *key, int selection) in dsa_to_text() argument 129 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in dsa_to_text() 131 else if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in dsa_to_text() [all …]
|
| H A D | decode_msblob2key.c | 60 int selection; member 82 static int msblob2key_does_selection(void *provctx, int selection) in msblob2key_does_selection() argument 84 if (selection == 0) in msblob2key_does_selection() 87 if ((selection & (OSSL_KEYMGMT_SELECT_PRIVATE_KEY | OSSL_KEYMGMT_SELECT_PUBLIC_KEY)) != 0) in msblob2key_does_selection() 93 static int msblob2key_decode(void *vctx, OSSL_CORE_BIO *cin, int selection, in msblob2key_decode() argument 121 ctx->selection = selection; in msblob2key_decode() 142 if ((selection == 0 in msblob2key_decode() 143 || (selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in msblob2key_decode() 153 if (selection != 0 && key == NULL) in msblob2key_decode() 156 if (key == NULL && (selection == 0 || (selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in msblob2key_decode() [all …]
|
| H A D | decode_pvk2key.c | 64 int selection; member 108 static int pvk2key_does_selection(void *provctx, int selection) in pvk2key_does_selection() argument 110 if (selection == 0) in pvk2key_does_selection() 113 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in pvk2key_does_selection() 119 static int pvk2key_decode(void *vctx, OSSL_CORE_BIO *cin, int selection, in pvk2key_decode() argument 131 ctx->selection = selection; in pvk2key_decode() 133 if ((selection == 0 in pvk2key_decode() 134 || (selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in pvk2key_decode() 163 if (selection != 0 && key == NULL) in pvk2key_decode() 216 int selection = ctx->selection; in pvk2key_export_object() local [all …]
|
| H A D | encode_key2blob.c | 55 static int key2blob_check_selection(int selection, int selection_mask) in key2blob_check_selection() argument 69 if (selection == 0) in key2blob_check_selection() 73 int check1 = (selection & checks[i]) != 0; in key2blob_check_selection() 88 static int key2blob_encode(void *vctx, const void *key, int selection, in key2blob_encode() argument 129 static void *impl##2blob_import_object(void *ctx, int selection, \ 133 ctx, selection, params); \ 139 static int impl##2blob_does_selection(void *ctx, int selection) \ 141 return key2blob_check_selection(selection, \ 147 int selection, \ 156 return key2blob_encode(vctx, key, selection, cout); \
|
| H A D | encode_key2ms.c | 112 static int key2ms_does_selection(void *vctx, int selection) in key2ms_does_selection() argument 114 return (selection & OSSL_KEYMGMT_SELECT_KEYPAIR) != 0; in key2ms_does_selection() 128 static int key2msblob_encode(void *vctx, const void *key, int selection, in key2msblob_encode() argument 137 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in key2msblob_encode() 139 else if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in key2msblob_encode() 150 static int key2pvk_encode(void *vctx, const void *key, int selection, in key2pvk_encode() argument 158 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) == 0) in key2pvk_encode() 186 impl##2##output##_import_object(void *ctx, int selection, \ 190 ctx, selection, params); \ 199 int selection, \ [all …]
|
| /src/crypto/openssl/providers/implementations/keymgmt/ |
| H A D | dsa_kmgmt.c | 59 int selection; member 133 static int dsa_has(const void *keydata, int selection) in dsa_has() argument 140 if ((selection & DSA_POSSIBLE_SELECTIONS) == 0) in dsa_has() 143 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in dsa_has() 145 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in dsa_has() 147 if ((selection & OSSL_KEYMGMT_SELECT_DOMAIN_PARAMETERS) != 0) in dsa_has() 152 static int dsa_match(const void *keydata1, const void *keydata2, int selection) in dsa_match() argument 161 if ((selection & OSSL_KEYMGMT_SELECT_KEYPAIR) != 0) { in dsa_match() 164 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in dsa_match() 174 && (selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in dsa_match() [all …]
|
| H A D | rsa_kmgmt.c | 115 static int rsa_has(const void *keydata, int selection) in rsa_has() argument 122 if ((selection & RSA_POSSIBLE_SELECTIONS) == 0) in rsa_has() 126 if ((selection & OSSL_KEYMGMT_SELECT_KEYPAIR) != 0) in rsa_has() 128 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in rsa_has() 130 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in rsa_has() 135 static int rsa_match(const void *keydata1, const void *keydata2, int selection) in rsa_match() argument 146 if ((selection & OSSL_KEYMGMT_SELECT_KEYPAIR) != 0) { in rsa_match() 149 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in rsa_match() 159 && (selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in rsa_match() 173 static int rsa_import(void *keydata, int selection, const OSSL_PARAM params[]) in rsa_import() argument [all …]
|
| H A D | template_kmgmt.c | 68 int selection; member 96 static int template_has(const void *keydata, int selection) in template_has() argument 108 static int template_match(const void *keydata1, const void *keydata2, int selection) in template_match() argument 116 if ((selection & OSSL_KEYMGMT_SELECT_DOMAIN_PARAMETERS) != 0) in template_match() 119 if ((selection & OSSL_KEYMGMT_SELECT_KEYPAIR) != 0) { in template_match() 122 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in template_match() 126 && (selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in template_match() 146 static int template_export(void *key, int selection, OSSL_CALLBACK *param_cb, in template_export() argument 157 if ((selection & OSSL_KEYMGMT_SELECT_KEYPAIR) == 0) in template_export() 164 if ((selection & OSSL_KEYMGMT_SELECT_KEYPAIR) != 0) { in template_export() [all …]
|
| H A D | dh_kmgmt.c | 60 int selection; member 132 static int dh_has(const void *keydata, int selection) in dh_has() argument 139 if ((selection & DH_POSSIBLE_SELECTIONS) == 0) in dh_has() 142 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in dh_has() 144 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in dh_has() 146 if ((selection & OSSL_KEYMGMT_SELECT_DOMAIN_PARAMETERS) != 0) in dh_has() 151 static int dh_match(const void *keydata1, const void *keydata2, int selection) in dh_match() argument 160 if ((selection & OSSL_KEYMGMT_SELECT_KEYPAIR) != 0) { in dh_match() 163 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in dh_match() 173 && (selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in dh_match() [all …]
|
| H A D | ec_kmgmt.c | 300 static int ec_has(const void *keydata, int selection) in ec_has() argument 307 if ((selection & EC_POSSIBLE_SELECTIONS) == 0) in ec_has() 310 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in ec_has() 312 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in ec_has() 314 if ((selection & OSSL_KEYMGMT_SELECT_DOMAIN_PARAMETERS) != 0) in ec_has() 324 static int ec_match(const void *keydata1, const void *keydata2, int selection) in ec_match() argument 340 if ((selection & OSSL_KEYMGMT_SELECT_DOMAIN_PARAMETERS) != 0) in ec_match() 343 if ((selection & OSSL_KEYMGMT_SELECT_KEYPAIR) != 0) { in ec_match() 346 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in ec_match() 356 && (selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in ec_match() [all …]
|
| H A D | ecx_kmgmt.c | 84 int selection; member 137 static int ecx_has(const void *keydata, int selection) in ecx_has() argument 149 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in ecx_has() 152 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in ecx_has() 158 static int ecx_match(const void *keydata1, const void *keydata2, int selection) in ecx_match() argument 167 if ((selection & OSSL_KEYMGMT_SELECT_DOMAIN_PARAMETERS) != 0) in ecx_match() 169 if ((selection & OSSL_KEYMGMT_SELECT_KEYPAIR) != 0) { in ecx_match() 172 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in ecx_match() 187 && (selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in ecx_match() 206 static int ecx_import(void *keydata, int selection, const OSSL_PARAM params[]) in ecx_import() argument [all …]
|
| H A D | slh_dsa_kmgmt.c | 67 static void *slh_dsa_dup_key(const void *keydata_from, int selection) in slh_dsa_dup_key() argument 70 return ossl_slh_dsa_key_dup(keydata_from, selection); in slh_dsa_dup_key() 74 static int slh_dsa_has(const void *keydata, int selection) in slh_dsa_has() argument 80 if ((selection & SLH_DSA_POSSIBLE_SELECTIONS) == 0) in slh_dsa_has() 83 return ossl_slh_dsa_key_has(key, selection); in slh_dsa_has() 86 static int slh_dsa_match(const void *keydata1, const void *keydata2, int selection) in slh_dsa_match() argument 95 return ossl_slh_dsa_key_equal(key1, key2, selection); in slh_dsa_match() 98 static int slh_dsa_validate(const void *key_data, int selection, int check_type) in slh_dsa_validate() argument 102 if (!slh_dsa_has(key, selection)) in slh_dsa_validate() 105 if ((selection & OSSL_KEYMGMT_SELECT_KEYPAIR) == OSSL_KEYMGMT_SELECT_KEYPAIR) in slh_dsa_validate() [all …]
|
| H A D | mlx_kmgmt.c | 58 int selection; member 100 static int mlx_kem_has(const void *vkey, int selection) in mlx_kem_has() argument 108 switch (selection & OSSL_KEYMGMT_SELECT_KEYPAIR) { in mlx_kem_has() 118 static int mlx_kem_match(const void *vkey1, const void *vkey2, int selection) in mlx_kem_match() argument 132 if (!(selection & OSSL_KEYMGMT_SELECT_KEYPAIR)) in mlx_kem_match() 206 export_sub(EXPORT_CB_ARG *sub_arg, int selection, MLX_KEY *key) in export_sub() argument 237 if (!EVP_PKEY_export(pkey, selection, export_sub_cb, (void *)sub_arg)) in export_sub() 243 static int mlx_kem_export(void *vkey, int selection, OSSL_CALLBACK *param_cb, in mlx_kem_export() argument 257 if ((selection & OSSL_KEYMGMT_SELECT_KEYPAIR) == 0) in mlx_kem_export() 269 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in mlx_kem_export() [all …]
|
| H A D | mac_legacy_kmgmt.c | 58 int selection; member 136 static int mac_has(const void *keydata, int selection) in mac_has() argument 149 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in mac_has() 155 static int mac_match(const void *keydata1, const void *keydata2, int selection) in mac_match() argument 164 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in mac_match() 222 static int mac_import(void *keydata, int selection, const OSSL_PARAM params[]) in mac_import() argument 229 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) == 0) in mac_import() 264 static int mac_export(void *keydata, int selection, OSSL_CALLBACK *param_cb, in mac_export() argument 275 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) == 0) in mac_export() 282 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0 in mac_export() [all …]
|
| H A D | ml_dsa_kmgmt.c | 142 static void *ml_dsa_dup_key(const void *keydata_from, int selection) in ml_dsa_dup_key() argument 145 return ossl_ml_dsa_key_dup(keydata_from, selection); in ml_dsa_dup_key() 149 static int ml_dsa_has(const void *keydata, int selection) in ml_dsa_has() argument 155 if ((selection & OSSL_KEYMGMT_SELECT_KEYPAIR) == 0) in ml_dsa_has() 158 return ossl_ml_dsa_key_has(key, selection); in ml_dsa_has() 161 static int ml_dsa_match(const void *keydata1, const void *keydata2, int selection) in ml_dsa_match() argument 170 return ossl_ml_dsa_key_equal(key1, key2, selection); in ml_dsa_match() 173 static int ml_dsa_validate(const void *key_data, int selection, int check_type) in ml_dsa_validate() argument 177 if (!ml_dsa_has(key, selection)) in ml_dsa_validate() 180 if ((selection & OSSL_KEYMGMT_SELECT_KEYPAIR) == OSSL_KEYMGMT_SELECT_KEYPAIR) in ml_dsa_validate() [all …]
|
| H A D | ml_kem_kmgmt.c | 60 int selection; member 189 static int ml_kem_has(const void *vkey, int selection) in ml_kem_has() argument 197 switch (selection & OSSL_KEYMGMT_SELECT_KEYPAIR) { in ml_kem_has() 207 static int ml_kem_match(const void *vkey1, const void *vkey2, int selection) in ml_kem_match() argument 216 if (!(selection & OSSL_KEYMGMT_SELECT_KEYPAIR)) in ml_kem_match() 222 static int ml_kem_validate(const void *vkey, int selection, int check_type) in ml_kem_validate() argument 226 if (!ml_kem_has(key, selection)) in ml_kem_validate() 229 if ((selection & OSSL_KEYMGMT_SELECT_KEYPAIR) == OSSL_KEYMGMT_SELECT_KEYPAIR) in ml_kem_validate() 234 static int ml_kem_export(void *vkey, int selection, OSSL_CALLBACK *param_cb, in ml_kem_export() argument 248 if ((selection & OSSL_KEYMGMT_SELECT_KEYPAIR) == 0) in ml_kem_export() [all …]
|
| /src/crypto/openssl/crypto/evp/ |
| H A D | keymgmt_lib.c | 50 if (evp_keymgmt_import(data->keymgmt, data->keydata, data->selection, in evp_keymgmt_util_try_import() 87 int evp_keymgmt_util_export(const EVP_PKEY *pk, int selection, in evp_keymgmt_util_export() argument 92 return evp_keymgmt_export(pk->keymgmt, pk->keydata, selection, in evp_keymgmt_util_export() 97 int selection) in evp_keymgmt_util_export_to_provider() argument 131 op = evp_keymgmt_util_find_operation_cache(pk, keymgmt, selection); in evp_keymgmt_util_export_to_provider() 161 import_data.selection = selection; in evp_keymgmt_util_export_to_provider() 167 if (!evp_keymgmt_util_export(pk, selection, in evp_keymgmt_util_export_to_provider() 177 op = evp_keymgmt_util_find_operation_cache(pk, keymgmt, selection); in evp_keymgmt_util_export_to_provider() 201 selection)) { in evp_keymgmt_util_export_to_provider() 234 int selection) in evp_keymgmt_util_find_operation_cache() argument [all …]
|
| H A D | keymgmt_meth.c | 385 void *evp_keymgmt_gen_init(const EVP_KEYMGMT *keymgmt, int selection, in evp_keymgmt_gen_init() argument 392 return keymgmt->gen_init(provctx, selection, params); in evp_keymgmt_gen_init() 517 int evp_keymgmt_has(const EVP_KEYMGMT *keymgmt, void *keydata, int selection) in evp_keymgmt_has() argument 520 return keymgmt->has(keydata, selection); in evp_keymgmt_has() 524 int selection, int checktype) in evp_keymgmt_validate() argument 529 return keymgmt->validate(keydata, selection, checktype); in evp_keymgmt_validate() 534 int selection) in evp_keymgmt_match() argument 539 return keymgmt->match(keydata1, keydata2, selection); in evp_keymgmt_match() 543 int selection, const OSSL_PARAM params[]) in evp_keymgmt_import() argument 547 return keymgmt->import(keydata, selection, params); in evp_keymgmt_import() [all …]
|
| /src/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
| H A D | HTMLLogger.js | 15 let selection = {}; variable 17 Object.assign(selection, changes); 20 data.selection = selection; 32 let changed = root.selection == null; 33 root.selection ||= {}; 34 for (key of root.dataset.selection.split(',')) { 36 if (data.selection[key] != root.selection[key]) { 37 root.selection[key] = data.selection[key]; 40 if (data.selection[key] == null) { 162 …iter: e => (selection.iter && selection.bb == e.dataset.bb) ? selection.iter : lastIter(e.dataset.…
|
| /src/crypto/openssl/test/ |
| H A D | endecoder_legacy_test.c | 306 EVP_PKEY *provided_pkey, int selection, in test_protected_PEM() argument 323 if (!TEST_ptr(ectx = OSSL_ENCODER_CTX_new_for_pkey(provided_pkey, selection, in test_protected_PEM() 338 keytype, selection, in test_protected_PEM() 372 EVP_PKEY *provided_pkey, int selection, in test_unprotected_PEM() argument 389 if (!TEST_ptr(ectx = OSSL_ENCODER_CTX_new_for_pkey(provided_pkey, selection, in test_unprotected_PEM() 403 keytype, selection, in test_unprotected_PEM() 435 EVP_PKEY *provided_pkey, int selection, in test_DER() argument 452 if (!TEST_ptr(ectx = OSSL_ENCODER_CTX_new_for_pkey(provided_pkey, selection, in test_DER() 468 keytype, selection, in test_DER() 527 int selection = OSSL_KEYMGMT_SELECT_ALL; in test_key() local [all …]
|
| H A D | fake_rsaprov.c | 51 int selection; member 81 static int fake_rsa_keymgmt_has(const void *key, int selection) in fake_rsa_keymgmt_has() argument 84 has_selection = selection; in fake_rsa_keymgmt_has() 97 static int fake_rsa_keymgmt_import(void *keydata, int selection, in fake_rsa_keymgmt_import() argument 174 static int fake_rsa_keymgmt_export(void *keydata, int selection, in fake_rsa_keymgmt_export() argument 180 if (selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) in fake_rsa_keymgmt_export() 203 static const OSSL_PARAM *fake_rsa_keymgmt_imptypes(int selection) in fake_rsa_keymgmt_imptypes() argument 206 imptypes_selection = selection; in fake_rsa_keymgmt_imptypes() 217 static const OSSL_PARAM *fake_rsa_keymgmt_exptypes(int selection) in fake_rsa_keymgmt_exptypes() argument 220 exptypes_selection = selection; in fake_rsa_keymgmt_exptypes() [all …]
|
| /src/crypto/openssl/crypto/encode_decode/ |
| H A D | encoder_pkey.c | 115 && !encoder->does_selection(provctx, data->ctx->selection)) in collect_encoder() 157 int selection; member 171 …construct_data->constructed_obj = encoder->import_object(encoderctx, construct_data->selection, pa… in encoder_import_cb() 188 int selection = data->selection; in encoder_construct_pkey() local 190 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in encoder_construct_pkey() 191 selection |= OSSL_KEYMGMT_SELECT_PUBLIC_KEY; in encoder_construct_pkey() 194 if (!evp_keymgmt_export(pk->keymgmt, pk->keydata, selection, in encoder_construct_pkey() 229 int selection, in ossl_encoder_ctx_setup_for_pkey() argument 328 data->selection = selection; in ossl_encoder_ctx_setup_for_pkey() 343 int selection, in OSSL_ENCODER_CTX_new_for_pkey() argument [all …]
|
| H A D | decoder_pkey.c | 63 int selection; member 159 if (data->selection == 0) in decoder_construct_pkey() 161 import_data.selection = OSSL_KEYMGMT_SELECT_ALL; in decoder_construct_pkey() 163 import_data.selection = data->selection; in decoder_construct_pkey() 334 && !decoder->does_selection(provctx, data->ctx->selection)) in collect_decoder() 476 process_data->selection = ctx->selection; in ossl_decoder_ctx_setup_for_pkey() 596 dest->selection = src->selection; in ossl_decoder_ctx_for_pkey_dup() 643 process_data_dest->selection = process_data_src->selection; in ossl_decoder_ctx_for_pkey_dup() 669 int selection; member 714 hash ^= cache->selection; in decoder_cache_entry_hash() [all …]
|
| /src/crypto/openssl/crypto/pem/ |
| H A D | pem_pkey.c | 37 int selection) in pem_read_bio_key_decoder() argument 48 selection, libctx, propq); in pem_read_bio_key_decoder() 79 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in pem_read_bio_key_decoder() 80 selection = selection & ~OSSL_KEYMGMT_SELECT_PUBLIC_KEY; in pem_read_bio_key_decoder() 82 if (!evp_keymgmt_util_has(pkey, selection)) { in pem_read_bio_key_decoder() 103 int selection) in pem_read_bio_key_legacy() argument 113 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in pem_read_bio_key_legacy() 123 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in pem_read_bio_key_legacy() 181 } else if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) == 0 in pem_read_bio_key_legacy() 182 && (selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in pem_read_bio_key_legacy() [all …]
|
| /src/crypto/openssl/crypto/slh_dsa/ |
| H A D | slh_dsa_key.c | 146 SLH_DSA_KEY *ossl_slh_dsa_key_dup(const SLH_DSA_KEY *src, int selection) in ossl_slh_dsa_key_dup() argument 165 if ((selection & OSSL_KEYMGMT_SELECT_KEYPAIR) != 0) { in ossl_slh_dsa_key_dup() 169 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in ossl_slh_dsa_key_dup() 190 int selection) in ossl_slh_dsa_key_equal() argument 198 if ((selection & OSSL_KEYMGMT_SELECT_KEYPAIR) != 0) { in ossl_slh_dsa_key_equal() 199 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in ossl_slh_dsa_key_equal() 207 && (selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { 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() argument 223 if ((selection & OSSL_KEYMGMT_SELECT_KEYPAIR) != 0) { in ossl_slh_dsa_key_has() 226 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0 in ossl_slh_dsa_key_has() [all …]
|