| /freebsd-13.1/contrib/ntp/libntp/ |
| H A D | ssl_init.c | 102 int key_type; in keytype_from_text() local 127 key_type = OBJ_sn2nid(upcased); in keytype_from_text() 131 key_type = NID_cmac; in keytype_from_text() 141 key_type = 0; in keytype_from_text() 145 key_type = NID_md5; in keytype_from_text() 148 if (!key_type) { in keytype_from_text() 154 md = EVP_get_digestbynid(key_type); in keytype_from_text() 159 if (key_type == NID_cmac) { in keytype_from_text() 171 keytype_name(key_type)); in keytype_from_text() 174 keytype_name(key_type)); in keytype_from_text() [all …]
|
| /freebsd-13.1/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-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | ProgramStateTrait.h | 149 using key_type = Key; 162 static lookup_type Lookup(data_type B, key_type K) { 166 static data_type Set(data_type B, key_type K, value_type E, 171 static data_type Remove(data_type B, key_type K, context_type F) { 175 static bool Contains(data_type B, key_type K) { 197 using key_type = Key; 208 static data_type Add(data_type B, key_type K, context_type F) { 216 static bool Contains(data_type B, key_type K) { 237 using key_type = T; 240 static data_type Add(data_type L, key_type K, context_type F) { [all …]
|
| H A D | ProgramState.h | 383 add(typename ProgramStateTrait<T>::key_type K) const; 393 get(typename ProgramStateTrait<T>::key_type key) const { in get() 403 remove(typename ProgramStateTrait<T>::key_type K) const; 407 remove(typename ProgramStateTrait<T>::key_type K, 418 set(typename ProgramStateTrait<T>::key_type K, 423 set(typename ProgramStateTrait<T>::key_type K, 428 bool contains(typename ProgramStateTrait<T>::key_type key) const { in contains() 607 typename ProgramStateTrait<T>::key_type K, in set() 617 typename ProgramStateTrait<T>::key_type K, in add() 625 typename ProgramStateTrait<T>::key_type K, in remove() [all …]
|
| /freebsd-13.1/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()
|
| H A D | keys.c | 63 sk->key_type = BR_KEYTYPE_RSA; in decode_key() 80 sk->key_type = BR_KEYTYPE_EC; in decode_key() 157 switch (sk->key_type) { in free_private_key()
|
| /freebsd-13.1/contrib/llvm-project/libcxx/include/ |
| H A D | map | 120 mapped_type& operator[](const key_type& k); 121 mapped_type& operator[](key_type&& k); 123 mapped_type& at(const key_type& k); 167 size_type erase(const key_type& k); 190 iterator find(const key_type& k); 388 size_type erase(const key_type& k); 411 iterator find(const key_type& k); 1158 mapped_type& operator[](key_type&& __k); 1330 size_type erase(const key_type& __k) 1356 node_type extract(key_type const& __key) [all …]
|
| H A D | set | 126 size_type erase(const key_type& k); 151 iterator find(const key_type& k); 331 size_type erase(const key_type& k); 356 iterator find(const key_type& k); 703 size_type erase(const key_type& __k) 729 node_type extract(key_type const& __key) 819 iterator lower_bound(const key_type& __k) 837 iterator upper_bound(const key_type& __k) 1259 node_type extract(key_type const& __key) 1350 iterator lower_bound(const key_type& __k) [all …]
|
| H A D | unordered_map | 151 size_type erase(const key_type& k); 174 iterator find(const key_type& k); 180 size_type count(const key_type& k) const; 194 mapped_type& operator[](key_type&& k); 196 mapped_type& at(const key_type& k); 203 size_type bucket(const key_type& k) const; 345 size_type erase(const key_type& k); 368 iterator find(const key_type& k); 374 size_type count(const key_type& k) const; 1297 node_type extract(key_type const& __key) [all …]
|
| H A D | unordered_set | 125 size_type erase(const key_type& k); 146 iterator find(const key_type& k); 147 const_iterator find(const key_type& k) const; 152 size_type count(const key_type& k) const; 169 size_type bucket(const key_type& k) const; 302 size_type erase(const key_type& k); 323 iterator find(const key_type& k); 329 size_type count(const key_type& k) const; 346 size_type bucket(const key_type& k) const; 651 node_type extract(key_type const& __key) [all …]
|
| H A D | __node_handle | 170 typedef typename _NodeType::__node_value_type::key_type key_type; 174 key_type& key() const
|
| /freebsd-13.1/contrib/llvm-project/libcxx/include/ext/ |
| H A D | hash_set | 26 typedef Value key_type; 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; 81 pair<iterator, iterator> equal_range(const key_type& k); 155 size_type erase(const key_type& k); 164 iterator find(const key_type& k); 165 const_iterator find(const key_type& k) const; 166 size_type count(const key_type& k) const; [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; 590 mapped_type& operator[](const key_type& __k); [all …]
|
| /freebsd-13.1/crypto/openssl/apps/ |
| H A D | pkeyutl.c | 23 const char *keyfile, int keyform, int key_type, 88 int keysize = -1, pkey_op = EVP_PKEY_OP_SIGN, key_type = KEY_PRIVKEY; in pkeyutl_main() local 147 key_type = KEY_PUBKEY; in pkeyutl_main() 150 key_type = KEY_CERT; in pkeyutl_main() 178 key_type = KEY_NONE; in pkeyutl_main() 216 ctx = init_ctx(kdfalg, &keysize, inkey, keyform, key_type, in pkeyutl_main() 365 const char *keyfile, int keyform, int key_type, in init_ctx() argument 377 && (key_type != KEY_PRIVKEY && kdfalg == NULL)) { in init_ctx() 385 switch (key_type) { in init_ctx()
|
| H A D | rsautl.c | 74 char rsa_mode = RSA_VERIFY, key_type = KEY_PRIVKEY; in rsautl_main() local 144 key_type = KEY_PUBKEY; in rsautl_main() 147 key_type = KEY_CERT; in rsautl_main() 165 if (need_priv && (key_type != KEY_PRIVKEY)) { in rsautl_main() 175 switch (key_type) { in rsautl_main()
|
| /freebsd-13.1/contrib/bearssl/inc/ |
| H A D | bearssl_x509.h | 230 unsigned char key_type; member 1140 unsigned char key_type; member 1185 if (ctx->key_type == 0) { in br_skey_decoder_last_error() 1204 return ctx->key_type; in br_skey_decoder_key_type() 1224 if (ctx->err == 0 && ctx->key_type == BR_KEYTYPE_RSA) { in br_skey_decoder_get_rsa() 1245 if (ctx->err == 0 && ctx->key_type == BR_KEYTYPE_EC) { in br_skey_decoder_get_ec()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | ImmutableMap.h | 30 using key_type = const T; member 66 using key_type = typename ValInfo::key_type; variable 99 TreeTy *T = F.add(Old.Root.get(), std::pair<key_type, data_type>(K, D)); in add() 243 using key_type = typename ValInfo::key_type; variable 280 Factory->add(Root.get(), std::pair<key_type, data_type>(K, D)); in add()
|
| H A D | SetVector.h | 43 using key_type = T; variable 172 const key_type &V = *I; in erase() 209 bool contains(const key_type &key) const { in contains() 215 size_type count(const key_type &key) const { in count()
|
| /freebsd-13.1/contrib/ntp/sntp/ |
| H A D | crypto.c | 38 int key_type; in compute_mac() local 41 key_type = keytype_from_text(macname, NULL); in compute_mac() 45 if (key_type == NID_cmac) { in compute_mac() 93 if (!EVP_DigestInit_ex(ctx, EVP_get_digestbynid(key_type), NULL)) { in compute_mac() 114 EVP_DigestInit(ctx, EVP_get_digestbynid(key_type)); in compute_mac()
|
| /freebsd-13.1/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-13.1/lib/libsecureboot/ |
| H A D | brf.c | 367 switch (pk->key_type) { in certificate_to_trust_anchor_inner() 369 ta->pkey.key_type = BR_KEYTYPE_RSA; in certificate_to_trust_anchor_inner() 376 ta->pkey.key_type = BR_KEYTYPE_EC; in certificate_to_trust_anchor_inner() 394 switch (ta->pkey.key_type) { in free_ta_contents()
|
| /freebsd-13.1/contrib/llvm-project/libcxx/include/experimental/ |
| H A D | functional | 151 typedef _Key key_type; 162 void insert(const key_type &__key, value_type __val) 168 value_type operator [](const key_type & __key) const 181 typedef _Key key_type; 183 typedef typename make_unsigned<key_type>::type unsigned_key_type; 195 void insert(key_type __key, value_type __val) 201 value_type operator [](key_type __key) const
|