u-boot/lib/crypt
Alexandru Gagniuc e60e449931 lib: Drop SHA512_ALGO in lieu of SHA512
SHA512_ALGO was used as a "either SHA512 or SHA384", although the
implementations of these two algorithms share a majority of code.

From a Kconfig interface perspective, it makes sense to present two
distinct options. This requires #ifdefing out the SHA512
implementation from sha512.c. The latter doesn't make any sense.

It's reasonable to say in Kconfig that SHA384 depends on SHA512, and
seems to be the more polite way to handle the selection.

Thus, automatically select SHA512 when SHA384 is enabled.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2021-09-08 16:11:46 -04:00
..
alg-sha256.h lib: wrap crypt API to hide errno usage 2021-07-23 13:36:20 -04:00
alg-sha512.h lib: wrap crypt API to hide errno usage 2021-07-23 13:36:20 -04:00
crypt-port.h lib: wrap crypt API to hide errno usage 2021-07-23 13:36:20 -04:00
crypt-sha256.c lib: wrap crypt API to hide errno usage 2021-07-23 13:36:20 -04:00
crypt-sha512.c lib: wrap crypt API to hide errno usage 2021-07-23 13:36:20 -04:00
crypt.c lib: wrap crypt API to hide errno usage 2021-07-23 13:36:20 -04:00
Kconfig lib: Drop SHA512_ALGO in lieu of SHA512 2021-09-08 16:11:46 -04:00
Makefile lib: add crypt subsystem 2021-07-23 13:36:14 -04:00