/freebsd/crypto/openssl/test/ssl-tests/ |
H A D | 20-cert-select.cnf | 5 test-0 = 0-ECDSA CipherString Selection 6 test-1 = 1-ECDSA CipherString Selection 7 test-2 = 2-ECDSA CipherString Selection 8 test-3 = 3-RSA CipherString Selection 9 test-4 = 4-P-256 CipherString and Signature Algorithm Selection 10 test-5 = 5-ECDSA CipherString Selection, no ECDSA certificate 11 test-6 = 6-ECDSA Signature Algorithm Selection 12 test-7 = 7-ECDSA Signature Algorithm Selection SHA384 13 test-8 = 8-ECDSA Signature Algorithm Selection compressed point 14 test-9 = 9-ECDSA Signature Algorithm Selection, no ECDSA certificate [all …]
|
H A D | 20-cert-select.cnf.in | 79 name => "ECDSA CipherString Selection", 95 name => "ECDSA CipherString Selection", 119 name => "ECDSA CipherString Selection", 139 name => "RSA CipherString Selection", 152 name => "P-256 CipherString and Signature Algorithm Selection", 167 name => "ECDSA CipherString Selection, no ECDSA certificate", 180 name => "ECDSA Signature Algorithm Selection", 193 name => "ECDSA Signature Algorithm Selection SHA384", 206 name => "ECDSA Signature Algorithm Selection compressed point", 223 name => "ECDSA Signature Algorithm Selection, no ECDSA certificate", [all …]
|
/freebsd/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() 141 return 1; /* the selection is not missing */ 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() [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() 123 return 1; /* the selection is not missing */ 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() [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() 140 return 1; /* the selection is not missing */ 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() [all …]
|
H A D | ec_kmgmt.c | 309 int ec_has(const void *keydata, int selection) in ec_has() argument 316 if ((selection & EC_POSSIBLE_SELECTIONS) == 0) in ec_has() 317 return 1; /* the selection is not missing */ in ec_has() 319 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in ec_has() 321 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in ec_has() 323 if ((selection & OSSL_KEYMGMT_SELECT_DOMAIN_PARAMETERS) != 0) in ec_has() 333 static int ec_match(const void *keydata1, const void *keydata2, int selection) in ec_match() argument 349 if ((selection & OSSL_KEYMGMT_SELECT_DOMAIN_PARAMETERS) != 0) in ec_match() 352 if ((selection & OSSL_KEYMGMT_SELECT_KEYPAIR) != 0) { in ec_match() 355 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in ec_match() [all …]
|
H A D | mlx_kmgmt.c | 58 int selection; member 101 static int mlx_kem_has(const void *vkey, int selection) in mlx_kem_has() argument 109 switch (selection & OSSL_KEYMGMT_SELECT_KEYPAIR) { in mlx_kem_has() 119 static int mlx_kem_match(const void *vkey1, const void *vkey2, int selection) in mlx_kem_match() argument 133 if (!(selection & OSSL_KEYMGMT_SELECT_KEYPAIR)) in mlx_kem_match() 207 export_sub(EXPORT_CB_ARG *sub_arg, int selection, MLX_KEY *key) in export_sub() argument 238 if (!EVP_PKEY_export(pkey, selection, export_sub_cb, (void *)sub_arg)) in export_sub() 244 static int mlx_kem_export(void *vkey, int selection, OSSL_CALLBACK *param_cb, in mlx_kem_export() argument 258 if ((selection & OSSL_KEYMGMT_SELECT_KEYPAIR) == 0) in mlx_kem_export() 270 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in mlx_kem_export() [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 | 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() 81 return 1; /* the selection is not missing */ 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() [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 | 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() 225 static int mac_import(void *keydata, int selection, const OSSL_PARAM params[]) in mac_import() argument 232 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) == 0) in mac_import() 267 static int mac_export(void *keydata, int selection, OSSL_CALLBACK *param_cb, in mac_export() argument 278 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) == 0) in mac_export() 285 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0 in mac_export() [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 …]
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
H A D | HTMLLogger.html | 41 <section id="timeline" data-selection=""> 54 <section id="function" data-selection=""> 60 <section id="block" data-selection="bb"> 61 <header><template>Block {{selection.bb}}</template></header> 63 <template data-for="iter in cfg[selection.bb].iters"> 64 <a class="chooser {{selection.bb}}:{{iter.iter}}" data-iter="{{selection.bb}}:{{iter.iter}}"> 73 <tr id="{{selection.bb}}.0"> 74 <td class="{{selection.bb}}">{{selection.bb}}.0</td> 78 <template data-for="elt in cfg[selection.bb].elements"> 79 <tr id="{{selection.bb}}.{{elt_index+1}}"> [all …]
|
H A D | HTMLLogger.js | 11 // For example, if the selection is {bb="BB4", elt="BB4.6" iter="BB4:2"}: 13 // - re-render templates within these sections (if selection changed) 15 let selection = {}; variable 17 Object.assign(selection, changes); 20 data.selection = selection; 21 for (root of document.querySelectorAll('[data-selection]')) 28 // Given <section data-selection="x,y">: 32 let changed = root.selection == null; 33 root.selection ||= {}; 34 for (key of root.dataset.selection.split(',')) { [all …]
|
/freebsd/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() 115 static int dsa_to_text(BIO *out, const void *key, int selection) in dsa_to_text() argument 128 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in dsa_to_text() 130 else if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in dsa_to_text() [all …]
|
H A D | encode_key2blob.c | 55 static int key2blob_check_selection(int selection, int selection_mask) in key2blob_check_selection() argument 58 * The selections are kinda sorta "levels", i.e. each selection given in key2blob_check_selection() 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 110 * The selection is understood as a "level" rather than an exact set of 113 * the encoded public key itself, no matter if the selection bits include 114 * OSSL_KEYMGMT_SELECT_PARAMETERS or not. However, if the selection includes 129 static void *impl##2blob_import_object(void *ctx, int selection, \ 133 ctx, selection, params); \ [all …]
|
H A D | decode_msblob2key.c | 59 /* The selection that is passed to msblob2key_decode() */ 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 in msblob2key_does_selection() 94 static int msblob2key_decode(void *vctx, OSSL_CORE_BIO *cin, int selection, in msblob2key_decode() argument 122 ctx->selection = selection; in msblob2key_decode() 143 if ((selection == 0 in msblob2key_decode() 144 || (selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in msblob2key_decode() 154 if (selection != 0 && key == NULL) in msblob2key_decode() [all …]
|
H A D | decode_pvk2key.c | 63 /* The selection that is passed to der2key_decode() */ 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() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/ |
H A D | ASTSelection.cpp | 36 /// of the cursor or overlap with the selection range. 40 ASTSelectionFinder(SourceRange Selection, FileID TargetFile, in ASTSelectionFinder() argument 43 SelectionBegin(Selection.getBegin()), in ASTSelectionFinder() 44 SelectionEnd(Selection.getBegin() == Selection.getEnd() in ASTSelectionFinder() 46 : Selection.getEnd()), in ASTSelectionFinder() 66 // a meaningful selection tree. in TraversePseudoObjectExpr() 106 // Stop early when we've reached a declaration after the selection. in TraverseDecl() 148 // Do a quick check when the selection is of length 0. in selectionKindFor() 160 // Ensure there's at least some overlap with the 'start'/'end' selection in selectionKindFor() 193 "selection range must span one file"); in findSelectedASTNodes() [all …]
|
/freebsd/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 | 393 void *evp_keymgmt_gen_init(const EVP_KEYMGMT *keymgmt, int selection, in evp_keymgmt_gen_init() argument 400 return keymgmt->gen_init(provctx, selection, params); in evp_keymgmt_gen_init() 525 int evp_keymgmt_has(const EVP_KEYMGMT *keymgmt, void *keydata, int selection) in evp_keymgmt_has() argument 528 return keymgmt->has(keydata, selection); in evp_keymgmt_has() 532 int selection, int checktype) in evp_keymgmt_validate() argument 537 return keymgmt->validate(keydata, selection, checktype); in evp_keymgmt_validate() 542 int selection) in evp_keymgmt_match() argument 547 return keymgmt->match(keydata1, keydata2, selection); in evp_keymgmt_match() 551 int selection, const OSSL_PARAM params[]) in evp_keymgmt_import() argument 555 return keymgmt->import(keydata, selection, params); in evp_keymgmt_import() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/PBQP/ |
H A D | Solution.h | 25 /// To get the selection for each node in the problem use the getSelection method. 35 /// Set the selection for a given node. 37 /// @param selection Selection for nodeId. 38 void setSelection(GraphBase::NodeId nodeId, unsigned selection) { in setSelection() argument 39 selections[nodeId] = selection; in setSelection() 42 /// Get a node's selection. 44 /// @return The selection for nodeId; 47 assert(sItr != selections.end() && "No selection for node."); in getSelection()
|
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/ |
H A D | ASTSelection.h | 30 /// A node that's considered to be selected because the whole selection range 33 /// A node that's considered to be selected because the start of the selection 36 /// A node that's considered to be selected because the end of the selection 41 /// the selection range. 47 /// AST selection is represented using a tree of \c SelectedASTNode. The tree 49 /// a selection kind. The kind might be none as the node itself might not 74 /// An AST selection value that corresponds to a selection of a set of 77 /// For example, the following selection in the source. 81 /// // selection begin: 84 /// // selection end [all …]
|
/freebsd/crypto/openssl/test/ |
H A D | endecoder_legacy_test.c | 304 EVP_PKEY *provided_pkey, int selection, in test_protected_PEM() argument 322 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 390 OSSL_ENCODER_CTX_new_for_pkey(provided_pkey, selection, in test_unprotected_PEM() 405 keytype, selection, in test_unprotected_PEM() 437 EVP_PKEY *provided_pkey, int selection, in test_DER() argument 455 OSSL_ENCODER_CTX_new_for_pkey(provided_pkey, selection, in test_DER() 472 keytype, selection, in test_DER() 530 int selection = OSSL_KEYMGMT_SELECT_ALL; in test_key() local [all …]
|
/freebsd/crypto/openssl/crypto/encode_decode/ |
H A D | encoder_pkey.c | 117 && !encoder->does_selection(provctx, data->ctx->selection)) in collect_encoder() 159 int selection; member 174 encoder->import_object(encoderctx, construct_data->selection, params); in encoder_import_cb() 192 int selection = data->selection; in encoder_construct_pkey() local 194 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in encoder_construct_pkey() 195 selection |= OSSL_KEYMGMT_SELECT_PUBLIC_KEY; in encoder_construct_pkey() 198 if (!evp_keymgmt_export(pk->keymgmt, pk->keydata, selection, in encoder_construct_pkey() 234 int selection, in ossl_encoder_ctx_setup_for_pkey() argument 333 data->selection = selection; in ossl_encoder_ctx_setup_for_pkey() 348 int selection, in OSSL_ENCODER_CTX_new_for_pkey() argument [all …]
|