diff options
author | Sowmini Varadhan <sowmini.varadhan@oracle.com> | 2015-10-20 00:23:28 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-10-20 17:14:01 +0300 |
commit | 271817a3e92c0455bda5856d87eca244ad67d3a2 (patch) | |
tree | 6fe9c083b7ba5ba16a2f020ebe2ac69436fe8f63 /drivers/hwspinlock/hwspinlock_internal.h | |
parent | 381ceef785aa3957cd78f13b9311a09a8ea8ed45 (diff) | |
download | linux-271817a3e92c0455bda5856d87eca244ad67d3a2.tar.xz |
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 62f57d05e287 ("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 'drivers/hwspinlock/hwspinlock_internal.h')
0 files changed, 0 insertions, 0 deletions