crypto: s390/aes - convert to skcipher API
authorEric Biggers <ebiggers@google.com>
Sat, 12 Oct 2019 20:18:07 +0000 (13:18 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 23 Oct 2019 08:46:57 +0000 (19:46 +1100)
commit7988fb2c03c8cf9936f851ab19a6d21b3c3411c0
tree233079deb68462bbcf53fe8cbb90c513bb98e90c
parentcd5d2f8457468df573085f91dd7b37ab8350a9af
crypto: s390/aes - convert to skcipher API

Convert the glue code for the S390 CPACF implementations of AES-ECB,
AES-CBC, AES-XTS, and AES-CTR from the deprecated "blkcipher" API to the
"skcipher" API.  This is needed in order for the blkcipher API to be
removed.

Note: I made CTR use the same function for encryption and decryption,
since CTR encryption and decryption are identical.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/s390/crypto/aes_s390.c