aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorEric Biggers2020-12-23 00:09:53 -0800
committerHerbert Xu2021-01-03 08:41:38 +1100
commit057edc9c8bb2d5ff5b058b521792c392428a0714 (patch)
treec9eef3ec1b8c2291af5b0ed0dec286a6efac251c /crypto
parentdf412e7efda1e2c5b5fcb06701bba77434cbd1e8 (diff)
crypto: blake2s - move update and final logic to internal/blake2s.h
Move most of blake2s_update() and blake2s_final() into new inline functions __blake2s_update() and __blake2s_final() in include/crypto/internal/blake2s.h so that this logic can be shared by the shash helper functions. This will avoid duplicating this logic between the library and shash implementations. Signed-off-by: Eric Biggers <ebiggers@google.com> Acked-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions