Lines Matching refs:seckey
178 static int pkey_verifykey(const struct pkey_seckey *seckey, in pkey_verifykey() argument
182 struct secaeskeytoken *t = (struct secaeskeytoken *) seckey; in pkey_verifykey()
187 rc = cca_check_secaeskeytoken(debug_info, 3, (u8 *) seckey, 0); in pkey_verifykey()
196 rc = cca_findcard(seckey->seckey, &cardnr, &domain, 1); in pkey_verifykey()
763 kgs.keytype, kgs.seckey.seckey); in pkey_unlocked_ioctl()
778 kcs.clrkey.clrkey, kcs.seckey.seckey); in pkey_unlocked_ioctl()
794 ksp.seckey.seckey, ksp.protkey.protkey, in pkey_unlocked_ioctl()
825 rc = cca_findcard(kfc.seckey.seckey, in pkey_unlocked_ioctl()
840 rc = pkey_skey2pkey(ksp.seckey.seckey, &ksp.protkey); in pkey_unlocked_ioctl()
854 rc = pkey_verifykey(&kvk.seckey, &kvk.cardnr, &kvk.domain, in pkey_unlocked_ioctl()
1272 struct pkey_seckey *seckey = (struct pkey_seckey *) buf; in pkey_ccadata_aes_attr_read() local
1280 rc = cca_genseckey(-1, -1, keytype, seckey->seckey); in pkey_ccadata_aes_attr_read()
1285 seckey++; in pkey_ccadata_aes_attr_read()
1286 rc = cca_genseckey(-1, -1, keytype, seckey->seckey); in pkey_ccadata_aes_attr_read()