+10
−0
+1
−0
+73
−30
+0
−17
Loading
Add a field to structure spdk_sock_impl_opts that will be set with selected cipher suite for connecting side or cipher suite list for listening side. Then set cipher suite with SSL_CTX_set_ciphersuites(). Cipher TLS_AES_256_GCM_SHA384 requires us to use newer version of OpenSSL callbacks, which are incompatibilie with TLS 1.2 and below: - instead of setting them with SSL_set_psk_client_callback() we'll need to use SSL_set_psk_use_session_callback for client callbacks. As a part of this patch introduce required client side changes. - remove support for TLS 1.2 and below, as required cipher suites are incompatibile with earlier TLS versions. Change-Id: Id4e274ad2cc265f79d8dd02e65692678981926f2 Signed-off-by:Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16672 Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>