Home
last modified time | relevance | path

Searched refs:ktp (Results 1 – 5 of 5) sorted by relevance

/drivers/s390/crypto/
Dpkey_api.c1279 struct pkey_kblob2pkey ktp; in pkey_unlocked_ioctl() local
1282 if (copy_from_user(&ktp, utp, sizeof(ktp))) in pkey_unlocked_ioctl()
1284 kkey = _copy_key_from_user(ktp.key, ktp.keylen); in pkey_unlocked_ioctl()
1287 rc = pkey_keyblob2pkey(kkey, ktp.keylen, &ktp.protkey); in pkey_unlocked_ioctl()
1289 memzero_explicit(kkey, ktp.keylen); in pkey_unlocked_ioctl()
1293 if (copy_to_user(utp, &ktp, sizeof(ktp))) in pkey_unlocked_ioctl()
1405 struct pkey_kblob2pkey2 ktp; in pkey_unlocked_ioctl() local
1409 if (copy_from_user(&ktp, utp, sizeof(ktp))) in pkey_unlocked_ioctl()
1411 apqns = _copy_apqns_from_user(ktp.apqns, ktp.apqn_entries); in pkey_unlocked_ioctl()
1414 kkey = _copy_key_from_user(ktp.key, ktp.keylen); in pkey_unlocked_ioctl()
[all …]
/drivers/net/wireless/broadcom/b43legacy/
Db43legacy.h732 u16 ktp; /* Key table pointer */ member
Dmain.c2386 dev->ktp = b43legacy_shm_read16(dev, B43legacy_SHM_SHARED, in b43legacy_security_init()
2391 dev->ktp *= 2; in b43legacy_security_init()
/drivers/net/wireless/broadcom/b43/
Db43.h878 u16 ktp; /* Key table pointer */ member
Dmain.c840 offset = dev->ktp + (index * B43_SEC_KEYSIZE); in key_write()
1112 offset = dev->ktp + (index * B43_SEC_KEYSIZE); in b43_dump_keymemory()
3522 dev->ktp = b43_shm_read16(dev, B43_SHM_SHARED, B43_SHM_SH_KTP); in b43_security_init()
3526 dev->ktp *= 2; in b43_security_init()