commit | 6d94809af6b0830c4dfcad661535a5939bcb8a7d | [log] [tgz] |
---|---|---|
author | Roberto Sassu <roberto.sassu@huawei.com> | Wed Mar 25 11:52:48 2020 +0100 |
committer | Mimi Zohar <zohar@linux.ibm.com> | Sun Apr 19 22:03:39 2020 -0400 |
tree | d076c88b00fb936f2bec3eaad79191d12414ee0c | |
parent | aa724fe18a8a8285d0071c3bfc932efb090d142d [diff] |
ima: Allocate and initialize tfm for each PCR bank This patch creates a crypto_shash structure for each allocated PCR bank and for SHA1 if a bank with that algorithm is not currently allocated. Reported-by: kbuild test robot <lkp@intel.com> Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com> Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>