diff options
Diffstat (limited to 'tests/mini-overhead.c')
-rw-r--r-- | tests/mini-overhead.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/tests/mini-overhead.c b/tests/mini-overhead.c index 3887caeb1a..6cd230d2df 100644 --- a/tests/mini-overhead.c +++ b/tests/mini-overhead.c @@ -319,13 +319,20 @@ void doit(void) { signal(SIGCHLD, ch_handler); - /* 13 + 20(sha1) + 16(iv) + 16(max pad) */ + /* overhead for CBC depends on MTU */ + + /* 13 + 20(sha1) + 16(iv) + 16(pad) */ start - ("NONE:+VERS-DTLS1.0:+AES-128-CBC:+SHA1:+SIGN-ALL:+COMP-NULL:+RSA", + ("NONE:+VERS-DTLS1.0:%NO_ETM:+AES-128-CBC:+SHA1:+SIGN-ALL:+COMP-NULL:+RSA", 65); + + /* 13 + 20(sha1) + 8(iv) + 8(max pad) */ + start + ("NONE:+VERS-DTLS1.0:+3DES-CBC:%NO_ETM:+SHA1:+SIGN-ALL:+COMP-NULL:+RSA", + 49); /* 13 + 16(tag) + 4(iv) */ start - ("NONE:+VERS-DTLS1.2:+AES-128-GCM:+AEAD:+SIGN-ALL:+COMP-NULL:+RSA", + ("NONE:+VERS-DTLS1.2:+AES-128-GCM:%NO_ETM:+AEAD:+SIGN-ALL:+COMP-NULL:+RSA", 37); } |