From 3b8518164a51ae984b899c444f54637b490dc2e5 Mon Sep 17 00:00:00 2001 From: Simon Zhang Date: Mon, 9 Dec 2019 19:58:39 +0800 Subject: tls: Picotls engine symmetric crypto enhancement by vpp crypto framework Type: feature Signed-off-by: Simon Zhang Change-Id: I1d4fe75e5faf3fa2086d11020828345b173ebd03 --- src/plugins/tlspicotls/tls_picotls.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/plugins/tlspicotls/tls_picotls.c') diff --git a/src/plugins/tlspicotls/tls_picotls.c b/src/plugins/tlspicotls/tls_picotls.c index 054f01a721d..09927630291 100644 --- a/src/plugins/tlspicotls/tls_picotls.c +++ b/src/plugins/tlspicotls/tls_picotls.c @@ -2,6 +2,7 @@ #include "certs.h" #include "tls_picotls.h" +#include "pico_vpp_crypto.h" picotls_main_t picotls_main; @@ -151,7 +152,7 @@ picotls_start_listen (tls_ctx_t * lctx) /* setup protocol related functions */ ptls_ctx->key_exchanges = key_exchange; ptls_ctx->random_bytes = ptls_openssl_random_bytes; - ptls_ctx->cipher_suites = ptls_openssl_cipher_suites; + ptls_ctx->cipher_suites = ptls_vpp_crypto_cipher_suites; ptls_ctx->get_time = &ptls_get_time; lctx->tls_ssl_ctx = ptls_lctx_idx; -- cgit 1.2.3-korg