Lines Matching refs:pkey_apqn
74 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()
399 local_apqns = kmalloc_array(nr_apqns, sizeof(struct pkey_apqn), in ep11_clr2key()
455 *card = ((struct pkey_apqn *)apqns)->card; in ep11_verifykey()
456 *dom = ((struct pkey_apqn *)apqns)->domain; in ep11_verifykey()
479 *card = ((struct pkey_apqn *)apqns)->card; in ep11_verifykey()
480 *dom = ((struct pkey_apqn *)apqns)->domain; in ep11_verifykey()
500 static int ep11_slowpath_key2protkey(const struct pkey_apqn *apqns, in ep11_slowpath_key2protkey()