| /freebsd-14.2/contrib/ntp/libntp/ |
| H A D | ssl_init.c | 95 int key_type; in keytype_from_text() local 120 key_type = OBJ_sn2nid(upcased); in keytype_from_text() 124 key_type = NID_cmac; in keytype_from_text() 134 key_type = 0; in keytype_from_text() 138 key_type = NID_md5; in keytype_from_text() 141 if (!key_type) { in keytype_from_text() 147 md = EVP_get_digestbynid(key_type); in keytype_from_text() 152 if (key_type == NID_cmac) { in keytype_from_text() 164 keytype_name(key_type)); in keytype_from_text() 167 keytype_name(key_type)); in keytype_from_text() [all …]
|
| /freebsd-14.2/sys/contrib/dev/ath/ath_hal/ar9300/ |
| H A D | ar9300_keycache.c | 79 u_int32_t key_type; in ar9300_reset_key_cache_entry() local 121 key_type == AR_KEYTABLE_TYPE_128) { in ar9300_reset_key_cache_entry() 195 u_int32_t key_type; in ar9300_set_key_cache_entry() local 214 key_type = AR_KEYTABLE_TYPE_AES; in ar9300_set_key_cache_entry() 223 key_type = AR_KEYTABLE_TYPE_CCM; in ar9300_set_key_cache_entry() 226 key_type = AR_KEYTABLE_TYPE_TKIP; in ar9300_set_key_cache_entry() 241 key_type = AR_KEYTABLE_TYPE_40; in ar9300_set_key_cache_entry() 243 key_type = AR_KEYTABLE_TYPE_104; in ar9300_set_key_cache_entry() 245 key_type = AR_KEYTABLE_TYPE_128; in ar9300_set_key_cache_entry() 249 key_type = AR_KEYTABLE_TYPE_CLR; in ar9300_set_key_cache_entry() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | ProgramStateTrait.h | 152 using key_type = Key; 165 static lookup_type Lookup(data_type B, key_type K) { 169 static data_type Set(data_type B, key_type K, value_type E, 174 static data_type Remove(data_type B, key_type K, context_type F) { 178 static bool Contains(data_type B, key_type K) { 200 using key_type = Key; 211 static data_type Add(data_type B, key_type K, context_type F) { 219 static bool Contains(data_type B, key_type K) { 240 using key_type = T; 243 static data_type Add(data_type L, key_type K, context_type F) { [all …]
|
| H A D | ProgramState.h | 423 add(typename ProgramStateTrait<T>::key_type K) const; 433 get(typename ProgramStateTrait<T>::key_type key) const { in get() 443 remove(typename ProgramStateTrait<T>::key_type K) const; 447 remove(typename ProgramStateTrait<T>::key_type K, 458 set(typename ProgramStateTrait<T>::key_type K, 463 set(typename ProgramStateTrait<T>::key_type K, 468 bool contains(typename ProgramStateTrait<T>::key_type key) const { in contains() 647 typename ProgramStateTrait<T>::key_type K, in set() 657 typename ProgramStateTrait<T>::key_type K, in add() 665 typename ProgramStateTrait<T>::key_type K, in remove() [all …]
|
| /freebsd-14.2/contrib/bearssl/tools/ |
| H A D | xmem.c | 83 pk2->key_type = pk->key_type; in xpkeydup() 84 switch (pk->key_type) { in xpkeydup() 99 (unsigned)pk->key_type); in xpkeydup() 113 switch (pk->key_type) { in xfreepkey() 124 (unsigned)pk->key_type); in xfreepkey()
|
| H A D | certs.c | 63 switch (pk->key_type) { in certificate_to_trust_anchor_inner() 65 ta->pkey.key_type = BR_KEYTYPE_RSA; in certificate_to_trust_anchor_inner() 72 ta->pkey.key_type = BR_KEYTYPE_EC; in certificate_to_trust_anchor_inner() 103 switch (ta->pkey.key_type) { in free_ta_contents()
|
| H A D | ta.c | 97 switch (ta->pkey.key_type) { in print_ta_internals() 110 ta->pkey.key_type); in print_ta_internals() 127 switch (ta->pkey.key_type) { in print_ta()
|
| H A D | server.c | 386 if (pc->sk->key_type == BR_KEYTYPE_RSA) { in sp_choose() 392 if (pc->sk->key_type == BR_KEYTYPE_RSA) { in sp_choose() 417 if (pc->sk->key_type == BR_KEYTYPE_EC) { in sp_choose() 444 if (pc->sk->key_type == BR_KEYTYPE_EC in sp_choose() 452 if (pc->sk->key_type == BR_KEYTYPE_EC in sp_choose() 484 switch (pc->sk->key_type) { in sp_do_keyx() 501 (int)pc->sk->key_type); in sp_do_keyx() 542 switch (pc->sk->key_type) { in sp_do_sign() 961 switch (sk->key_type) { in do_server() 978 sk->key_type); in do_server()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/ |
| H A D | MapLattice.h | 44 using key_type = Key; 58 insert(const std::pair<const key_type, mapped_type> &P) { in insert() argument 62 std::pair<iterator, bool> insert(std::pair<const key_type, mapped_type> &&P) { in insert() argument 85 bool contains(const key_type &K) const { return C.find(K) != C.end(); } in contains() 87 iterator find(const key_type &K) { return C.find(K); } in find() 88 const_iterator find(const key_type &K) const { return C.find(K); } in find() 90 mapped_type &operator[](const key_type &K) { return C[K]; }
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/ext/ |
| H A D | hash_set | 69 size_type erase(const key_type& k); 78 iterator find(const key_type& k); 79 const_iterator find(const key_type& k) const; 80 size_type count(const key_type& k) const; 155 size_type erase(const key_type& k); 164 iterator find(const key_type& k); 166 size_type count(const key_type& k) const; 223 typedef _Value key_type; 224 typedef key_type value_type; 402 typedef _Value key_type; [all …]
|
| H A D | hash_map | 73 size_type erase(const key_type& k); 82 iterator find(const key_type& k); 83 const_iterator find(const key_type& k) const; 84 size_type count(const key_type& k) const; 88 mapped_type& operator[](const key_type& k); 163 size_type erase(const key_type& k); 172 iterator find(const key_type& k); 173 const_iterator find(const key_type& k) const; 174 size_type count(const key_type& k) const; 448 typedef _Key key_type; [all …]
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/ |
| H A D | map | 125 mapped_type& operator[](const key_type& k); 126 mapped_type& operator[](key_type&& k); 128 mapped_type& at(const key_type& k); 174 size_type erase(const key_type& k); 197 iterator find(const key_type& k); 436 size_type erase(const key_type& k); 459 iterator find(const key_type& k); 760 typedef _Key key_type; 823 typedef _Key key_type; 970 typedef _Key key_type; [all …]
|
| H A D | set | 133 size_type erase(const key_type& k); 158 iterator find(const key_type& k); 159 const_iterator find(const key_type& k) const; 167 size_type count(const key_type& k) const; 172 iterator lower_bound(const key_type& k); 378 size_type erase(const key_type& k); 403 iterator find(const key_type& k); 567 typedef _Key key_type; 568 typedef key_type value_type; 1024 typedef _Key key_type; [all …]
|
| H A D | unordered_map | 164 size_type erase(const key_type& k); 187 iterator find(const key_type& k); 193 size_type count(const key_type& k) const; 207 mapped_type& operator[](key_type&& k); 209 mapped_type& at(const key_type& k); 433 size_type erase(const key_type& k); 456 iterator find(const key_type& k); 834 typedef _Key key_type; 899 typedef _Key key_type; 1032 typedef _Key key_type; [all …]
|
| H A D | unordered_set | 139 size_type erase(const key_type& k); 160 iterator find(const key_type& k); 166 size_type count(const key_type& k) const; 183 size_type bucket(const key_type& k) const; 387 size_type erase(const key_type& k); 408 iterator find(const key_type& k); 414 size_type count(const key_type& k) const; 585 typedef _Value key_type; 586 typedef key_type value_type; 1189 typedef _Value key_type; [all …]
|
| H A D | __node_handle | 19 using key_type = see below; // not present for set containers 42 key_type& key() const; // not present for set containers 178 typedef typename _NodeType::__node_value_type::key_type key_type; 181 _LIBCPP_HIDE_FROM_ABI key_type& key() const {
|
| /freebsd-14.2/contrib/ntp/sntp/ |
| H A D | crypto.c | 34 int key_type; in compute_mac() local 37 key_type = keytype_from_text(macname, NULL); in compute_mac() 41 if (key_type == NID_cmac) { in compute_mac() 89 if (!EVP_DigestInit_ex(ctx, EVP_get_digestbynid(key_type), NULL)) { in compute_mac() 110 (void)key_type; /* unused, so try to prevent compiler from croaks */ in compute_mac() 111 if (!EVP_DigestInit(ctx, EVP_get_digestbynid(key_type))) { in compute_mac()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | ImmutableMap.h | 31 using key_type = const T; member 67 using key_type = typename ValInfo::key_type; variable 100 TreeTy *T = F.add(Old.Root.get(), std::pair<key_type, data_type>(K, D)); in add() 207 using key_type = typename ValInfo::key_type; variable 244 Factory->add(Root.get(), std::pair<key_type, data_type>(K, D)); in add()
|
| H A D | SetVector.h | 64 using key_type = typename Set::key_type; variable 217 const key_type &V = *I; in erase() 254 bool contains(const key_type &key) const { in contains() 264 size_type count(const key_type &key) const { in count()
|
| /freebsd-14.2/contrib/bearssl/inc/ |
| H A D | bearssl_x509.h | 230 unsigned char key_type; member 1217 unsigned char key_type; member 1262 if (ctx->key_type == 0) { in br_skey_decoder_last_error() 1281 return ctx->key_type; in br_skey_decoder_key_type() 1301 if (ctx->err == 0 && ctx->key_type == BR_KEYTYPE_RSA) { in br_skey_decoder_get_rsa() 1322 if (ctx->err == 0 && ctx->key_type == BR_KEYTYPE_EC) { in br_skey_decoder_get_ec()
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/__functional/ |
| H A D | boyer_moore_searcher.h | 44 using key_type = _Key; variable 54 …_LIBCPP_HIDE_FROM_ABI void insert(const key_type& __key, value_type __val) { __table_[__key] = __v… in insert() 56 _LIBCPP_HIDE_FROM_ABI value_type operator[](const key_type& __key) const { 67 using key_type = _Key; variable 69 using unsigned_key_type = make_unsigned_t<key_type>; 78 _LIBCPP_HIDE_FROM_ABI void insert(key_type __key, value_type __val) { in insert() 82 _LIBCPP_HIDE_FROM_ABI value_type operator[](key_type __key) const {
|
| /freebsd-14.2/crypto/openssl/apps/ |
| H A D | rsautl.c | 81 char rsa_mode = RSA_VERIFY, key_type = KEY_PRIVKEY; in rsautl_main() local 149 key_type = KEY_PUBKEY; in rsautl_main() 152 key_type = KEY_CERT; in rsautl_main() 179 if (need_priv && (key_type != KEY_PRIVKEY)) { in rsautl_main() 189 switch (key_type) { in rsautl_main()
|
| H A D | pkeyutl.c | 24 const char *keyfile, int keyform, int key_type, 117 int keysize = -1, pkey_op = EVP_PKEY_OP_SIGN, key_type = KEY_PRIVKEY; in pkeyutl_main() local 191 key_type = KEY_PUBKEY; in pkeyutl_main() 194 key_type = KEY_CERT; in pkeyutl_main() 222 key_type = KEY_NONE; in pkeyutl_main() 306 ctx = init_ctx(kdfalg, &keysize, inkey, keyform, key_type, in pkeyutl_main() 525 const char *keyfile, int keyform, int key_type, in init_ctx() argument 540 && (key_type != KEY_PRIVKEY && kdfalg == NULL)) { in init_ctx() 548 switch (key_type) { in init_ctx()
|
| /freebsd-14.2/contrib/bearssl/src/x509/ |
| H A D | x509_knownkey.c | 33 ctx->pkey.key_type = BR_KEYTYPE_RSA; in br_x509_knownkey_init_rsa() 44 ctx->pkey.key_type = BR_KEYTYPE_EC; in br_x509_knownkey_init_ec()
|
| /freebsd-14.2/lib/libsecureboot/ |
| H A D | brf.c | 365 switch (pk->key_type) { in certificate_to_trust_anchor_inner() 367 ta->pkey.key_type = BR_KEYTYPE_RSA; in certificate_to_trust_anchor_inner() 374 ta->pkey.key_type = BR_KEYTYPE_EC; in certificate_to_trust_anchor_inner() 392 switch (ta->pkey.key_type) { in free_ta_contents()
|