s390/crypto: cleanup cpacf function codes
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 15 Aug 2016 07:19:16 +0000 (09:19 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 29 Aug 2016 09:05:05 +0000 (11:05 +0200)
commitedc63a3785b48455e05793e848f0174e21f38d09
tree156db37176d471ab4ea136188916c3c9b851b3b8
parent474fd6e80fe529e9adeeb7ea9d4e5d6c4da0b7fe
s390/crypto: cleanup cpacf function codes

Use a separate define for the decryption modifier bit instead of
duplicating the function codes for encryption / decrypton.
In addition use an unsigned type for the function code.

Reviewed-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/crypto/aes_s390.c
arch/s390/crypto/des_s390.c
arch/s390/include/asm/cpacf.h