aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/crypto/engine.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2025-01-16 12:47:01 +0000
committerAndrew Yourtchenko <ayourtch@gmail.com>2025-01-16 14:53:36 +0000
commit4e003776cb9a7f7989ae4c49baec12d74ad16fa7 (patch)
tree07b2eb1625a37086d4ecc7a6c19d17b18f3b3996 /src/vnet/crypto/engine.h
parent574c4574cd93e698af74d09992541af04150ead4 (diff)
crypto: combine sync and async algos and ops
Type: improvement Change-Id: I4d507b105e5b5ba7dd68d373c7f1ab156a9fc9f1 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/crypto/engine.h')
-rw-r--r--src/vnet/crypto/engine.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vnet/crypto/engine.h b/src/vnet/crypto/engine.h
index 993befb393a..517b6ec3457 100644
--- a/src/vnet/crypto/engine.h
+++ b/src/vnet/crypto/engine.h
@@ -12,8 +12,8 @@ typedef unsigned int u32;
typedef struct
{
vnet_crypto_op_id_t opt;
- vnet_crypto_ops_handler_t *fn;
- vnet_crypto_chained_ops_handler_t *cfn;
+ vnet_crypto_simple_op_fn_t *fn;
+ vnet_crypto_chained_op_fn_t *cfn;
} vnet_crypto_engine_op_handlers_t;
struct vnet_crypto_engine_registration;
@@ -31,7 +31,7 @@ typedef struct vnet_crypto_engine_registration
u32 num_threads;
void *per_thread_data;
vnet_crypto_engine_init_fn_t *init_fn;
- vnet_crypto_key_handler_t *key_handler;
+ vnet_crypto_key_fn_t *key_handler;
vnet_crypto_engine_op_handlers_t *op_handlers;
} vnet_crypto_engine_registration_t;