summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2023-10-22 01:10:55 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2023-10-27 18:04:29 +0800
commit348850ab07e42bd2da1a354c38aba1527d757fe7 (patch)
tree47de66f68a6ff429db119324b77c72f26fde8e03
parent81b8024553eabe00c78fbf6184cca9f879396404 (diff)
downloadlinux-crypto-348850ab07e42bd2da1a354c38aba1527d757fe7.tar.gz
linux-crypto-348850ab07e42bd2da1a354c38aba1527d757fe7.zip
crypto: ahash - improve file comment
Improve the file comment for crypto/ahash.c. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--crypto/ahash.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/crypto/ahash.c b/crypto/ahash.c
index 556c9501..1ad402f4 100644
--- a/crypto/ahash.c
+++ b/crypto/ahash.c
@@ -2,8 +2,12 @@
/*
* Asynchronous Cryptographic Hash operations.
*
- * This is the asynchronous version of hash.c with notification of
- * completion via a callback.
+ * This is the implementation of the ahash (asynchronous hash) API. It differs
+ * from shash (synchronous hash) in that ahash supports asynchronous operations,
+ * and it hashes data from scatterlists instead of virtually addressed buffers.
+ *
+ * The ahash API provides access to both ahash and shash algorithms. The shash
+ * API only provides access to shash algorithms.
*
* Copyright (c) 2008 Loc Ho <lho@amcc.com>
*/