Home
last modified time | relevance | path

Searched refs:key_type (Results 1 – 25 of 94) sorted by relevance

1234

/freebsd-14.2/contrib/ntp/libntp/
H A Dssl_init.c95 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 Dar9300_keycache.c79 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 DProgramStateTrait.h152 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 DProgramState.h423 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 Dxmem.c83 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 Dcerts.c63 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 Dta.c97 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 Dserver.c386 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 DMapLattice.h44 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 Dhash_set69 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 Dhash_map73 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 Dmap125 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 Dset133 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 Dunordered_map164 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 Dunordered_set139 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_handle19 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 Dcrypto.c34 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 DImmutableMap.h31 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 DSetVector.h64 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 Dbearssl_x509.h230 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 Dboyer_moore_searcher.h44 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 Drsautl.c81 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 Dpkeyutl.c24 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 Dx509_knownkey.c33 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 Dbrf.c365 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()

1234