+1
−1
+34
−8
+13
−4
Loading
Transform raw PSK into retained psk to be stored inside TCP transport. The same transformation has to be done on the NVMe driver's side, to later derive the same TLS PSK. TLS PSK is going to be introduced in the next patch. To avoid supporting two types of PSKs (hexadecimal strings and byte arrays) drop unhexlifying PSK in SSL socket code and make sure other places (hello_sock app) that do not use NVMe TCP driver are responsible for this transformation. Since PSK is now stored as binary data rather than char array, add a field "psk_size" to tcp_psk_entry structure. Change-Id: I921faa54714c333cf64c59c35cf96cf1f6eda6d6 Signed-off-by:Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16246 Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Community-CI: Mellanox Build Bot Reviewed-by:
Jim Harris <james.r.harris@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com>