Update meson platform to not rely on undefined overflow behaviour
authorJustin Chadwell <[email protected]>
Wed, 3 Jul 2019 13:10:31 +0000 (14:10 +0100)
committerJustin Chadwell <[email protected]>
Thu, 11 Jul 2019 11:10:58 +0000 (12:10 +0100)
commit1578169edd4aec236e564570c73a931ad632e420
treef41d1fb0ad88f00c1b28966038b032af61aa2fe7
parentb19498b97b72879ad6ab746da9ee9a0020a413b1
Update meson platform to not rely on undefined overflow behaviour

This consists of ensuring that the left operand of each shift is
unsigned when the operation might overflow into the sign bit.

Change-Id: Ib7ec8ed3423e9b9b32be2388520bc27ee28f6370
Signed-off-by: Justin Chadwell <[email protected]>
drivers/meson/gxl/crypto/sha_dma.c