| 431 | } |
| 432 | |
| 433 | type aead interface { |
| 434 | cipher.AEAD |
| 435 | |
| 436 | // explicitNonceLen returns the number of bytes of explicit nonce |
| 437 | // included in each record. This is eight for older AEADs and |
| 438 | // zero for modern ones. |
| 439 | explicitNonceLen() int |
| 440 | } |
| 441 | |
| 442 | const ( |
| 443 | aeadNonceLength = 12 |
no outgoing calls
no test coverage detected
searching dependent graphs…