Commit 05ccaca0 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Vasily Gorbik

s390/pkey/zcrypt: spelling s/crytp/crypt/

Fix typos in a comments.

Link: https://lkml.kernel.org/r/20200212084622.9219-1-geert+renesas@glider.beSigned-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
parent 0d730b57
...@@ -887,7 +887,7 @@ static int ep11_unwrapkey(u16 card, u16 domain, ...@@ -887,7 +887,7 @@ static int ep11_unwrapkey(u16 card, u16 domain,
/* empty pin tag */ /* empty pin tag */
*p++ = 0x04; *p++ = 0x04;
*p++ = 0; *p++ = 0;
/* encrytped key value tag and bytes */ /* encrypted key value tag and bytes */
p += asn1tag_write(p, 0x04, enckey, enckeysize); p += asn1tag_write(p, 0x04, enckey, enckeysize);
/* reply cprb and payload */ /* reply cprb and payload */
...@@ -1095,7 +1095,7 @@ int ep11_clr2keyblob(u16 card, u16 domain, u32 keybitsize, u32 keygenflags, ...@@ -1095,7 +1095,7 @@ int ep11_clr2keyblob(u16 card, u16 domain, u32 keybitsize, u32 keygenflags,
/* Step 1: generate AES 256 bit random kek key */ /* Step 1: generate AES 256 bit random kek key */
rc = ep11_genaeskey(card, domain, 256, rc = ep11_genaeskey(card, domain, 256,
0x00006c00, /* EN/DECRYTP, WRAP/UNWRAP */ 0x00006c00, /* EN/DECRYPT, WRAP/UNWRAP */
kek, &keklen); kek, &keklen);
if (rc) { if (rc) {
DEBUG_ERR( DEBUG_ERR(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment