summaryrefslogtreecommitdiffstats
path: root/kernel/async.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2016-06-29 13:32:21 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2016-07-01 17:45:18 +0200
commit9b45b7bba3d22de52e09df63c50f390a193a3f53 (patch)
tree589fa304ec152558fc189f2da773154bd334e64c /kernel/async.c
parentcrypto: testmgr - Allow leading zeros in RSA (diff)
downloadlinux-9b45b7bba3d22de52e09df63c50f390a193a3f53.tar.xz
linux-9b45b7bba3d22de52e09df63c50f390a193a3f53.zip
crypto: rsa - Generate fixed-length output
Every implementation of RSA that we have naturally generates output with leading zeroes. The one and only user of RSA, pkcs1pad wants to have those leading zeroes in place, in fact because they are currently absent it has to write those zeroes itself. So we shouldn't be stripping leading zeroes in the first place. In fact this patch makes rsa-generic produce output with fixed length so that pkcs1pad does not need to do any extra work. This patch also changes DH to use the new interface. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'kernel/async.c')
0 files changed, 0 insertions, 0 deletions