lib: add crypt subsystem
Add the basic functionality required to support the standard crypt format. The files crypt-sha256.c and crypt-sha512.c originate from libxcrypt and their formatting is therefor retained. The integration is done via a crypt_compare() function in crypt.c. ``` libxcrypt $ git describe --long --always --all tags/v4.4.17-0-g6b110bc ``` Signed-off-by: NSteffen Jaeckel <jaeckel-floss@eyet-services.de> Reviewed-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NHeiko Schocher <hs@denx.de>
Showing
include/crypt.h
0 → 100644
lib/crypt/Kconfig
0 → 100644
lib/crypt/Makefile
0 → 100644
lib/crypt/alg-sha256.h
0 → 100644
lib/crypt/alg-sha512.h
0 → 100644
lib/crypt/crypt-port.h
0 → 100644
lib/crypt/crypt-sha256.c
0 → 100644
lib/crypt/crypt-sha512.c
0 → 100644
lib/crypt/crypt.c
0 → 100644
test/lib/test_crypt.c
0 → 100644
想要评论请 注册 或 登录