commit | d21b59451886cb82448302f8d6f9ac87c3bd56cf | [log] [tgz] |
---|---|---|
author | Dmitry Kasatkin <dmitry.kasatkin@intel.com> | Mon Dec 05 13:17:41 2011 +0200 |
committer | Dmitry Kasatkin <dmitry.kasatkin@intel.com> | Tue Dec 20 17:45:45 2011 +0200 |
tree | f2842dca9ee3c2c3febbe2f6984bb2c5e2a34c28 | |
parent | 511585a28e5b5fd1cac61e601e42efc4c5dd64b5 [diff] |
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>