[PATCH 0/7] Digest and login/password Frameworks
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Thu Sep 9 10:01:05 EDT 2010
On 15:55 Thu 09 Sep , Jean-Christophe PLAGNIOL-VILLARD wrote:
> Hi,
>
> this patch serie will introduce the support
> of 2 frameworks
>
> Digest Framework
>
> Which allow you to add easely digest algo
> with md5, sha1, sha256
>
> Login/Passwd Framework
>
> It will allow you to protect your barebox with a password
> and require it via login command or manange it via passwd
> This framework use the Digest framework to calculate the checksum
> to store the password
The following changes since commit 0d35c3c8a0c2a1f1ff06eac20a12af0186753bc4:
menu: simplify usage for clients (2010-08-30 21:06:02 +0200)
are available in the git repository at:
git://git.jcrosoft.org/barebox.git login_passwd
Jean-Christophe PLAGNIOL-VILLARD (7):
add digest framework
add md5 support
add sha1 support
add sha256 support
add password framework
add passwd command
add login support
commands/Kconfig | 28 ++++
commands/Makefile | 2 +
commands/login.c | 63 +++++++++
commands/passwd.c | 98 +++++++++++++
common/Kconfig | 28 ++++
common/Makefile | 2 +
common/digest.c | 77 ++++++++++
common/password.c | 286 +++++++++++++++++++++++++++++++++++++
include/digest.h | 49 +++++++
include/password.h | 41 ++++++
lib/Kconfig | 17 +++
lib/Makefile | 3 +
lib/md5.c | 317 +++++++++++++++++++++++++++++++++++++++++
lib/sha1.c | 396 ++++++++++++++++++++++++++++++++++++++++++++++++++++
lib/sha256.c | 319 ++++++++++++++++++++++++++++++++++++++++++
15 files changed, 1726 insertions(+), 0 deletions(-)
create mode 100644 commands/login.c
create mode 100644 commands/passwd.c
create mode 100644 common/digest.c
create mode 100644 common/password.c
create mode 100644 include/digest.h
create mode 100644 include/password.h
create mode 100644 lib/md5.c
create mode 100644 lib/sha1.c
create mode 100644 lib/sha256.c
Best Regards,
J.
More information about the barebox
mailing list