On Tuesday, August 12, 2025 at 8:10:03 AM UTC-4 Jeffrey Walton wrote:

GCM plaintext maximum length is specified in bits, not bytes. See 
SP800-39D, Section 5.2.1.1 Input Data, p. 8, <
https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf>. 
That leads to:

    2^39 - 256 = 549755813632
    549755813632 / 8 = 68719476704


Is there a standard practice for handling AES encryption of large files?  
E.g., create a new IV and resume encryption?  Use something other than GCM 
which has a higher limit?

Thanks!
 

-- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/cryptopp-users/d73104f5-75e6-4bdd-a8ba-63d16704333an%40googlegroups.com.

Reply via email to