commit | d46eb3699502ba221e81e88e6c6594e2a7818532 | [log] [tgz] |
---|---|---|
author | Dmitry Kasatkin <dmitry.kasatkin@nokia.com> | Wed Mar 09 15:07:36 2011 -0500 |
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | Mon Jul 18 12:29:46 2011 -0400 |
tree | 4761b63f12ded9ad53e3019c33d62d173b4b07da | |
parent | 823eb1ccd0b310449e99c822412ea8208334d14c [diff] |
evm: crypto hash replaced by shash Using shash is more efficient, because the algorithm is allocated only once. Only the descriptor to store the hash state needs to be allocated for every operation. Changelog v6: - check for crypto_shash_setkey failure Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@nokia.com> Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>