Frank Denis 153ba46a5b
{aegis,aes_gcm}: fix overflow with large inputs on 32-bit systems (#19270)
These systems write the number of *bits* of their inputs as a u64.

However if `@sizeOf(usize) == 4`, an input message or associated data
whose size is > 512 MiB could overflow.

On 64-bit systems, it is safe to assume that no machine has more than
2 EiB of memory.
2024-03-12 22:56:28 +00:00
..
2024-03-11 09:00:15 +01:00
2024-02-25 11:22:10 +01:00
2023-11-03 23:18:21 -04:00
2023-04-30 18:16:04 -07:00
2023-11-03 23:18:21 -04:00
2024-02-25 11:22:10 +01:00