Darren Kenny a201ad17ca disk/cryptodisk: Fix potential integer overflow
The encrypt and decrypt functions expect a grub_size_t. So, we need to
ensure that the constant bit shift is using grub_size_t rather than
unsigned int when it is performing the shift.

Fixes: CID 307788

Signed-off-by: Darren Kenny <darren.kenny@oracle.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2021-03-02 15:54:16 +01:00
..
2019-03-25 15:14:52 +01:00
2019-03-25 15:14:52 +01:00
2019-03-25 15:14:52 +01:00
2020-07-29 16:55:47 +02:00
2019-03-25 15:14:52 +01:00
2019-03-25 15:14:52 +01:00
2012-03-26 16:10:40 +02:00
2019-03-25 15:14:52 +01:00
2019-03-25 15:14:52 +01:00