linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] mmc-utils: RPMB support
@ 2014-07-21 12:53 Roman Pen
  2014-07-21 12:53 ` [PATCH 1/2] mmc-utils: RPMB: add HMAC SHA256 support Roman Pen
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Roman Pen @ 2014-07-21 12:53 UTC (permalink / raw)
  Cc: Ben Gardiner, Chris Ball, linux-mmc, Roman Pen

This is simple RPMB support for 4 operations:
  write-key
  read-counter
  write-block
  read-block

I did not attempt to implement multiple blocks read/write,
thus only 1 block (256 b) is supported right now.

Also I had to take HMAC SHA256 implementation as 3rdparty to
sign RPMB messages.

Roman Pen (2):
  mmc-utils: RPMB: add HMAC SHA256 support
  mmc-utils: RPMB: add support for 4 rpmb operations

 3rdparty/hmac_sha/hmac_sha2.c | 544 ++++++++++++++++++++++++
 3rdparty/hmac_sha/hmac_sha2.h | 140 +++++++
 3rdparty/hmac_sha/sha2.c      | 949 ++++++++++++++++++++++++++++++++++++++++++
 3rdparty/hmac_sha/sha2.h      | 108 +++++
 Makefile                      |   8 +-
 mmc.c                         |  28 ++
 mmc.h                         |   6 +
 mmc_cmds.c                    | 419 +++++++++++++++++++
 mmc_cmds.h                    |   4 +
 9 files changed, 2204 insertions(+), 2 deletions(-)
 create mode 100644 3rdparty/hmac_sha/hmac_sha2.c
 create mode 100644 3rdparty/hmac_sha/hmac_sha2.h
 create mode 100644 3rdparty/hmac_sha/sha2.c
 create mode 100644 3rdparty/hmac_sha/sha2.h

-- 
2.0.0


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-08-12 14:33 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-21 12:53 [PATCH 0/2] mmc-utils: RPMB support Roman Pen
2014-07-21 12:53 ` [PATCH 1/2] mmc-utils: RPMB: add HMAC SHA256 support Roman Pen
2014-07-21 12:53 ` [PATCH 2/2] mmc-utils: RPMB: add support for 4 rpmb operations Roman Pen
2014-08-12 14:25   ` [PATCH v2 " Roman Pen
2014-08-12 14:30     ` Roman Peniaev
2014-08-12 13:33 ` [PATCH 0/2] mmc-utils: RPMB support Ulf Hansson
2014-08-12 13:48   ` Chris Ball
2014-08-12 14:01     ` Roman Peniaev
2014-08-12 14:04       ` Chris Ball
2014-08-12 14:06         ` Roman Peniaev
2014-08-12 14:13           ` Chris Ball
2014-08-12 14:33             ` Roman Peniaev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).