From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: barebox@lists.infradead.org
Subject: [PATCH 00/10 v3] prepare for rsa support
Date: Mon, 16 Mar 2015 11:13:22 +0100 [thread overview]
Message-ID: <20150316101321.GA26127@ns203013.ovh.net> (raw)
Hi,
The following patch series prepare for the adding of the rsa digest
support
This will allow to verify a rsa signature of a file
Introduction of a new command digest to handle the digest and check
The next patch series will add RSA and keystore support
v2:
- rebase on next
- add pbkdf2 to password/login framework
- command allow to have runtime output
used it in the new digest to print the supported algo
v3:
add more fix to ensure all the digest_xx call return are checked
The following changes since commit bbba2d05585637d04657dce293c0cb0611dbfeea:
Merge branch 'for-next/state' into next (2015-03-13 08:32:38 +0100)
are available in the git repository at:
git://git.jcrosoft.org/barebox.git delivery/digest
for you to fetch changes up to e4ec247ea29b5b48386f6a959f96f78d9cef729b:
digest: digest_file_window: check every digest_xxx return (2015-03-14 11:08:05 +0800)
----------------------------------------------------------------
Jean-Christophe PLAGNIOL-VILLARD (10):
digest: add verify callback
command: rename digest.c to hashsum.c
command: allow runtime usage
command: add generic digest command
digest: add digest callback
crypto: add pbkdf2 hmac key generator
password: add pbkdf2 support
digest: allow algo to specify their length at runtime
crypto: hmac: use digest_digest and check the return of every digest_xxx
digest: digest_file_window: check every digest_xxx return
commands/Kconfig | 26 +++++++++++++------
commands/Makefile | 3 ++-
commands/digest.c | 268 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------------------------------------------------------
commands/hashsum.c | 187 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
commands/internal.h | 3 +++
common/Kconfig | 4 +++
common/command.c | 2 ++
common/password.c | 79 ++++++++++++++++++++++++++++++++++++--------------------
crypto/Kconfig | 5 ++++
crypto/Makefile | 2 ++
crypto/digest.c | 75 +++++++++++++++++++++++++++++++++++++++++++++++------
crypto/hmac.c | 51 +++++++++++++++++++++++-------------
crypto/internal.h | 4 +++
crypto/md5.c | 2 ++
crypto/pbkdf2.c | 94 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
crypto/sha1.c | 2 ++
crypto/sha2.c | 3 +++
crypto/sha4.c | 3 +++
include/command.h | 3 +++
include/crypto/pbkdf2.h | 23 +++++++++++++++++
include/digest.h | 25 +++++++++++++++---
21 files changed, 647 insertions(+), 217 deletions(-)
create mode 100644 commands/hashsum.c
create mode 100644 commands/internal.h
create mode 100644 crypto/pbkdf2.c
create mode 100644 include/crypto/pbkdf2.h
Best Regards,
J.
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2015-03-16 10:13 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-16 10:13 Jean-Christophe PLAGNIOL-VILLARD [this message]
2015-03-16 10:15 ` [PATCH 01/10] digest: add verify callback Jean-Christophe PLAGNIOL-VILLARD
2015-03-16 10:15 ` [PATCH 02/10] command: rename digest.c to hashsum.c Jean-Christophe PLAGNIOL-VILLARD
2015-03-16 10:15 ` [PATCH 03/10] command: allow runtime usage Jean-Christophe PLAGNIOL-VILLARD
2015-03-16 10:15 ` [PATCH 04/10] command: add generic digest command Jean-Christophe PLAGNIOL-VILLARD
2015-03-16 11:49 ` Jan Lübbe
2015-03-16 14:51 ` Jean-Christophe PLAGNIOL-VILLARD
2015-03-16 10:15 ` [PATCH 05/10] digest: add digest callback Jean-Christophe PLAGNIOL-VILLARD
2015-03-16 10:15 ` [PATCH 06/10] crypto: add pbkdf2 hmac key generator Jean-Christophe PLAGNIOL-VILLARD
2015-03-16 10:15 ` [PATCH 07/10] password: add pbkdf2 support Jean-Christophe PLAGNIOL-VILLARD
2015-03-16 10:49 ` Jan Lübbe
2015-03-16 11:01 ` Jean-Christophe PLAGNIOL-VILLARD
2015-03-16 11:05 ` Jan Lübbe
2015-03-16 11:25 ` Jean-Christophe PLAGNIOL-VILLARD
2015-03-16 11:41 ` Jan Lübbe
2015-03-16 11:52 ` Jean-Christophe PLAGNIOL-VILLARD
2015-03-16 11:58 ` Jan Lübbe
2015-03-16 12:10 ` Jean-Christophe PLAGNIOL-VILLARD
2015-03-16 13:14 ` Jan Lübbe
2015-03-16 13:55 ` Jean-Christophe PLAGNIOL-VILLARD
2015-03-16 10:15 ` [PATCH 08/10] digest: allow algo to specify their length at runtime Jean-Christophe PLAGNIOL-VILLARD
2015-03-16 10:15 ` [PATCH 09/10] crypto: hmac: use digest_digest and check the return of every digest_xxx Jean-Christophe PLAGNIOL-VILLARD
2015-03-16 10:15 ` [PATCH 10/10] digest: digest_file_window: check every digest_xxx return Jean-Christophe PLAGNIOL-VILLARD
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150316101321.GA26127@ns203013.ovh.net \
--to=plagnioj@jcrosoft.com \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox