/linux-4.19.296/crypto/ |
D | rsa.c | 89 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/ |
D | pkeys.h | 12 #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
|
D | mman.h | 81 #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()
|
D | lsm_audit.h | 52 u16 pkey; member
|
D | security.h | 1469 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/ |
D | neighbour.h | 197 __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 …]
|
D | ndisc.h | 367 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()
|
D | arp.h | 13 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/ |
D | digsig.c | 81 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/ |
D | ib_cache.h | 70 u16 *pkey); 85 u16 pkey, 101 u16 pkey,
|
D | ib_addr.h | 121 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()
|
D | ib_sa.h | 200 __be16 pkey; member 342 __be16 pkey; member 399 __be16 pkey; member
|
D | ib_pack.h | 219 __be16 pkey; member
|
D | ib_cm.h | 245 u16 pkey; member
|
D | ib_verbs.h | 2179 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/ |
D | public_key.c | 65 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/ |
D | Makefile | 16 pkey-objs := pkey_api.o 17 obj-$(CONFIG_PKEY) += pkey.o
|
/linux-4.19.296/include/uapi/rdma/ |
D | ib_user_sa.h | 64 __be16 pkey; member
|
D | rdma_user_cm.h | 173 __u16 pkey; member
|
D | ib_user_cm.h | 288 __u16 pkey; member
|
/linux-4.19.296/include/crypto/ |
D | public_key.h | 71 int public_key_verify_signature(const struct public_key *pkey,
|
/linux-4.19.296/include/linux/mlx5/ |
D | vport.h | 71 u16 *pkey);
|
D | mlx5_ifc_fpga.h | 230 u8 pkey[0x10]; member
|
/linux-4.19.296/include/linux/sched/ |
D | signal.h | 321 int force_sig_pkuerr(void __user *addr, u32 pkey);
|
/linux-4.19.296/include/linux/qed/ |
D | qed_rdma_if.h | 377 u16 pkey; member
|