UPSTREAM: mmc-utils: RPMB: add HMAC SHA256 support
RPMB requires digital signature of the message. Take the implementation
of HMAC SHA256 from this place https://github.com/ogay/hmac.git
Actually this is BSD license, IANAL but according to my understanding
nothing terrible will happen if we provide all the original copyrights.
Signed-off-by: Roman Pen <r.peniaev@gmail.com>
Cc: Ben Gardiner <bengardiner@nanometrics.ca>
Signed-off-by: Chris Ball <chris@printf.net>
(cherry picked from commit 35c31feacf9be6a76732910f564cedbd872512f8)
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
BUG=none
TEST=Compiled, Installed on gnawty
Change-Id: I6889288f08a5b3cbea9b157312c665fdc888fba7
Reviewed-on: https://chromium-review.googlesource.com/337985
Commit-Ready: Gwendal Grignou <gwendal@chromium.org>
Tested-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-by: Grant Grundler <grundler@chromium.org>
5 files changed