Searched refs:seckey (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.4/arch/s390/include/uapi/asm/ |
| D | pkey.h | 74 __u8 seckey[SECKEYBLOBSIZE]; /* the secure key blob */ member 96 struct pkey_seckey seckey; /* out: the secure key blob */ member 108 struct pkey_seckey seckey; /* out: the secure key blob */ member 118 struct pkey_seckey seckey; /* in: the secure key blob */ member 138 struct pkey_seckey seckey; /* in: the secure key blob */ member 148 struct pkey_seckey seckey; /* in: the secure key blob */ member 162 struct pkey_seckey seckey; /* in: the secure key blob */ member
|
| /Linux-v5.4/drivers/s390/crypto/ |
| D | pkey_api.c | 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() [all …]
|
| D | zcrypt_ccamisc.h | 127 int cca_genseckey(u16 cardnr, u16 domain, u32 keybitsize, u8 *seckey); 133 const u8 *clrkey, u8 *seckey); 139 const u8 seckey[SECKEYBLOBSIZE],
|
| D | zcrypt_ccamisc.c | 273 u32 keybitsize, u8 seckey[SECKEYBLOBSIZE]) in cca_genseckey() 403 memcpy(seckey, prepparm->lv3.keyblock.tok, SECKEYBLOBSIZE); in cca_genseckey() 415 const u8 *clrkey, u8 seckey[SECKEYBLOBSIZE]) in cca_clr2seckey() 540 if (seckey) in cca_clr2seckey() 541 memcpy(seckey, prepparm->lv3.keyblock.tok, SECKEYBLOBSIZE); in cca_clr2seckey() 553 const u8 seckey[SECKEYBLOBSIZE], in cca_sec2protkey() 618 memcpy(preqparm->lv2.token, seckey, SECKEYBLOBSIZE); in cca_sec2protkey()
|
| /Linux-v5.4/drivers/staging/wusbcore/host/whci/ |
| D | wusb.c | 134 uint32_t seckey[4]; in whc_set_key() local 138 memcpy(seckey, key, key_size); in whc_set_key() 145 le_writel(seckey[i], whc->base + WUSBSECKEY + 4*i); in whc_set_key()
|