Home
last modified time | relevance | path

Searched defs:key (Results 1 – 25 of 134) sorted by relevance

123456

/include/crypto/internal/
Ddes.h26 static inline int crypto_des_verify_key(struct crypto_tfm *tfm, const u8 *key) in crypto_des_verify_key()
59 static inline int des3_ede_verify_key(const u8 *key, unsigned int key_len, in des3_ede_verify_key()
96 const u8 *key) in crypto_des3_ede_verify_key()
109 const u8 *key) in verify_skcipher_des_key()
115 const u8 *key) in verify_skcipher_des3_key()
121 const u8 *key) in verify_ablkcipher_des_key()
127 const u8 *key) in verify_ablkcipher_des3_key()
132 static inline int verify_aead_des_key(struct crypto_aead *tfm, const u8 *key, in verify_aead_des_key()
142 static inline int verify_aead_des3_key(struct crypto_aead *tfm, const u8 *key, in verify_aead_des3_key()
Dblake2s.h82 u8 key[BLAKE2S_KEY_SIZE]; member
87 const u8 *key, unsigned int keylen) in crypto_blake2s_setkey()
Dblake2b.h68 u8 key[BLAKE2B_KEY_SIZE]; member
73 const u8 *key, unsigned int keylen) in crypto_blake2b_setkey()
/include/linux/
Dkey.h132 static inline key_ref_t make_key_ref(const struct key *key, in make_key_ref()
155 struct key *key; member
172 struct key { struct
174 key_serial_t serial; /* key serial number */ argument
180 struct key_user *user; /* owner of this key */ argument
181 void *security; /* security data for this key */ argument
183 time64_t expiry; /* time at which key expires (or 0) */ argument
186 time64_t last_used_at; /* last time used for LRU keyring discard */ argument
189 key_perm_t perm; /* access permissions */ argument
203 #define KEY_FLAG_DEAD 0 /* set if key type has been deleted */ argument
[all …]
Dsiphash.h21 u64 key[2]; member
24 static inline bool siphash_key_is_zero(const siphash_key_t *key) in siphash_key_is_zero()
43 const siphash_key_t *key) in siphash_2u32()
48 const u32 d, const siphash_key_t *key) in siphash_4u32()
55 const siphash_key_t *key) in ___siphash_aligned()
81 const siphash_key_t *key) in siphash()
91 unsigned long key[2]; member
107 const hsiphash_key_t *key) in ___hsiphash_aligned()
131 const hsiphash_key_t *key) in hsiphash()
Djump_label_ratelimit.h10 struct static_key key; member
16 struct static_key_true key; member
22 struct static_key_false key; member
65 struct static_key key; member
68 struct static_key_true key; member
71 struct static_key_false key; member
80 static inline void static_key_slow_dec_deferred(struct static_key_deferred *key) in static_key_slow_dec_deferred()
85 static inline void static_key_deferred_flush(void *key) in static_key_deferred_flush()
90 jump_label_rate_limit(struct static_key_deferred *key, in jump_label_rate_limit()
Djump_label.h81 #define STATIC_KEY_CHECK_USE(key) WARN(!static_key_initialized, \ argument
125 long key; // key may be far away from the core kernel under KASLR member
198 static __always_inline bool static_key_false(struct static_key *key) in static_key_false()
203 static __always_inline bool static_key_true(struct static_key *key) in static_key_true()
252 static inline int static_key_count(struct static_key *key) in static_key_count()
262 static __always_inline bool static_key_false(struct static_key *key) in static_key_false()
269 static __always_inline bool static_key_true(struct static_key *key) in static_key_true()
276 static inline void static_key_slow_inc(struct static_key *key) in static_key_slow_inc()
282 static inline void static_key_slow_dec(struct static_key *key) in static_key_slow_dec()
288 #define static_key_slow_inc_cpuslocked(key) static_key_slow_inc(key) argument
[all …]
Dbtree-128.h24 u64 key[2] = {k1, k2}; in btree_lookup128() local
31 u64 key[2] = {*k1, *k2}; in btree_get_prev128() local
44 u64 key[2] = {k1, k2}; in btree_insert128() local
52 u64 key[2] = {k1, k2}; in btree_update128() local
59 u64 key[2] = {k1, k2}; in btree_remove128() local
65 u64 key[2]; in btree_last128() local
Dsysrq.h56 static inline void handle_sysrq(int key) in handle_sysrq()
60 static inline void __handle_sysrq(int key, bool check_mask) in __handle_sysrq()
64 static inline int register_sysrq_key(int key, struct sysrq_key_op *op) in register_sysrq_key()
69 static inline int unregister_sysrq_key(int key, struct sysrq_key_op *op) in unregister_sysrq_key()
Dhashtable.h60 #define hash_add(hashtable, node, key) \ argument
69 #define hash_add_rcu(hashtable, node, key) \ argument
165 #define hash_for_each_possible(name, obj, member, key) \ argument
176 #define hash_for_each_possible_rcu(name, obj, member, key) \ argument
191 #define hash_for_each_possible_rcu_notrace(name, obj, member, key) \ argument
204 #define hash_for_each_possible_safe(name, obj, tmp, member, key) \ argument
Dbtree.h216 #define btree_for_each_safel(head, key, val) \ argument
227 #define btree_for_each_safe32(head, key, val) \ argument
239 #define btree_for_each_safe64(head, key, val) \ argument
Drhashtable.h126 const void *key, const struct rhashtable_params params, in rht_key_get_hash()
157 const void *key, const struct rhashtable_params params) in rht_key_hashfn()
590 struct rhashtable *ht, const void *key, in __rhashtable_lookup()
643 struct rhashtable *ht, const void *key, in rhashtable_lookup()
666 struct rhashtable *ht, const void *key, in rhashtable_lookup_fast()
693 struct rhltable *hlt, const void *key, in rhltable_lookup()
706 struct rhashtable *ht, const void *key, struct rhash_head *obj, in __rhashtable_insert_fast()
857 struct rhltable *hlt, const void *key, struct rhlist_head *list, in rhltable_insert_key()
883 const char *key = rht_obj(&hlt->ht, &list->rhead); in rhltable_insert() local
908 const char *key = rht_obj(ht, obj); in rhashtable_lookup_insert_fast() local
[all …]
Drbtree_latch.h106 __lt_find(void *key, struct latch_tree_root *ltr, int idx, in __lt_find()
107 int (*comp)(void *key, struct latch_tree_node *node)) in __lt_find()
200 latch_tree_find(void *key, struct latch_tree_root *root, in latch_tree_find()
Dbio-crypt-ctx.h63 blk_crypto_key_set_hash_and_dun_bytes(struct blk_crypto_key *key, in blk_crypto_key_set_hash_and_dun_bytes()
71 blk_crypto_key_hash(const struct blk_crypto_key *key) in blk_crypto_key_hash()
77 blk_crypto_key_dun_bytes(const struct blk_crypto_key *key) in blk_crypto_key_dun_bytes()
123 const struct blk_crypto_key *key, in bio_crypt_set_ctx()
Dlockdep.h97 const struct lockdep_subclass_key *key; member
158 struct lock_class_key *key; member
311 #define lockdep_set_class(lock, key) \ argument
313 #define lockdep_set_class_and_name(lock, key, name) \ argument
315 #define lockdep_set_class_and_subclass(lock, key, sub) \ argument
326 #define lockdep_match_class(lock, key) lockdep_match_key(&(lock)->dep_map, key) argument
329 struct lock_class_key *key) in lockdep_match_key()
440 # define lockdep_init_map(lock, name, key, sub) \ argument
442 # define lockdep_set_class(lock, key) do { (void)(key); } while (0) argument
443 # define lockdep_set_class_and_name(lock, key, name) \ argument
[all …]
/include/net/
Darp.h15 u32 key = *(const u32 *)pkey; in arp_hashfn() local
22 static inline struct neighbour *__ipv4_neigh_lookup_noref(struct net_device *dev, u32 key) in __ipv4_neigh_lookup_noref()
31 struct neighbour *__ipv4_neigh_lookup_noref(struct net_device *dev, u32 key) in __ipv4_neigh_lookup_noref()
37 static inline struct neighbour *__ipv4_neigh_lookup(struct net_device *dev, u32 key) in __ipv4_neigh_lookup()
50 static inline void __ipv4_confirm_neigh(struct net_device *dev, u32 key) in __ipv4_confirm_neigh()
Dflow_offload.h12 void *key; member
16 struct flow_dissector_key_meta *key, *mask; member
20 struct flow_dissector_key_basic *key, *mask; member
24 struct flow_dissector_key_control *key, *mask; member
28 struct flow_dissector_key_eth_addrs *key, *mask; member
32 struct flow_dissector_key_vlan *key, *mask; member
36 struct flow_dissector_key_ipv4_addrs *key, *mask; member
40 struct flow_dissector_key_ipv6_addrs *key, *mask; member
44 struct flow_dissector_key_ip *key, *mask; member
48 struct flow_dissector_key_ports *key, *mask; member
[all …]
Dipv6_frag.h34 const struct frag_v6_compare_key *key = a; in ip6frag_init() local
57 const struct frag_v6_compare_key *key = arg->key; in ip6frag_obj_cmpfn() local
/include/keys/
Duser-type.h46 static inline const struct user_key_payload *user_key_payload_rcu(const struct key *key) in user_key_payload_rcu()
51 static inline struct user_key_payload *user_key_payload_locked(const struct key *key) in user_key_payload_locked()
/include/crypto/
Dxts.h12 const u8 *key, unsigned int keylen) in xts_check_key()
36 const u8 *key, unsigned int keylen) in xts_verify_key()
Dblake2s.h47 const void *key, size_t keylen) in __blake2s_init()
77 const size_t outlen, const void *key, in blake2s_init_key()
89 static inline void blake2s(u8 *out, const u8 *in, const u8 *key, in blake2s()
/include/uapi/rdma/
Dcxgb3-abi.h52 __aligned_u64 key; member
58 __aligned_u64 key; member
66 __aligned_u64 key; member
/include/uapi/linux/
Dsed-opal.h51 __u8 key[OPAL_KEY_MAX]; member
55 struct opal_key key; member
98 struct opal_key key; member
104 struct opal_key key; member
110 struct opal_key key; member
Dagpgart.h93 int key; /* tag of allocation */ member
103 int key; /* tag of allocation */ member
108 int key; /* tag of allocation */ member
/include/net/sctp/
Dauth.h50 struct sctp_auth_bytes *key; member
62 static inline void sctp_auth_key_hold(struct sctp_auth_bytes *key) in sctp_auth_key_hold()

123456