summaryrefslogtreecommitdiffstats
path: root/common/state/backend_format_raw.c
diff options
context:
space:
mode:
authorUlrich Ölmann <u.oelmann@pengutronix.de>2019-02-06 11:34:02 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-02-07 08:53:58 +0100
commit69b16bcc850c9eef0f399f531d0b0cfdacb9b4e4 (patch)
treecdef61b9652f622a400fffb9dd8e3657a20e65db /common/state/backend_format_raw.c
parentee5177069e32163d0db0a0fa0e7054d6560298e2 (diff)
downloadbarebox-69b16bcc850c9eef0f399f531d0b0cfdacb9b4e4.tar.gz
common: state: fix typo
Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/state/backend_format_raw.c')
-rw-r--r--common/state/backend_format_raw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/state/backend_format_raw.c b/common/state/backend_format_raw.c
index 4369f76..5a71149 100644
--- a/common/state/backend_format_raw.c
+++ b/common/state/backend_format_raw.c
@@ -127,7 +127,7 @@ static int backend_format_raw_verify(struct state_backend_format *format,
return -EINVAL;
}
- if (backend_raw->algo && !(flags & STATE_FLAG_NO_AUTHENTIFICATION)) {
+ if (backend_raw->algo && !(flags & STATE_FLAG_NO_AUTHENTICATION)) {
ret = backend_raw_digest_init(backend_raw);
if (ret)
return ret;
@@ -153,7 +153,7 @@ static int backend_format_raw_verify(struct state_backend_format *format,
*lenp = header->data_len + sizeof(*header);
- if (backend_raw->algo && !(flags & STATE_FLAG_NO_AUTHENTIFICATION)) {
+ if (backend_raw->algo && !(flags & STATE_FLAG_NO_AUTHENTICATION)) {
const void *hmac = data + header->data_len;
/* hmac over header and data */