diff options
author | Eric Biggers <ebiggers@google.com> | 2023-10-22 01:10:55 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-10-27 18:04:29 +0800 |
commit | 4d707a47517674434a7adb3a11ca9e1c9d4a1adf (patch) | |
tree | 78433f60260f6e4ab943d0a6ad9b76fbad09ee52 /crypto/ahash.c | |
parent | c2435e81a6930fed5aeb0aecc219b467a3045f5d (diff) |
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>
Diffstat (limited to 'crypto/ahash.c')
-rw-r--r-- | crypto/ahash.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/crypto/ahash.c b/crypto/ahash.c index 556c95010093..1ad402f4dac6 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> */ |