mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-30 07:14:18 +01:00
interop test: openssl generate the DTLS-SRTP keys
Missing a command in the test script to compare with peer's output Signed-off-by: Johan Pascal <johan.pascal@belledonne-communications.com>
This commit is contained in:
parent
d387aa0586
commit
39cfd3b96e
@ -8857,7 +8857,7 @@ run_test "DTLS-SRTP all profiles supported. server doesn't support mki." \
|
|||||||
requires_config_enabled MBEDTLS_SSL_DTLS_SRTP
|
requires_config_enabled MBEDTLS_SSL_DTLS_SRTP
|
||||||
run_test "DTLS-SRTP all profiles supported. openssl client." \
|
run_test "DTLS-SRTP all profiles supported. openssl client." \
|
||||||
"$P_SRV dtls=1 use_srtp=1 debug_level=3" \
|
"$P_SRV dtls=1 use_srtp=1 debug_level=3" \
|
||||||
"$O_CLI -dtls1 -use_srtp SRTP_AES128_CM_SHA1_80:SRTP_AES128_CM_SHA1_32" \
|
"$O_CLI -dtls1 -use_srtp SRTP_AES128_CM_SHA1_80:SRTP_AES128_CM_SHA1_32 -keymatexport 'EXTRACTOR-dtls_srtp' -keymatexportlen 60" \
|
||||||
0 \
|
0 \
|
||||||
-s "found use_srtp extension" \
|
-s "found use_srtp extension" \
|
||||||
-s "found srtp profile" \
|
-s "found srtp profile" \
|
||||||
@ -8869,7 +8869,7 @@ run_test "DTLS-SRTP all profiles supported. openssl client." \
|
|||||||
requires_config_enabled MBEDTLS_SSL_DTLS_SRTP
|
requires_config_enabled MBEDTLS_SSL_DTLS_SRTP
|
||||||
run_test "DTLS-SRTP server supports all profiles. Client supports all profiles, in different order. openssl client." \
|
run_test "DTLS-SRTP server supports all profiles. Client supports all profiles, in different order. openssl client." \
|
||||||
"$P_SRV dtls=1 use_srtp=1 debug_level=3" \
|
"$P_SRV dtls=1 use_srtp=1 debug_level=3" \
|
||||||
"$O_CLI -dtls1 -use_srtp SRTP_AES128_CM_SHA1_32:SRTP_AES128_CM_SHA1_80" \
|
"$O_CLI -dtls1 -use_srtp SRTP_AES128_CM_SHA1_32:SRTP_AES128_CM_SHA1_80 -keymatexport 'EXTRACTOR-dtls_srtp' -keymatexportlen 60" \
|
||||||
0 \
|
0 \
|
||||||
-s "found use_srtp extension" \
|
-s "found use_srtp extension" \
|
||||||
-s "found srtp profile" \
|
-s "found srtp profile" \
|
||||||
@ -8881,7 +8881,7 @@ run_test "DTLS-SRTP server supports all profiles. Client supports all profiles,
|
|||||||
requires_config_enabled MBEDTLS_SSL_DTLS_SRTP
|
requires_config_enabled MBEDTLS_SSL_DTLS_SRTP
|
||||||
run_test "DTLS-SRTP server supports all profiles. Client supports one profile. openssl client." \
|
run_test "DTLS-SRTP server supports all profiles. Client supports one profile. openssl client." \
|
||||||
"$P_SRV dtls=1 use_srtp=1 debug_level=3" \
|
"$P_SRV dtls=1 use_srtp=1 debug_level=3" \
|
||||||
"$O_CLI -dtls1 -use_srtp SRTP_AES128_CM_SHA1_32" \
|
"$O_CLI -dtls1 -use_srtp SRTP_AES128_CM_SHA1_32 -keymatexport 'EXTRACTOR-dtls_srtp' -keymatexportlen 60" \
|
||||||
0 \
|
0 \
|
||||||
-s "found use_srtp extension" \
|
-s "found use_srtp extension" \
|
||||||
-s "found srtp profile" \
|
-s "found srtp profile" \
|
||||||
@ -8893,7 +8893,7 @@ run_test "DTLS-SRTP server supports all profiles. Client supports one profile.
|
|||||||
requires_config_enabled MBEDTLS_SSL_DTLS_SRTP
|
requires_config_enabled MBEDTLS_SSL_DTLS_SRTP
|
||||||
run_test "DTLS-SRTP server supports one profile. Client supports all profiles. openssl client." \
|
run_test "DTLS-SRTP server supports one profile. Client supports all profiles. openssl client." \
|
||||||
"$P_SRV dtls=1 use_srtp=1 srtp_force_profile=2 debug_level=3" \
|
"$P_SRV dtls=1 use_srtp=1 srtp_force_profile=2 debug_level=3" \
|
||||||
"$O_CLI -dtls1 -use_srtp SRTP_AES128_CM_SHA1_80:SRTP_AES128_CM_SHA1_32" \
|
"$O_CLI -dtls1 -use_srtp SRTP_AES128_CM_SHA1_80:SRTP_AES128_CM_SHA1_32 -keymatexport 'EXTRACTOR-dtls_srtp' -keymatexportlen 60" \
|
||||||
0 \
|
0 \
|
||||||
-s "found use_srtp extension" \
|
-s "found use_srtp extension" \
|
||||||
-s "found srtp profile" \
|
-s "found srtp profile" \
|
||||||
@ -8905,7 +8905,7 @@ run_test "DTLS-SRTP server supports one profile. Client supports all profiles.
|
|||||||
requires_config_enabled MBEDTLS_SSL_DTLS_SRTP
|
requires_config_enabled MBEDTLS_SSL_DTLS_SRTP
|
||||||
run_test "DTLS-SRTP server and Client support only one matching profile. openssl client." \
|
run_test "DTLS-SRTP server and Client support only one matching profile. openssl client." \
|
||||||
"$P_SRV dtls=1 use_srtp=1 srtp_force_profile=2 debug_level=3" \
|
"$P_SRV dtls=1 use_srtp=1 srtp_force_profile=2 debug_level=3" \
|
||||||
"$O_CLI -dtls1 -use_srtp SRTP_AES128_CM_SHA1_32" \
|
"$O_CLI -dtls1 -use_srtp SRTP_AES128_CM_SHA1_32 -keymatexport 'EXTRACTOR-dtls_srtp' -keymatexportlen 60" \
|
||||||
0 \
|
0 \
|
||||||
-s "found use_srtp extension" \
|
-s "found use_srtp extension" \
|
||||||
-s "found srtp profile" \
|
-s "found srtp profile" \
|
||||||
@ -8917,7 +8917,7 @@ run_test "DTLS-SRTP server and Client support only one matching profile. openss
|
|||||||
requires_config_enabled MBEDTLS_SSL_DTLS_SRTP
|
requires_config_enabled MBEDTLS_SSL_DTLS_SRTP
|
||||||
run_test "DTLS-SRTP server and Client support only one different profile. openssl client." \
|
run_test "DTLS-SRTP server and Client support only one different profile. openssl client." \
|
||||||
"$P_SRV dtls=1 use_srtp=1 srtp_force_profile=1 debug_level=3" \
|
"$P_SRV dtls=1 use_srtp=1 srtp_force_profile=1 debug_level=3" \
|
||||||
"$O_CLI -dtls1 -use_srtp SRTP_AES128_CM_SHA1_32" \
|
"$O_CLI -dtls1 -use_srtp SRTP_AES128_CM_SHA1_32 -keymatexport 'EXTRACTOR-dtls_srtp' -keymatexportlen 60" \
|
||||||
0 \
|
0 \
|
||||||
-s "found use_srtp extension" \
|
-s "found use_srtp extension" \
|
||||||
-s "found srtp profile" \
|
-s "found srtp profile" \
|
||||||
@ -8929,7 +8929,7 @@ run_test "DTLS-SRTP server and Client support only one different profile. opens
|
|||||||
requires_config_enabled MBEDTLS_SSL_DTLS_SRTP
|
requires_config_enabled MBEDTLS_SSL_DTLS_SRTP
|
||||||
run_test "DTLS-SRTP server doesn't support use_srtp extension. openssl client" \
|
run_test "DTLS-SRTP server doesn't support use_srtp extension. openssl client" \
|
||||||
"$P_SRV dtls=1 debug_level=3" \
|
"$P_SRV dtls=1 debug_level=3" \
|
||||||
"$O_CLI -dtls1 -use_srtp SRTP_AES128_CM_SHA1_80:SRTP_AES128_CM_SHA1_32" \
|
"$O_CLI -dtls1 -use_srtp SRTP_AES128_CM_SHA1_80:SRTP_AES128_CM_SHA1_32 -keymatexport 'EXTRACTOR-dtls_srtp' -keymatexportlen 60" \
|
||||||
0 \
|
0 \
|
||||||
-s "found use_srtp extension" \
|
-s "found use_srtp extension" \
|
||||||
-S "server hello, adding use_srtp extension" \
|
-S "server hello, adding use_srtp extension" \
|
||||||
@ -8938,7 +8938,7 @@ run_test "DTLS-SRTP server doesn't support use_srtp extension. openssl client"
|
|||||||
|
|
||||||
requires_config_enabled MBEDTLS_SSL_DTLS_SRTP
|
requires_config_enabled MBEDTLS_SSL_DTLS_SRTP
|
||||||
run_test "DTLS-SRTP all profiles supported. openssl server" \
|
run_test "DTLS-SRTP all profiles supported. openssl server" \
|
||||||
"$O_SRV -dtls1 -verify 0 -use_srtp SRTP_AES128_CM_SHA1_80:SRTP_AES128_CM_SHA1_32" \
|
"$O_SRV -dtls1 -verify 0 -use_srtp SRTP_AES128_CM_SHA1_80:SRTP_AES128_CM_SHA1_32 -keymatexport 'EXTRACTOR-dtls_srtp' -keymatexportlen 60" \
|
||||||
"$P_CLI dtls=1 use_srtp=1 debug_level=3" \
|
"$P_CLI dtls=1 use_srtp=1 debug_level=3" \
|
||||||
0 \
|
0 \
|
||||||
-c "client hello, adding use_srtp extension" \
|
-c "client hello, adding use_srtp extension" \
|
||||||
@ -8950,7 +8950,7 @@ run_test "DTLS-SRTP all profiles supported. openssl server" \
|
|||||||
|
|
||||||
requires_config_enabled MBEDTLS_SSL_DTLS_SRTP
|
requires_config_enabled MBEDTLS_SSL_DTLS_SRTP
|
||||||
run_test "DTLS-SRTP server supports all profiles. Client supports all profiles, in different order. openssl server." \
|
run_test "DTLS-SRTP server supports all profiles. Client supports all profiles, in different order. openssl server." \
|
||||||
"$O_SRV -dtls1 -verify 0 -use_srtp SRTP_AES128_CM_SHA1_32:SRTP_AES128_CM_SHA1_80" \
|
"$O_SRV -dtls1 -verify 0 -use_srtp SRTP_AES128_CM_SHA1_32:SRTP_AES128_CM_SHA1_80 -keymatexport 'EXTRACTOR-dtls_srtp' -keymatexportlen 60" \
|
||||||
"$P_CLI dtls=1 use_srtp=1 debug_level=3" \
|
"$P_CLI dtls=1 use_srtp=1 debug_level=3" \
|
||||||
0 \
|
0 \
|
||||||
-c "client hello, adding use_srtp extension" \
|
-c "client hello, adding use_srtp extension" \
|
||||||
@ -8962,7 +8962,7 @@ run_test "DTLS-SRTP server supports all profiles. Client supports all profiles,
|
|||||||
|
|
||||||
requires_config_enabled MBEDTLS_SSL_DTLS_SRTP
|
requires_config_enabled MBEDTLS_SSL_DTLS_SRTP
|
||||||
run_test "DTLS-SRTP server supports all profiles. Client supports one profile. openssl server." \
|
run_test "DTLS-SRTP server supports all profiles. Client supports one profile. openssl server." \
|
||||||
"$O_SRV -dtls1 -verify 0 -use_srtp SRTP_AES128_CM_SHA1_80:SRTP_AES128_CM_SHA1_32" \
|
"$O_SRV -dtls1 -verify 0 -use_srtp SRTP_AES128_CM_SHA1_80:SRTP_AES128_CM_SHA1_32 -keymatexport 'EXTRACTOR-dtls_srtp' -keymatexportlen 60" \
|
||||||
"$P_CLI dtls=1 use_srtp=1 srtp_force_profile=2 debug_level=3" \
|
"$P_CLI dtls=1 use_srtp=1 srtp_force_profile=2 debug_level=3" \
|
||||||
0 \
|
0 \
|
||||||
-c "client hello, adding use_srtp extension" \
|
-c "client hello, adding use_srtp extension" \
|
||||||
@ -8974,7 +8974,7 @@ run_test "DTLS-SRTP server supports all profiles. Client supports one profile.
|
|||||||
|
|
||||||
requires_config_enabled MBEDTLS_SSL_DTLS_SRTP
|
requires_config_enabled MBEDTLS_SSL_DTLS_SRTP
|
||||||
run_test "DTLS-SRTP server supports one profile. Client supports all profiles. openssl server." \
|
run_test "DTLS-SRTP server supports one profile. Client supports all profiles. openssl server." \
|
||||||
"$O_SRV -dtls1 -verify 0 -use_srtp SRTP_AES128_CM_SHA1_32" \
|
"$O_SRV -dtls1 -verify 0 -use_srtp SRTP_AES128_CM_SHA1_32 -keymatexport 'EXTRACTOR-dtls_srtp' -keymatexportlen 60" \
|
||||||
"$P_CLI dtls=1 use_srtp=1 debug_level=3" \
|
"$P_CLI dtls=1 use_srtp=1 debug_level=3" \
|
||||||
0 \
|
0 \
|
||||||
-c "client hello, adding use_srtp extension" \
|
-c "client hello, adding use_srtp extension" \
|
||||||
@ -8986,7 +8986,7 @@ run_test "DTLS-SRTP server supports one profile. Client supports all profiles.
|
|||||||
|
|
||||||
requires_config_enabled MBEDTLS_SSL_DTLS_SRTP
|
requires_config_enabled MBEDTLS_SSL_DTLS_SRTP
|
||||||
run_test "DTLS-SRTP server and Client support only one matching profile. openssl server." \
|
run_test "DTLS-SRTP server and Client support only one matching profile. openssl server." \
|
||||||
"$O_SRV -dtls1 -verify 0 -use_srtp SRTP_AES128_CM_SHA1_32" \
|
"$O_SRV -dtls1 -verify 0 -use_srtp SRTP_AES128_CM_SHA1_32 -keymatexport 'EXTRACTOR-dtls_srtp' -keymatexportlen 60" \
|
||||||
"$P_CLI dtls=1 use_srtp=1 srtp_force_profile=2 debug_level=3" \
|
"$P_CLI dtls=1 use_srtp=1 srtp_force_profile=2 debug_level=3" \
|
||||||
0 \
|
0 \
|
||||||
-c "client hello, adding use_srtp extension" \
|
-c "client hello, adding use_srtp extension" \
|
||||||
@ -8998,7 +8998,7 @@ run_test "DTLS-SRTP server and Client support only one matching profile. openss
|
|||||||
|
|
||||||
requires_config_enabled MBEDTLS_SSL_DTLS_SRTP
|
requires_config_enabled MBEDTLS_SSL_DTLS_SRTP
|
||||||
run_test "DTLS-SRTP server and Client support only one different profile. openssl server." \
|
run_test "DTLS-SRTP server and Client support only one different profile. openssl server." \
|
||||||
"$O_SRV -dtls1 -verify 0 -use_srtp SRTP_AES128_CM_SHA1_32" \
|
"$O_SRV -dtls1 -verify 0 -use_srtp SRTP_AES128_CM_SHA1_32 -keymatexport 'EXTRACTOR-dtls_srtp' -keymatexportlen 60" \
|
||||||
"$P_CLI dtls=1 use_srtp=1 srtp_force_profile=6 debug_level=3" \
|
"$P_CLI dtls=1 use_srtp=1 srtp_force_profile=6 debug_level=3" \
|
||||||
0 \
|
0 \
|
||||||
-c "client hello, adding use_srtp extension" \
|
-c "client hello, adding use_srtp extension" \
|
||||||
@ -9022,7 +9022,7 @@ run_test "DTLS-SRTP server doesn't support use_srtp extension. openssl server"
|
|||||||
|
|
||||||
requires_config_enabled MBEDTLS_SSL_DTLS_SRTP
|
requires_config_enabled MBEDTLS_SSL_DTLS_SRTP
|
||||||
run_test "DTLS-SRTP all profiles supported. server doesn't support mki. openssl server." \
|
run_test "DTLS-SRTP all profiles supported. server doesn't support mki. openssl server." \
|
||||||
"$O_SRV -dtls1 -verify 0 -use_srtp SRTP_AES128_CM_SHA1_80:SRTP_AES128_CM_SHA1_32" \
|
"$O_SRV -dtls1 -verify 0 -use_srtp SRTP_AES128_CM_SHA1_80:SRTP_AES128_CM_SHA1_32 -keymatexport 'EXTRACTOR-dtls_srtp' -keymatexportlen 60" \
|
||||||
"$P_CLI dtls=1 use_srtp=1 mki=542310ab34290481 debug_level=3" \
|
"$P_CLI dtls=1 use_srtp=1 mki=542310ab34290481 debug_level=3" \
|
||||||
0 \
|
0 \
|
||||||
-c "client hello, adding use_srtp extension" \
|
-c "client hello, adding use_srtp extension" \
|
||||||
|
Loading…
Reference in New Issue
Block a user