Home
last modified time | relevance | path

Searched refs:local_apqns (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/s390/crypto/
H A Dpkey_ep11.c191 struct pkey_apqn *local_apqns = NULL; in ep11_key2protkey() local
228 local_apqns = kmalloc_array(nr_apqns, sizeof(struct pkey_apqn), in ep11_key2protkey()
230 if (!local_apqns) in ep11_key2protkey()
232 rc = ep11_apqns4key(key, keylen, 0, local_apqns, &nr_apqns); in ep11_key2protkey()
235 apqns = local_apqns; in ep11_key2protkey()
264 kfree(local_apqns); in ep11_key2protkey()
283 struct pkey_apqn *local_apqns = NULL; in ep11_gen_key() local
319 local_apqns = kmalloc_array(nr_apqns, sizeof(struct pkey_apqn), in ep11_gen_key()
321 if (!local_apqns) in ep11_gen_key()
324 local_apqns, &nr_apqns); in ep11_gen_key()
[all …]
H A Dpkey_cca.c218 struct pkey_apqn *local_apqns = NULL; in cca_key2protkey() local
256 local_apqns = kmalloc_array(nr_apqns, sizeof(struct pkey_apqn), in cca_key2protkey()
258 if (!local_apqns) in cca_key2protkey()
260 rc = cca_apqns4key(key, keylen, 0, local_apqns, &nr_apqns); in cca_key2protkey()
263 apqns = local_apqns; in cca_key2protkey()
288 kfree(local_apqns); in cca_key2protkey()
307 struct pkey_apqn *local_apqns = NULL; in cca_gen_key() local
343 local_apqns = kmalloc_array(nr_apqns, sizeof(struct pkey_apqn), in cca_gen_key()
345 if (!local_apqns) in cca_gen_key()
348 local_apqns, &nr_apqns); in cca_gen_key()
[all …]