Home
last modified time | relevance | path

Searched refs:pkey (Results 1 – 25 of 29) sorted by relevance

12

/linux-4.19.296/crypto/
Drsa.c89 const struct rsa_mpi_key *pkey = rsa_get_key(tfm); in rsa_enc() local
97 if (unlikely(!pkey->n || !pkey->e)) { in rsa_enc()
107 ret = _rsa_enc(pkey, c, m); in rsa_enc()
128 const struct rsa_mpi_key *pkey = rsa_get_key(tfm); in rsa_dec() local
136 if (unlikely(!pkey->n || !pkey->d)) { in rsa_dec()
146 ret = _rsa_dec(pkey, m, c); in rsa_dec()
166 const struct rsa_mpi_key *pkey = rsa_get_key(tfm); in rsa_sign() local
174 if (unlikely(!pkey->n || !pkey->d)) { in rsa_sign()
184 ret = _rsa_sign(pkey, s, m); in rsa_sign()
205 const struct rsa_mpi_key *pkey = rsa_get_key(tfm); in rsa_verify() local
[all …]
/linux-4.19.296/include/linux/
Dpkeys.h12 #define arch_override_mprotect_pkey(vma, prot, pkey) (0) argument
21 static inline bool mm_pkey_is_allocated(struct mm_struct *mm, int pkey) in mm_pkey_is_allocated() argument
23 return (pkey == 0); in mm_pkey_is_allocated()
31 static inline int mm_pkey_free(struct mm_struct *mm, int pkey) in mm_pkey_free() argument
36 static inline int arch_set_user_pkey_access(struct task_struct *tsk, int pkey, in arch_set_user_pkey_access() argument
Dmman.h81 #define arch_calc_vm_prot_bits(prot, pkey) 0 argument
117 calc_vm_prot_bits(unsigned long prot, unsigned long pkey) in calc_vm_prot_bits() argument
122 arch_calc_vm_prot_bits(prot, pkey); in calc_vm_prot_bits()
Dlsm_audit.h52 u16 pkey; member
Dsecurity.h1469 int security_ib_pkey_access(void *sec, u64 subnet_prefix, u16 pkey);
1474 static inline int security_ib_pkey_access(void *sec, u64 subnet_prefix, u16 pkey) in security_ib_pkey_access() argument
/linux-4.19.296/include/net/
Dneighbour.h197 __u32 (*hash)(const void *pkey,
200 bool (*key_eq)(const struct neighbour *, const void *pkey);
254 static inline bool neigh_key_eq32(const struct neighbour *n, const void *pkey) in neigh_key_eq32() argument
256 return *(const u32 *)n->primary_key == *(const u32 *)pkey; in neigh_key_eq32()
259 static inline bool neigh_key_eq128(const struct neighbour *n, const void *pkey) in neigh_key_eq128() argument
262 const u32 *p32 = pkey; in neigh_key_eq128()
270 bool (*key_eq)(const struct neighbour *n, const void *pkey), in ___neigh_lookup_noref() argument
271 __u32 (*hash)(const void *pkey, in ___neigh_lookup_noref() argument
274 const void *pkey, in ___neigh_lookup_noref()
281 hash_val = hash(pkey, dev, nht->hash_rnd) >> (32 - nht->hash_shift); in ___neigh_lookup_noref()
[all …]
Dndisc.h367 static inline u32 ndisc_hashfn(const void *pkey, const struct net_device *dev, __u32 *hash_rnd) in ndisc_hashfn() argument
369 const u32 *p32 = pkey; in ndisc_hashfn()
377 static inline struct neighbour *__ipv6_neigh_lookup_noref(struct net_device *dev, const void *pkey) in __ipv6_neigh_lookup_noref() argument
379 return ___neigh_lookup_noref(&nd_tbl, neigh_key_eq128, ndisc_hashfn, pkey, dev); in __ipv6_neigh_lookup_noref()
382 static inline struct neighbour *__ipv6_neigh_lookup(struct net_device *dev, const void *pkey) in __ipv6_neigh_lookup() argument
387 n = __ipv6_neigh_lookup_noref(dev, pkey); in __ipv6_neigh_lookup()
396 const void *pkey) in __ipv6_confirm_neigh() argument
401 n = __ipv6_neigh_lookup_noref(dev, pkey); in __ipv6_confirm_neigh()
Darp.h13 static inline u32 arp_hashfn(const void *pkey, const struct net_device *dev, u32 *hash_rnd) in arp_hashfn() argument
15 u32 key = *(const u32 *)pkey; in arp_hashfn()
/linux-4.19.296/lib/
Ddigsig.c81 MPI in = NULL, res = NULL, pkey[2]; in digsig_verify_rsa() local
115 pkey[i] = mpi_read_from_buffer(datap, &remaining); in digsig_verify_rsa()
116 if (IS_ERR(pkey[i])) { in digsig_verify_rsa()
117 err = PTR_ERR(pkey[i]); in digsig_verify_rsa()
123 mblen = mpi_get_nbits(pkey[0]); in digsig_verify_rsa()
148 err = mpi_powm(res, in, pkey[1], pkey[0]); in digsig_verify_rsa()
180 mpi_free(pkey[i]); in digsig_verify_rsa()
/linux-4.19.296/include/rdma/
Dib_cache.h70 u16 *pkey);
85 u16 pkey,
101 u16 pkey,
Dib_addr.h121 static inline void ib_addr_set_pkey(struct rdma_dev_addr *dev_addr, u16 pkey) in ib_addr_set_pkey() argument
123 dev_addr->broadcast[8] = pkey >> 8; in ib_addr_set_pkey()
124 dev_addr->broadcast[9] = (unsigned char) pkey; in ib_addr_set_pkey()
Dib_sa.h200 __be16 pkey; member
342 __be16 pkey; member
399 __be16 pkey; member
Dib_pack.h219 __be16 pkey; member
Dib_cm.h245 u16 pkey; member
Dib_verbs.h2179 struct ib_pkey_cache *pkey; member
2354 u8 port_num, u16 index, u16 *pkey);
2619 u16 pkey,
3103 u8 port_num, u16 index, u16 *pkey);
3117 u8 port_num, u16 pkey, u16 *index);
3903 u16 pkey, const union ib_gid *gid,
/linux-4.19.296/crypto/asymmetric_keys/
Dpublic_key.c65 int public_key_verify_signature(const struct public_key *pkey, in public_key_verify_signature() argument
80 BUG_ON(!pkey); in public_key_verify_signature()
109 ret = crypto_akcipher_set_pub_key(tfm, pkey->key, pkey->keylen); in public_key_verify_signature()
/linux-4.19.296/drivers/s390/crypto/
DMakefile16 pkey-objs := pkey_api.o
17 obj-$(CONFIG_PKEY) += pkey.o
/linux-4.19.296/include/uapi/rdma/
Dib_user_sa.h64 __be16 pkey; member
Drdma_user_cm.h173 __u16 pkey; member
Dib_user_cm.h288 __u16 pkey; member
/linux-4.19.296/include/crypto/
Dpublic_key.h71 int public_key_verify_signature(const struct public_key *pkey,
/linux-4.19.296/include/linux/mlx5/
Dvport.h71 u16 *pkey);
Dmlx5_ifc_fpga.h230 u8 pkey[0x10]; member
/linux-4.19.296/include/linux/sched/
Dsignal.h321 int force_sig_pkuerr(void __user *addr, u32 pkey);
/linux-4.19.296/include/linux/qed/
Dqed_rdma_if.h377 u16 pkey; member

12