{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.
153ba46a5bFrank Denis committed on 3/12/2024, 10:56:28 PM· committed by GitHubparentb8920bc
2 files changedLine totals unavailable