diff options
author | Dmitry Kasatkin <dmitry.kasatkin@intel.com> | 2011-12-05 13:17:41 +0200 |
---|---|---|
committer | Dmitry Kasatkin <dmitry.kasatkin@intel.com> | 2011-12-20 17:45:45 +0200 |
commit | d21b59451886cb82448302f8d6f9ac87c3bd56cf (patch) | |
tree | f2842dca9ee3c2c3febbe2f6984bb2c5e2a34c28 /include/mtd | |
parent | 511585a28e5b5fd1cac61e601e42efc4c5dd64b5 (diff) | |
download | linux-next-d21b59451886cb82448302f8d6f9ac87c3bd56cf.tar.gz |
evm: key must be set once during initialization
On multi-core systems, setting of the key before every caclculation,
causes invalid HMAC calculation for other tfm users, because internal
state (ipad, opad) can be invalid before set key call returns.
It needs to be set only once during initialization.
Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@intel.com>
Acked-by: Mimi Zohar <zohar@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'include/mtd')
0 files changed, 0 insertions, 0 deletions