crypto: cbc - convert to skcipher_alloc_instance_simple()
authorEric Biggers <ebiggers@google.com>
Fri, 4 Jan 2019 04:16:15 +0000 (20:16 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 11 Jan 2019 06:16:57 +0000 (14:16 +0800)
commita5a84a9dbf3d3319c022ff3c9ea76ed3dc332978
tree922e14925a9b2442eea81377beba18e14377b501
parent0872da16dd632e5d1d3f80388f7ae6fbeb17ad53
crypto: cbc - convert to skcipher_alloc_instance_simple()

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

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/cbc.c