summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorDmitry Kasatkin <dmitry.kasatkin@intel.com>2012-09-12 13:26:55 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2012-09-13 09:13:02 +0800
commitbc01637a80f5b670bd70a0279d3f93fa8de1c96d (patch)
tree55913071b502e2adc7a2dd4daf3b5b92c5e06b65 /arch/arm
parent8507876aaada8a2cf68ebccdf1d056465dd1fc11 (diff)
downloadlinux-3.10-bc01637a80f5b670bd70a0279d3f93fa8de1c96d.tar.gz
linux-3.10-bc01637a80f5b670bd70a0279d3f93fa8de1c96d.tar.bz2
linux-3.10-bc01637a80f5b670bd70a0279d3f93fa8de1c96d.zip
digsig: add hash size comparision on signature verification
When pkcs_1_v1_5_decode_emsa() returns without error and hash sizes do not match, hash comparision is not done and digsig_verify_rsa() returns no error. This is a bug and this patch fixes it. The bug was introduced in v3.3 by commit b35e286a640f ("lib/digsig: pkcs_1_v1_5_decode_emsa cleanup"). Cc: stable@vger.kernel.org Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions