diff options
author | Matthew Garrett <mjg59@google.com> | 2018-06-09 00:57:43 +0300 |
---|---|---|
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2018-07-18 14:27:22 +0300 |
commit | 5feeb61183dde9d4f4026fd0d5801388c21d61a2 (patch) | |
tree | 6998490db3d17d7dffbfcc4d69d521c44f0fe8ac /lib/sha1.c | |
parent | e2861fa71641c6414831d628a1f4f793b6562580 (diff) | |
download | linux-5feeb61183dde9d4f4026fd0d5801388c21d61a2.tar.xz |
evm: Allow non-SHA1 digital signatures
SHA1 is reasonable in HMAC constructs, but it's desirable to be able to
use stronger hashes in digital signatures. Modify the EVM crypto code so
the hash type is imported from the digital signature and passed down to
the hash calculation code, and return the digest size to higher layers
for validation.
Signed-off-by: Matthew Garrett <mjg59@google.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Diffstat (limited to 'lib/sha1.c')
0 files changed, 0 insertions, 0 deletions