summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/hisilicon/hpre
diff options
context:
space:
mode:
authorRuiqi Gong <gongruiqi1@huawei.com>2021-03-30 13:51:24 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2021-04-09 09:41:06 +0200
commitfd4317b7b2c96e51b5ff3bed2af4ccfd66e9288a (patch)
tree23f4e01cd937307871903d91bc5c894156c4dd13 /drivers/crypto/hisilicon/hpre
parentcrypto: ccp - A value assigned to a variable is never used (diff)
downloadlinux-fd4317b7b2c96e51b5ff3bed2af4ccfd66e9288a.tar.xz
linux-fd4317b7b2c96e51b5ff3bed2af4ccfd66e9288a.zip
crypto: hisilicon/hpre - fix a typo in hpre_crypto.c
Do a trivial typo fix. s/discribed/described Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Ruiqi Gong <gongruiqi1@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/hisilicon/hpre')
-rw-r--r--drivers/crypto/hisilicon/hpre/hpre_crypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/hisilicon/hpre/hpre_crypto.c b/drivers/crypto/hisilicon/hpre/hpre_crypto.c
index f363653b32e9..1b7f15125275 100644
--- a/drivers/crypto/hisilicon/hpre/hpre_crypto.c
+++ b/drivers/crypto/hisilicon/hpre/hpre_crypto.c
@@ -1769,7 +1769,7 @@ static int hpre_curve25519_src_init(struct hpre_asym_request *hpre_req,
/*
* Src_data(gx) is in little-endian order, MSB in the final byte should
- * be masked as discribed in RFC7748, then transform it to big-endian
+ * be masked as described in RFC7748, then transform it to big-endian
* form, then hisi_hpre can use the data.
*/
ptr[31] &= 0x7f;