|
|
|
|
|
by kbolino
721 days ago
|
|
No, this makes random nonces safe in the first place. With standard AES-GCM, you should use deterministic nonce generation since 96 bits is not enough to avoid random collisions. Also, you must change the nonce (or key) after 2^32 blocks regardless of how it was generated because the counter rolls over and the next block would use the same nonce+counter as the first block. |
|
https://csrc.nist.gov/pubs/sp/800/38/d/final