[PATCH 0/2] mmc-utils: RPMB support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux