mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 15:54:15 +08:00
s390/pkey/zcrypt: spelling s/crytp/crypt/
Fix typos in a comments. Link: https://lkml.kernel.org/r/20200212084622.9219-1-geert+renesas@glider.be Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
This commit is contained in:
parent
0d730b57b9
commit
05ccaca003
@ -887,7 +887,7 @@ static int ep11_unwrapkey(u16 card, u16 domain,
|
||||
/* empty pin tag */
|
||||
*p++ = 0x04;
|
||||
*p++ = 0;
|
||||
/* encrytped key value tag and bytes */
|
||||
/* encrypted key value tag and bytes */
|
||||
p += asn1tag_write(p, 0x04, enckey, enckeysize);
|
||||
|
||||
/* reply cprb and payload */
|
||||
@ -1095,7 +1095,7 @@ int ep11_clr2keyblob(u16 card, u16 domain, u32 keybitsize, u32 keygenflags,
|
||||
|
||||
/* Step 1: generate AES 256 bit random kek key */
|
||||
rc = ep11_genaeskey(card, domain, 256,
|
||||
0x00006c00, /* EN/DECRYTP, WRAP/UNWRAP */
|
||||
0x00006c00, /* EN/DECRYPT, WRAP/UNWRAP */
|
||||
kek, &keklen);
|
||||
if (rc) {
|
||||
DEBUG_ERR(
|
||||
|
Loading…
Reference in New Issue
Block a user