summaryrefslogtreecommitdiff
path: root/crypto/asymmetric_keys/Kconfig
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2012-09-21 23:28:05 +0100
committerRusty Russell <rusty@rustcorp.com.au>2012-10-08 13:50:17 +1030
commit200280a785942a1a5d092129d05bc79c07e86e2c (patch)
tree35c610aa2f1807f687ea9744a823dbdba999cf79 /crypto/asymmetric_keys/Kconfig
parent738b43cb7a36ac4c995f745bc7d633cee47b44ef (diff)
downloadlinux-crypto-200280a785942a1a5d092129d05bc79c07e86e2c.tar.gz
linux-crypto-200280a785942a1a5d092129d05bc79c07e86e2c.zip
RSA: Fix signature verification for shorter signatures
gpg can produce a signature file where length of signature is less than the modulus size because the amount of space an MPI takes up is kept as low as possible by discarding leading zeros. This regularly happens for several modules during the build. Fix it by relaxing check in RSA verification code. Thanks to Tomas Mraz and Miloslav Trmac for help. Signed-off-by: Milan Broz <mbroz@redhat.com> Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'crypto/asymmetric_keys/Kconfig')
0 files changed, 0 insertions, 0 deletions