linux-sg2042/arch/s390/crypto
Chen Gang e6a67ad0e2 s390/crypto: remove 'const' to avoid compiler warnings
In aes_encrypt() and aes_decrypt(), need let 'sctx->key' be modified,
so remove 'const' for it. The related warnings:

    CC [M]  arch/s390/crypto/aes_s390.o
  arch/s390/crypto/aes_s390.c: In function 'aes_encrypt':
  arch/s390/crypto/aes_s390.c:146:37: warning: passing argument 2 of 'crypt_s390_km' discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
     crypt_s390_km(KM_AES_128_ENCRYPT, &sctx->key, out, in,
                                       ^
  ...

  In file included from arch/s390/crypto/aes_s390.c:29:0:
  arch/s390/crypto/crypt_s390.h:154:19: note: expected 'void *' but argument is of type 'const u8 (*)[32] {aka const unsigned char (*)[32]}'
   static inline int crypt_s390_km(long func, void *param,
                     ^

Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2015-01-08 10:02:53 +01:00
..
Makefile crypto: s390 - add System z hardware support for GHASH 2011-05-04 15:06:32 +10:00
aes_s390.c s390/crypto: remove 'const' to avoid compiler warnings 2015-01-08 10:02:53 +01:00
crypt_s390.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
des_s390.c crypto: prefix module autoloading with "crypto-" 2014-11-24 22:43:57 +08:00
ghash_s390.c crypto: prefix module autoloading with "crypto-" 2014-11-24 22:43:57 +08:00
prng.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
sha.h crypto: sha-s390 - Switch to shash 2009-02-18 16:48:07 +08:00
sha1_s390.c crypto: prefix module autoloading with "crypto-" 2014-11-24 22:43:57 +08:00
sha256_s390.c crypto: prefix module autoloading with "crypto-" 2014-11-24 22:43:57 +08:00
sha512_s390.c crypto: prefix module autoloading with "crypto-" 2014-11-24 22:43:57 +08:00
sha_common.c s390/crypto: Don't panic after crypto instruction failures 2012-11-23 11:14:27 +01:00