EVM: Only complain about a missing HMAC key once
authorMatthew Garrett <mjg59@google.com>
Wed, 11 Oct 2017 19:11:12 +0000 (12:11 -0700)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Wed, 8 Nov 2017 20:16:36 +0000 (15:16 -0500)
commit0485d066d82c308e28e76b7fc6cdec46ae46eeb6
tree2f8df336d7bb3cdafa24ee19627c512413286dca
parentf00d79750712511d0a83c108eea0d44b680a915f
EVM: Only complain about a missing HMAC key once

A system can validate EVM digital signatures without requiring an HMAC
key, but every EVM validation will generate a kernel error. Change this
so we only generate an error once.

Signed-off-by: Matthew Garrett <mjg59@google.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
security/integrity/evm/evm_crypto.c