TestAEADAlgorithmValues pins the negotiated AEAD identifiers to their IANA "AEAD Algorithms" registry values; drift here would silently break NTS-KE interop with peers.
(t *testing.T)
| 239 | // "AEAD Algorithms" registry values; drift here would silently break NTS-KE |
| 240 | // interop with peers. |
| 241 | func TestAEADAlgorithmValues(t *testing.T) { |
| 242 | require.Equal(t, AEADAlgorithm(15), AEADAESSIVCMAC256) |
| 243 | require.Equal(t, AEADAlgorithm(17), AEADAESSIVCMAC512) |
| 244 | require.Equal(t, AEADAlgorithm(30), AEADAES128GCMSIV) |
| 245 | } |
| 246 | |
| 247 | // FuzzEFRoundTrip locks the parse/encode mutual-inverse that NTS request auth |
nothing calls this directly
no test coverage detected
searching dependent graphs…