crypto: keywrap - convert to skcipher API
authorEric Biggers <ebiggers@google.com>
Fri, 4 Jan 2019 04:16:19 +0000 (20:16 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 11 Jan 2019 06:16:58 +0000 (14:16 +0800)
commit6b611d98c6f5c5a328f1698c4cad7447544a5da7
tree00c27e654c0d494eb962955d9190d0540997c105
parent52e9368fe6d91d47a62062032431edb02a2905bc
crypto: keywrap - convert to skcipher API

Convert the keywrap template from the deprecated "blkcipher" API to the
"skcipher" API, taking advantage of skcipher_alloc_instance_simple() to
simplify it considerably.

Cc: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/keywrap.c