]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: s390/paes - convert to skcipher API
authorEric Biggers <ebiggers@google.com>
Sat, 12 Oct 2019 20:18:08 +0000 (13:18 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 23 Oct 2019 08:46:57 +0000 (19:46 +1100)
commit000a0904be5dfef7097181b26e7eb17307498e79
tree45eb2c562e0fa815b3ef5fdf3d27dd26ba6978a4
parente412ffeecfaa28106a0ae37549ac86f939dca4e6
crypto: s390/paes - convert to skcipher API

Convert the glue code for the S390 CPACF protected key 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/paes_s390.c