• Herbert Xu's avatar
    crypto: skcipher - Fix request for sync algorithms · 435578ae
    Herbert Xu authored
    When a sync givcipher algorithm is requested, if an async version
    of the same algorithm already exists, then we will loop forever
    without ever constructing the sync version based on a blkcipher.
    
    This is because we did not include the requested type/mask when
    getting a larval for the geniv algorithm that is to be constructed.
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    435578ae
ablkcipher.c 9.31 KB