summaryrefslogtreecommitdiffstats
path: root/src/vnet/session/application_interface.h
diff options
context:
space:
mode:
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>2019-09-13 10:20:15 +0200
committerFlorin Coras <florin.coras@gmail.com>2019-10-09 01:11:11 +0000
commit82fc5fd447ec2b140f1d6a8641106361176f1b80 (patch)
tree5d3db8efde8dd0330df90a64e4f165364ad34ef6 /src/vnet/session/application_interface.h
parent79f89537c6fd3baeac03354a3381f42895fe2ca8 (diff)
hsa: use crypto_engine_type_t for TLS
Type: refactor This patch does the following conversions TLS_ENGINE_X -> CRYPTO_ENGINE_X tls_engine_type_t -> crypto_engine_t It does not change numbering of engines Change-Id: I872dfaec3a6713bf4229c84d1ffd98b8b2419995 Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Diffstat (limited to 'src/vnet/session/application_interface.h')
-rw-r--r--src/vnet/session/application_interface.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/vnet/session/application_interface.h b/src/vnet/session/application_interface.h
index fa6206a5279..17864029d6b 100644
--- a/src/vnet/session/application_interface.h
+++ b/src/vnet/session/application_interface.h
@@ -159,15 +159,15 @@ typedef struct _vnet_application_add_tls_key_args_t
u8 *key;
} vnet_app_add_tls_key_args_t;
-typedef enum tls_engine_type_
+typedef enum crypto_engine_type_
{
- TLS_ENGINE_NONE,
- TLS_ENGINE_MBEDTLS,
- TLS_ENGINE_OPENSSL,
+ CRYPTO_ENGINE_NONE,
+ CRYPTO_ENGINE_MBEDTLS,
+ CRYPTO_ENGINE_OPENSSL,
CRYPTO_ENGINE_VPP,
CRYPTO_ENGINE_PICOTLS,
- TLS_N_ENGINES
-} tls_engine_type_t;
+ CRYPTO_N_ENGINES
+} crypto_engine_type_t;
typedef struct _vnet_app_add_cert_key_pair_args_
{