diff options
author | Sowmini Varadhan <sowmini.varadhan@oracle.com> | 2015-10-19 17:23:28 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-10-20 22:14:01 +0800 |
commit | b483cd3b3f926e759c4559c66a0a483700e34a0f (patch) | |
tree | 5993617ca2e6ac071fd851a127a9f06742a51c28 /crypto/tcrypt.c | |
parent | 9c928aab9e90610254df176ab1bff48220e0b418 (diff) | |
download | linux-crypto-b483cd3b3f926e759c4559c66a0a483700e34a0f.tar.gz linux-crypto-b483cd3b3f926e759c4559c66a0a483700e34a0f.zip |
crypto: asymmetric_keys - Fix unaligned access in x509_get_sig_params()
x509_get_sig_params() has the same code pattern as the one in
pkcs7_verify() that is fixed by commit d71dd976730e ("crypto: pkcs7 - Fix
unaligned access in pkcs7_verify()") so apply a similar fix here: make
sure that desc is pointing at an algined value past the digest_size,
and take alignment values into consideration when doing kzalloc()
Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions