aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2020-01-17 09:28:19 +0000
committerHerbert Xu <herbert@gondor.apana.org.au>2020-01-22 16:21:11 +0800
commit2203d3f7971d28a2bcd8e2439bcead9069089e9a (patch)
tree07a23e829aa70414ab8ea66f01ae0baa59adcac0 /drivers/crypto
parentcrypto: chacha20poly1305 - add back missing test vectors and test chunking (diff)
downloadlinux-dev-2203d3f7971d28a2bcd8e2439bcead9069089e9a.tar.xz
linux-dev-2203d3f7971d28a2bcd8e2439bcead9069089e9a.zip
crypto: hisilicon - fix spelling mistake "disgest" -> "digest"
There is a spelling mistake in an error message. Fix it. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/hisilicon/sec2/sec_crypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/hisilicon/sec2/sec_crypto.c b/drivers/crypto/hisilicon/sec2/sec_crypto.c
index a0a35685e838..a2cfcc9ccd94 100644
--- a/drivers/crypto/hisilicon/sec2/sec_crypto.c
+++ b/drivers/crypto/hisilicon/sec2/sec_crypto.c
@@ -690,7 +690,7 @@ static int sec_aead_auth_set_key(struct sec_auth_ctx *ctx,
ret = crypto_shash_digest(shash, keys->authkey,
keys->authkeylen, ctx->a_key);
if (ret) {
- pr_err("hisi_sec2: aead auth disgest error!\n");
+ pr_err("hisi_sec2: aead auth digest error!\n");
return -EINVAL;
}
ctx->a_key_len = blocksize;