Home
last modified time | relevance | path

Searched refs:pkey_apqn (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/s390/crypto/
Dpkey_base.h124 int (*key_to_protkey)(const struct pkey_apqn *apqns, size_t nr_apqns,
127 int (*slowpath_key_to_protkey)(const struct pkey_apqn *apqns,
132 int (*gen_key)(const struct pkey_apqn *apqns, size_t nr_apqns,
136 int (*clr_to_key)(const struct pkey_apqn *apqns, size_t nr_apqns,
145 struct pkey_apqn *apqns, size_t *nr_apqns);
148 struct pkey_apqn *apqns, size_t *nr_apqns);
164 int pkey_handler_key_to_protkey(const struct pkey_apqn *apqns, size_t nr_apqns,
167 int pkey_handler_slowpath_key_to_protkey(const struct pkey_apqn *apqns,
172 int pkey_handler_gen_key(const struct pkey_apqn *apqns, size_t nr_apqns,
176 int pkey_handler_clr_to_key(const struct pkey_apqn *apqns, size_t nr_apqns,
[all …]
Dpkey_ep11.c74 struct pkey_apqn *apqns, size_t *nr_apqns) in ep11_apqns4key()
146 struct pkey_apqn *apqns, size_t *nr_apqns) in ep11_apqns4type()
187 static int ep11_key2protkey(const struct pkey_apqn *apqns, size_t nr_apqns, in ep11_key2protkey()
192 struct pkey_apqn *local_apqns = NULL; in ep11_key2protkey()
229 local_apqns = kmalloc_array(nr_apqns, sizeof(struct pkey_apqn), in ep11_key2protkey()
279 static int ep11_gen_key(const struct pkey_apqn *apqns, size_t nr_apqns, in ep11_gen_key()
284 struct pkey_apqn *local_apqns = NULL; in ep11_gen_key()
320 local_apqns = kmalloc_array(nr_apqns, sizeof(struct pkey_apqn), in ep11_gen_key()
352 static int ep11_clr2key(const struct pkey_apqn *apqns, size_t nr_apqns, in ep11_clr2key()
358 struct pkey_apqn *local_apqns = NULL; in ep11_clr2key()
[all …]
Dpkey_cca.c74 struct pkey_apqn *apqns, size_t *nr_apqns) in cca_apqns4key()
158 struct pkey_apqn *apqns, size_t *nr_apqns) in cca_apqns4type()
214 static int cca_key2protkey(const struct pkey_apqn *apqns, size_t nr_apqns, in cca_key2protkey()
219 struct pkey_apqn *local_apqns = NULL; in cca_key2protkey()
257 local_apqns = kmalloc_array(nr_apqns, sizeof(struct pkey_apqn), in cca_key2protkey()
303 static int cca_gen_key(const struct pkey_apqn *apqns, size_t nr_apqns, in cca_gen_key()
308 struct pkey_apqn *local_apqns = NULL; in cca_gen_key()
344 local_apqns = kmalloc_array(nr_apqns, sizeof(struct pkey_apqn), in cca_gen_key()
383 static int cca_clr2key(const struct pkey_apqn *apqns, size_t nr_apqns, in cca_clr2key()
389 struct pkey_apqn *local_apqns = NULL; in cca_clr2key()
[all …]
Dpkey_api.c25 static int key2protkey(const struct pkey_apqn *apqns, size_t nr_apqns, in key2protkey()
88 return memdup_user(uapqns, nr_apqns * sizeof(struct pkey_apqn)); in _copy_apqns_from_user()
94 struct pkey_apqn apqn; in pkey_ioctl_genseck()
118 struct pkey_apqn apqn; in pkey_ioctl_clr2seck()
144 struct pkey_apqn apqn; in pkey_ioctl_sec2protk()
216 struct pkey_apqn *apqns; in pkey_ioctl_findcard()
224 apqns = kmalloc_array(nr_apqns, sizeof(struct pkey_apqn), GFP_KERNEL); in pkey_ioctl_findcard()
394 struct pkey_apqn *apqns; in pkey_ioctl_genseck2()
446 struct pkey_apqn *apqns; in pkey_ioctl_clr2seck2()
529 struct pkey_apqn *apqns = NULL; in pkey_ioctl_kblob2protk2()
[all …]
Dpkey_base.c151 int pkey_handler_key_to_protkey(const struct pkey_apqn *apqns, size_t nr_apqns, in pkey_handler_key_to_protkey()
176 int pkey_handler_slowpath_key_to_protkey(const struct pkey_apqn *apqns, in pkey_handler_slowpath_key_to_protkey()
210 int pkey_handler_gen_key(const struct pkey_apqn *apqns, size_t nr_apqns, in pkey_handler_gen_key()
230 int pkey_handler_clr_to_key(const struct pkey_apqn *apqns, size_t nr_apqns, in pkey_handler_clr_to_key()
270 struct pkey_apqn *apqns, size_t *nr_apqns) in pkey_handler_apqns_for_key()
286 struct pkey_apqn *apqns, size_t *nr_apqns) in pkey_handler_apqns_for_keytype()
Dpkey_pckmo.c493 static int pkey_pckmo_key2protkey(const struct pkey_apqn *_apqns, in pkey_pckmo_key2protkey()
502 static int pkey_pckmo_gen_key(const struct pkey_apqn *_apqns, size_t _nr_apqns, in pkey_pckmo_gen_key()
/linux-6.12.1/arch/s390/include/uapi/asm/
Dpkey.h83 struct pkey_apqn { struct
252 struct pkey_apqn __user *apqns; /* in: ptr to list of apqn targets*/
285 struct pkey_apqn __user *apqns; /* in: ptr to list of apqn targets */
350 struct pkey_apqn __user *apqns; /* in: ptr to list of apqn targets */
386 struct pkey_apqn __user *apqns; /* in/out: ptr to list of apqn targets*/
425 struct pkey_apqn __user *apqns; /* in/out: ptr to list of apqn targets*/
449 struct pkey_apqn __user *apqns; /* in: ptr to list of apqn targets */