Lines Matching refs:kvk
1225 struct pkey_verifykey kvk; in pkey_unlocked_ioctl() local
1227 if (copy_from_user(&kvk, uvk, sizeof(kvk))) in pkey_unlocked_ioctl()
1229 rc = pkey_verifykey(&kvk.seckey, &kvk.cardnr, &kvk.domain, in pkey_unlocked_ioctl()
1230 &kvk.keysize, &kvk.attributes); in pkey_unlocked_ioctl()
1234 if (copy_to_user(uvk, &kvk, sizeof(kvk))) in pkey_unlocked_ioctl()
1368 struct pkey_verifykey2 kvk; in pkey_unlocked_ioctl() local
1371 if (copy_from_user(&kvk, uvk, sizeof(kvk))) in pkey_unlocked_ioctl()
1373 kkey = _copy_key_from_user(kvk.key, kvk.keylen); in pkey_unlocked_ioctl()
1376 rc = pkey_verifykey2(kkey, kvk.keylen, in pkey_unlocked_ioctl()
1377 &kvk.cardnr, &kvk.domain, in pkey_unlocked_ioctl()
1378 &kvk.type, &kvk.size, &kvk.flags); in pkey_unlocked_ioctl()
1383 if (copy_to_user(uvk, &kvk, sizeof(kvk))) in pkey_unlocked_ioctl()