[PATCH 0/7] prepare for rsa support

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Thu Mar 12 07:19:51 PDT 2015


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

	include also some fix

	The next patch series will add RSA and keystore support

The following changes since commit 01b0fd707ebede1303f7471adca41ebee06d2ac7:

  Merge branch 'for-next/state' into next (2015-03-12 08:29:17 +0100)

are available in the git repository at:

  git://git.jcrosoft.org/barebox.git delivery/digest

for you to fetch changes up to 1807649fab2109a962415e1ba5651d9d7c385e08:

  command: add generic digest command (2015-03-12 16:34:23 +0800)

----------------------------------------------------------------
Jean-Christophe PLAGNIOL-VILLARD (7):
      digest: fix and add missing copyright
      digest: hmac: fix set_key prototype
      crypto: add pbkdf2 hmac key generator
      digest: add verify callback
      digest: allow algo to specify their length at runtime
      command: rename digest.c to hashsum.c
      command: add generic digest command

 commands/Kconfig        |  26 +++++++++++-----
 commands/Makefile       |   3 +-
 commands/digest.c       | 270 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------------------------
 commands/hashsum.c      | 187 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 commands/internal.h     |   3 ++
 common/password.c       |  43 +-------------------------
 crypto/Kconfig          |   5 +++
 crypto/Makefile         |   2 ++
 crypto/digest.c         | 113 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----
 crypto/hmac.c           |  10 +++++-
 crypto/internal.h       |   4 ++-
 crypto/md5.c            |   1 +
 crypto/pbkdf2.c         |  79 ++++++++++++++++++++++++++++++++++++++++++++++++
 crypto/sha1.c           |   1 +
 crypto/sha2.c           |   2 ++
 crypto/sha4.c           |   2 ++
 include/crypto/pbkdf2.h |  23 ++++++++++++++
 include/digest.h        |  22 ++++++++++++--
 18 files changed, 583 insertions(+), 213 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.



More information about the barebox mailing list