linux/drivers/crypto/chelsio
Gustavo A. R. Silva d6be72ee2c crypto: chtls - use 64-bit arithmetic instead of 32-bit
Cast *val* to u64 in order to give the compiler complete
information about the proper arithmetic to use.

Notice that such variable is used in a context that expects an
expression of type u64 (64 bits, unsigned) and the following
expression is currently being evaluated using 32-bit arithmetic:

val << bit_pos

Addresses-Coverity-ID: 1467425 ("Unintentional integer overflow")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2018-07-13 18:26:49 +08:00
..
chtls crypto: chtls - use 64-bit arithmetic instead of 32-bit 2018-07-13 18:26:49 +08:00
chcr_algo.c crypto: aead - remove useless setting of type flags 2018-07-09 00:30:26 +08:00
chcr_algo.h crypt: chelsio - Send IV as Immediate for cipher algo 2018-05-31 00:13:48 +08:00
chcr_core.c chcr: Add support for Inline IPSec 2017-11-29 17:33:29 +11:00
chcr_core.h crypt: chelsio - Send IV as Immediate for cipher algo 2018-05-31 00:13:48 +08:00
chcr_crypto.h crypto: chelsio - Remove separate buffer used for DMA map B0 block in CCM 2018-05-31 00:13:48 +08:00
chcr_ipsec.c crypto: chelsio - request to HW should wrap 2018-05-19 00:13:56 +08:00
Kconfig crypto: chtls - Makefile Kconfig 2018-03-31 23:37:33 -04:00
Makefile crypto: chtls - Makefile Kconfig 2018-03-31 23:37:33 -04:00