|
|
|
|
|
by agl
4605 days ago
|
|
> The secure AES-GCM supports 96-bit nonces That's correct. However, TLS takes four bytes from the handshake key material and uses them as the first four bytes of the nonce. The remaining 8 bytes are all that vary over the lifetime of the connection. |
|
But even without the 4 bytes, 64-bit nonce seems enough for me, as long as it's not chosen at random.
For comparison, if the nonce is chosen randomly, the security level is only 2^32 (supposing the 4 bytes based on the key materials remain unchanged).