1. 10 6月, 2017 1 次提交
  2. 09 3月, 2017 1 次提交
  3. 13 11月, 2016 1 次提交
  4. 01 7月, 2016 1 次提交
    • H
      crypto: rsa - Generate fixed-length output · 9b45b7bb
      Herbert Xu 提交于
      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: NHerbert Xu <herbert@gondor.apana.org.au>
      9b45b7bb
  5. 23 6月, 2016 1 次提交