OSDN Git Service

crypto: hisilicon - fix spelling mistake "disgest" -> "digest"
authorColin Ian King <colin.king@canonical.com>
Fri, 17 Jan 2020 09:28:19 +0000 (09:28 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 22 Jan 2020 08:21:11 +0000 (16:21 +0800)
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>
drivers/crypto/hisilicon/sec2/sec_crypto.c

index a0a3568..a2cfcc9 100644 (file)
@@ -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;