Lines Matching refs:kvk
1444 struct pkey_verifykey kvk; in pkey_unlocked_ioctl() local
1446 if (copy_from_user(&kvk, uvk, sizeof(kvk))) in pkey_unlocked_ioctl()
1448 rc = pkey_verifykey(&kvk.seckey, &kvk.cardnr, &kvk.domain, in pkey_unlocked_ioctl()
1449 &kvk.keysize, &kvk.attributes); in pkey_unlocked_ioctl()
1453 if (copy_to_user(uvk, &kvk, sizeof(kvk))) in pkey_unlocked_ioctl()
1593 struct pkey_verifykey2 kvk; in pkey_unlocked_ioctl() local
1596 if (copy_from_user(&kvk, uvk, sizeof(kvk))) in pkey_unlocked_ioctl()
1598 kkey = _copy_key_from_user(kvk.key, kvk.keylen); in pkey_unlocked_ioctl()
1601 rc = pkey_verifykey2(kkey, kvk.keylen, in pkey_unlocked_ioctl()
1602 &kvk.cardnr, &kvk.domain, in pkey_unlocked_ioctl()
1603 &kvk.type, &kvk.size, &kvk.flags); in pkey_unlocked_ioctl()
1608 if (copy_to_user(uvk, &kvk, sizeof(kvk))) in pkey_unlocked_ioctl()