summaryrefslogtreecommitdiff
path: root/crypto/cmac.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2016-07-03 10:46:11 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2016-07-03 15:44:56 +0800
commitb6f7962939c150255997a490dcdc18db459469d9 (patch)
treed83f42630721a23e5511a92371c223e30cdf86fe /crypto/cmac.c
parent19b46e529d2dab72c69106a57078463522cc2bf4 (diff)
downloadlinux-crypto-b6f7962939c150255997a490dcdc18db459469d9.tar.gz
linux-crypto-b6f7962939c150255997a490dcdc18db459469d9.zip
crypto: rsa-pkcs1pad - Fix regression from leading zeros
As the software RSA implementation now produces fixed-length output, we need to eliminate leading zeros in the calling code instead. This patch does just that for pkcs1pad signature verification. Fixes: ebff06f6e2a1 ("crypto: rsa - Generate fixed-length output") Reported-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/cmac.c')
0 files changed, 0 insertions, 0 deletions