Skip to content

Commit

Permalink
s390/pkey/zcrypt: spelling s/crytp/crypt/
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Geert Uytterhoeven authored and Vasily Gorbik committed Feb 17, 2020
1 parent 0d730b5 commit 05ccaca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/s390/crypto/zcrypt_ep11misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 05ccaca

Please sign in to comment.