Lines Matching refs:protkey

27 		       u8 *protkey, u32 *protkeylen, u32 *protkeytype)  in key2protkey()  argument
34 protkey, protkeylen, in key2protkey()
41 protkey, protkeylen, in key2protkey()
55 u8 *protkey, u32 *protkeylen, u32 *protkeytype) in pkey_key2protkey() argument
60 protkey, protkeylen, protkeytype); in pkey_key2protkey()
64 protkey, protkeylen, protkeytype); in pkey_key2protkey()
152 ksp.protkey.len = sizeof(ksp.protkey.protkey); in pkey_ioctl_sec2protk()
156 ksp.protkey.protkey, in pkey_ioctl_sec2protk()
157 &ksp.protkey.len, &ksp.protkey.type); in pkey_ioctl_sec2protk()
196 kcp.protkey.len = sizeof(kcp.protkey.protkey); in pkey_ioctl_clr2protk()
200 kcp.protkey.protkey, in pkey_ioctl_clr2protk()
201 &kcp.protkey.len, &kcp.protkey.type); in pkey_ioctl_clr2protk()
259 ksp.protkey.len = sizeof(ksp.protkey.protkey); in pkey_ioctl_skey2pkey()
263 ksp.protkey.protkey, in pkey_ioctl_skey2pkey()
264 &ksp.protkey.len, in pkey_ioctl_skey2pkey()
265 &ksp.protkey.type); in pkey_ioctl_skey2pkey()
311 kgp.protkey.len = sizeof(kgp.protkey.protkey); in pkey_ioctl_genprotk()
314 kgp.protkey.protkey, &kgp.protkey.len, in pkey_ioctl_genprotk()
315 &kgp.protkey.type); in pkey_ioctl_genprotk()
335 keytype = pkey_aes_bitsize_to_keytype(8 * kvp.protkey.len); in pkey_ioctl_verifyprotk()
338 __func__, kvp.protkey.len); in pkey_ioctl_verifyprotk()
353 t->len = kvp.protkey.len; in pkey_ioctl_verifyprotk()
354 memcpy(t->protkey, kvp.protkey.protkey, kvp.protkey.len); in pkey_ioctl_verifyprotk()
377 ktp.protkey.len = sizeof(ktp.protkey.protkey); in pkey_ioctl_kblob2protk()
379 ktp.protkey.protkey, &ktp.protkey.len, in pkey_ioctl_kblob2protk()
380 &ktp.protkey.type); in pkey_ioctl_kblob2protk()
544 ktp.protkey.len = sizeof(ktp.protkey.protkey); in pkey_ioctl_kblob2protk2()
546 ktp.protkey.protkey, &ktp.protkey.len, in pkey_ioctl_kblob2protk2()
547 &ktp.protkey.type); in pkey_ioctl_kblob2protk2()
661 u8 *kkey, *protkey; in pkey_ioctl_kblob2protk3() local
674 protkey = kmalloc(protkeylen, GFP_KERNEL); in pkey_ioctl_kblob2protk3()
675 if (!protkey) { in pkey_ioctl_kblob2protk3()
681 protkey, &protkeylen, &ktp.pkeytype); in pkey_ioctl_kblob2protk3()
686 kfree_sensitive(protkey); in pkey_ioctl_kblob2protk3()
691 kfree_sensitive(protkey); in pkey_ioctl_kblob2protk3()
694 if (copy_to_user(ktp.pkey, protkey, protkeylen)) { in pkey_ioctl_kblob2protk3()
695 kfree_sensitive(protkey); in pkey_ioctl_kblob2protk3()
699 kfree_sensitive(protkey); in pkey_ioctl_kblob2protk3()