Skip to content
  1. Jun 22, 2015
    • Herbert Xu's avatar
      crypto: skcipher - Allow givencrypt to be NULL · 21dbd96f
      Herbert Xu authored
      
      
      Currently for skcipher IV generators they must provide givencrypt
      as that is the whole point.  We are currently replacing skcipher
      IV generators with explicit IV generators.  In order to maintain
      backwards compatibility, we need to allow the IV generators to
      still function as a normal skcipher when the RNG Is not present
      (e.g., in the initramfs during boot).  IOW everything but givencrypt
      and givdecrypt will still work but those two will fail.
      
      Therefore this patch assigns a default givencrypt that simply
      returns an error should it be NULL.
      
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      21dbd96f
  2. Jun 21, 2015
  3. Jun 19, 2015
  4. Jun 18, 2015
  5. Jun 17, 2015