mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 10:15:40 +00:00
fde750550d
The dummy implementation is not constant-flow at all for now, it's just here as a starting point and a support for developing the tests and putting the infrastructure in place. Depending on the implementation strategy, there might be various corner cases depending on where the lengths fall relative to block boundaries. So it seems safer to just test all possible lengths in a given range than to use only a few randomly-chosen values. Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
76 lines
2.3 KiB
Plaintext
76 lines
2.3 KiB
Plaintext
SSL DTLS replay: initial state, seqnum 0
|
|
ssl_dtls_replay:"":"000000000000":0
|
|
|
|
SSL DTLS replay: 0 seen, 1 arriving
|
|
ssl_dtls_replay:"000000000000":"000000000001":0
|
|
|
|
SSL DTLS replay: 0 seen, 0 replayed
|
|
ssl_dtls_replay:"000000000000":"000000000000":-1
|
|
|
|
SSL DTLS replay: 0-1 seen, 2 arriving
|
|
ssl_dtls_replay:"000000000000000000000001":"000000000002":0
|
|
|
|
SSL DTLS replay: 0-1 seen, 1 replayed
|
|
ssl_dtls_replay:"000000000000000000000001":"000000000001":-1
|
|
|
|
SSL DTLS replay: 0-1 seen, 0 replayed
|
|
ssl_dtls_replay:"000000000000000000000001":"000000000000":-1
|
|
|
|
SSL DTLS replay: new
|
|
ssl_dtls_replay:"abcd12340000abcd12340001abcd12340003":"abcd12340004":0
|
|
|
|
SSL DTLS replay: way new
|
|
ssl_dtls_replay:"abcd12340000abcd12340001abcd12340003":"abcd12350000":0
|
|
|
|
SSL DTLS replay: delayed
|
|
ssl_dtls_replay:"abcd12340000abcd12340001abcd12340003":"abcd12340002":0
|
|
|
|
SSL DTLS replay: lastest replayed
|
|
ssl_dtls_replay:"abcd12340000abcd12340001abcd12340003":"abcd12340003":-1
|
|
|
|
SSL DTLS replay: older replayed
|
|
ssl_dtls_replay:"abcd12340000abcd12340001abcd12340003":"abcd12340001":-1
|
|
|
|
SSL DTLS replay: most recent in window, replayed
|
|
ssl_dtls_replay:"abcd12340000abcd12340002abcd12340003":"abcd12340002":-1
|
|
|
|
SSL DTLS replay: oldest in window, replayed
|
|
ssl_dtls_replay:"abcd12340000abcd12340001abcd1234003f":"abcd12340000":-1
|
|
|
|
SSL DTLS replay: oldest in window, not replayed
|
|
ssl_dtls_replay:"abcd12340001abcd12340002abcd1234003f":"abcd12340000":0
|
|
|
|
SSL DTLS replay: just out of the window
|
|
ssl_dtls_replay:"abcd12340001abcd12340002abcd1234003f":"abcd1233ffff":-1
|
|
|
|
SSL DTLS replay: way out of the window
|
|
ssl_dtls_replay:"abcd12340001abcd12340002abcd1234003f":"abcd12330000":-1
|
|
|
|
SSL DTLS replay: big jump then replay
|
|
ssl_dtls_replay:"abcd12340000abcd12340100":"abcd12340100":-1
|
|
|
|
SSL DTLS replay: big jump then new
|
|
ssl_dtls_replay:"abcd12340000abcd12340100":"abcd12340101":0
|
|
|
|
SSL DTLS replay: big jump then just delayed
|
|
ssl_dtls_replay:"abcd12340000abcd12340100":"abcd123400ff":0
|
|
|
|
SSL SET_HOSTNAME memory leak: call ssl_set_hostname twice
|
|
ssl_set_hostname_twice:"server0":"server1"
|
|
|
|
Constant-flow HMAC: MD5
|
|
depends_on:MBEDTLS_MD5_C
|
|
ssl_cf_hmac:MBEDTLS_MD_MD5
|
|
|
|
Constant-flow HMAC: SHA1
|
|
depends_on:MBEDTLS_SHA1_C
|
|
ssl_cf_hmac:MBEDTLS_MD_SHA1
|
|
|
|
Constant-flow HMAC: SHA256
|
|
depends_on:MBEDTLS_SHA256_C
|
|
ssl_cf_hmac:MBEDTLS_MD_SHA256
|
|
|
|
Constant-flow HMAC: SHA384
|
|
depends_on:MBEDTLS_SHA512_C:!MBEDTLS_SHA512_NO_SHA384
|
|
ssl_cf_hmac:MBEDTLS_MD_SHA384
|