Searched refs:kgp (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/s390/crypto/ |
D | pkey_api.c | 305 struct pkey_genprotk kgp; in pkey_ioctl_genprotk() local 308 if (copy_from_user(&kgp, ugp, sizeof(kgp))) in pkey_ioctl_genprotk() 311 kgp.protkey.len = sizeof(kgp.protkey.protkey); in pkey_ioctl_genprotk() 312 rc = pkey_handler_gen_key(NULL, 0, kgp.keytype, in pkey_ioctl_genprotk() 314 kgp.protkey.protkey, &kgp.protkey.len, in pkey_ioctl_genprotk() 315 &kgp.protkey.type); in pkey_ioctl_genprotk() 317 if (!rc && copy_to_user(ugp, &kgp, sizeof(kgp))) in pkey_ioctl_genprotk() 319 memzero_explicit(&kgp, sizeof(kgp)); in pkey_ioctl_genprotk()
|