diff options
author | Eric Biggers <ebiggers@kernel.org> | 2025-07-12 16:22:55 -0700 |
---|---|---|
committer | Eric Biggers <ebiggers@kernel.org> | 2025-07-14 08:59:20 -0700 |
commit | 4cbc84471bb606ddfaf424709dd8d56b56d7ae7b (patch) | |
tree | b357bebae640703af730fb107bd00b8c56959fd3 /scripts/lib/kdoc/kdoc_files.py | |
parent | 90860aef630c5c9e58d05044f2866fcbfa7aa4d9 (diff) |
lib/crypto: sha1: Add HMAC support
Add HMAC support to the SHA-1 library, again following what was done for
SHA-2. Besides providing the basis for a more streamlined "hmac(sha1)"
shash, this will also be useful for multiple in-kernel users such as
net/sctp/auth.c, net/ipv6/seg6_hmac.c, and
security/keys/trusted-keys/trusted_tpm1.c. Those are currently using
crypto_shash, but using the library functions would be much simpler.
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20250712232329.818226-5-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions