[PATCH 0/7] add sha384/sha512 and hmac support

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Tue Mar 10 07:16:59 PDT 2015


HI,

	this will allow to add later secure boot support

	This the first patch series of some mores

	To add
	 - AES with CBC and XTS
	 - RSA with AS1N and X509
	 - Key store support
	 - 2 customs software support
	 - 1 hardware secure boot support
	 - a generic API to handle secure boot
	   without specific user interaction

The following changes since commit a1a5a212985053fac141975f6f6cd8e30051b401:

  Documentation: handle missing group declaration (2015-03-10 15:04:23 +0100)

are available in the git repository at:

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

for you to fetch changes up to c0016394be2b50c24727d971a1a76c50abb42cad:

  command: add hmac sum supportfor md5, sha1, sha224, sha256, sha384, sha512 (2015-03-10 17:48:11 +0800)

----------------------------------------------------------------
Jean-Christophe PLAGNIOL-VILLARD (7):
      digest: introduce digest_{init/update/final/length}
      digest: make it multi-instance
      crypto: add sha384 & sha512 support
      command: add sha384sum and sha512sum support
      password: add support for sha512
      digest: add HMAC support for md5, sha1, sha224, sha256, sha384, sha512
      command: add hmac sum supportfor md5, sha1, sha224, sha256, sha384, sha512

 commands/Kconfig  |  24 ++++++++++++++
 commands/digest.c |  75 +++++++++++++++++++++++++++++++++++++++----
 common/Kconfig    |   4 +++
 common/digest.c   | 121 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------
 common/password.c |  33 ++++++++++---------
 crypto/Kconfig    |   6 ++++
 crypto/Makefile   |   2 ++
 crypto/md5.c      |  35 +++++++-------------
 crypto/sha1.c     |  35 +++++++-------------
 crypto/sha2.c     |  57 +++++++++++++--------------------
 crypto/sha4.c     | 342 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 include/digest.h  |  58 ++++++++++++++++++++++++++++++---
 12 files changed, 670 insertions(+), 122 deletions(-)
 create mode 100644 crypto/sha4.c

Best Regards,
J.



More information about the barebox mailing list