summaryrefslogtreecommitdiffstats
path: root/src/plugins/quic/quic_crypto.h
diff options
context:
space:
mode:
authorMathias Raoul <mathias.raoul@gmail.com>2019-07-12 19:11:49 +0200
committerMathias Raoul <mathias.raoul@gmail.com>2019-07-15 23:29:21 +0200
commit9082b43dd06fcd8888eebd95857ef2fb8177d475 (patch)
treecb5e25ca9f2d686c3dc02c0370203842896f46a0 /src/plugins/quic/quic_crypto.h
parent4b0b0d4b53cec5eeb0e12fd7c4ce55cc4052ad0c (diff)
quic: integrate vpp crypto api for quic packets encryption
Type: feature Change-Id: I740f15a5ef959d31e94e59d652aa9f691db1f289 Signed-off-by: Mathias Raoul <mathias.raoul@gmail.com>
Diffstat (limited to 'src/plugins/quic/quic_crypto.h')
-rw-r--r--src/plugins/quic/quic_crypto.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/plugins/quic/quic_crypto.h b/src/plugins/quic/quic_crypto.h
new file mode 100644
index 00000000000..8e4bbf92834
--- /dev/null
+++ b/src/plugins/quic/quic_crypto.h
@@ -0,0 +1,31 @@
+/*
+ * Copyright (c) 2019 Cisco and/or its affiliates.
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at:
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef __included_vpp_quic_crypto_h__
+#define __included_vpp_quic_crypto_h__
+
+#include <quicly.h>
+
+extern ptls_cipher_suite_t *vpp_crypto_cipher_suites[];
+
+#endif /* __included_vpp_quic_crypto_h__ */
+
+/*
+ * fd.io coding-style-patch-verification: ON
+ *
+ * Local Variables:
+ * eval: (c-set-style "gnu")
+ * End:
+ */