crypto: ofb - convert to skcipher_alloc_instance_simple()
authorEric Biggers <ebiggers@google.com>
Fri, 4 Jan 2019 04:16:20 +0000 (20:16 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 11 Jan 2019 06:16:58 +0000 (14:16 +0800)
commit21f3ca6cd52ecc751b68cd7017d9efd1801f51f9
treefdb7da3019f1fdeb202472a905bc2f475290424a
parent6b611d98c6f5c5a328f1698c4cad7447544a5da7
crypto: ofb - convert to skcipher_alloc_instance_simple()

The OFB template just wraps a single block cipher algorithm, so simplify
it by converting it to use skcipher_alloc_instance_simple().

Cc: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/ofb.c