summaryrefslogtreecommitdiff
path: root/crypto/blake2s_generic.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2020-12-23 11:09:53 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2021-01-03 00:41:38 +0300
commit057edc9c8bb2d5ff5b058b521792c392428a0714 (patch)
treec9eef3ec1b8c2291af5b0ed0dec286a6efac251c /crypto/blake2s_generic.c
parentdf412e7efda1e2c5b5fcb06701bba77434cbd1e8 (diff)
downloadlinux-057edc9c8bb2d5ff5b058b521792c392428a0714.tar.xz
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/blake2s_generic.c')
0 files changed, 0 insertions, 0 deletions