diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2015-10-25 22:03:36 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-11-27 08:26:43 +0100 |
commit | 34cda8c23115b3ae3aeeeba7618d5d5654536494 (patch) | |
tree | 0891557d0c437a8de3af41dc3e8c7c0537a23b1a /crypto | |
parent | bf3cb63799f47697d460300c34e970589ea91671 (diff) | |
download | barebox-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