crypto: hash - move "ahash wrapping shash" functions to ahash.c
authorEric Biggers <ebiggers@google.com>
Sun, 22 Oct 2023 08:10:58 +0000 (01:10 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 27 Oct 2023 10:04:29 +0000 (18:04 +0800)
commitecf889b70b6c0a174965a902a381f967bfd06914
tree40c0e2d1d5bf7ad9d6cfd6c4380c1ef4eb5aef42
parent9826d1d6ed5f86cb3d61610b3b1fe31e96a40418
crypto: hash - move "ahash wrapping shash" functions to ahash.c

The functions that are involved in implementing the ahash API on top of
an shash algorithm belong better in ahash.c, not in shash.c where they
currently are.  Move them.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/ahash.c
crypto/hash.h
crypto/shash.c