diff options
author | Simon Zhang <yuwei1.zhang@intel.com> | 2019-12-09 19:58:39 +0800 |
---|---|---|
committer | Simon Zhang <yuwei1.zhang@intel.com> | 2020-02-18 02:24:44 +0000 |
commit | 3b8518164a51ae984b899c444f54637b490dc2e5 (patch) | |
tree | 26fddb68b299b696fba18c6a2b89e094d07a309f /src/plugins/tlspicotls/tls_picotls.c | |
parent | 47d41ad62c5d6008e72d2e9c137cf8f49ca86353 (diff) |
tls: Picotls engine symmetric crypto enhancement by vpp crypto framework
Type: feature
Signed-off-by: Simon Zhang <yuwei1.zhang@intel.com>
Change-Id: I1d4fe75e5faf3fa2086d11020828345b173ebd03
Diffstat (limited to 'src/plugins/tlspicotls/tls_picotls.c')
-rw-r--r-- | src/plugins/tlspicotls/tls_picotls.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |