crypto: hmac - Add support for cloning
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 13 Apr 2023 06:24:21 +0000 (14:24 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 20 Apr 2023 10:20:04 +0000 (18:20 +0800)
commit8538e60d36d0c683d59eaeabea19f101a6cf1c66
tree809d03702962624f252e0929825d4a044a8fd1a9
parented3630b83e9394acef27041de7a2223f1e875e9a
crypto: hmac - Add support for cloning

Allow hmac to be cloned.  The underlying hash can be used directly
with a reference count.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/hmac.c