android_kernel_motorola_sm6375/lib/crypto
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Eric Biggers 8a14e1d839 UPSTREAM: 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>

(cherry picked from commit 057edc9c8bb2d5ff5b058b521792c392428a0714)
Bug: 152722841
Bug: 178411248
Change-Id: Idedf8147914839d5280e5d8eec9013264fbb45f9
Signed-off-by: Eric Biggers <ebiggers@google.com>
2021-10-23 19:32:26 -07:00
..
aes.c crypto: aes - helper function to validate key length for AES algorithms 2019-08-09 15:11:43 +10:00
arc4.c
blake2s-generic.c UPSTREAM: crypto: blake2s - generic C library implementation and selftest 2021-10-23 19:32:24 -07:00
blake2s-selftest.c UPSTREAM: crypto: lib/blake2s - Move selftest prototype into header file 2021-10-23 19:32:25 -07:00
blake2s.c UPSTREAM: crypto: blake2s - move update and final logic to internal/blake2s.h 2021-10-23 19:32:26 -07:00
des.c crypto: des - split off DES library from generic DES cipher driver 2019-08-22 14:57:33 +10:00
Kconfig UPSTREAM: crypto: blake2s - generic C library implementation and selftest 2021-10-23 19:32:24 -07:00
Makefile UPSTREAM: crypto: blake2s - generic C library implementation and selftest 2021-10-23 19:32:24 -07:00
sha256.c crypto: sha256 - Remove sha256/224_init code duplication 2019-09-05 14:54:54 +10:00