summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2015-10-25 22:03:36 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-11-27 08:26:43 +0100
commit34cda8c23115b3ae3aeeeba7618d5d5654536494 (patch)
tree0891557d0c437a8de3af41dc3e8c7c0537a23b1a /crypto
parentbf3cb63799f47697d460300c34e970589ea91671 (diff)
downloadbarebox-34cda8c23115b3ae3aeeeba7618d5d5654536494.tar.gz
barebox-34cda8c23115b3ae3aeeeba7618d5d5654536494.tar.xz
state: backend_raw: add hmac support
This patch adds hmac support to the raw backend. With this patch, modifications of the header or data of a state partition can be detected, as the hmac woudln't match anymore. The hmac relies on a shared secret, which is requested from the keystore, with keystore_get_secret() using the name of the state partition as the "name" of the secret. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions