From f539578bac8b64886b57c460c9d74273e6613f8b Mon Sep 17 00:00:00 2001 From: Fan Zhang Date: Wed, 29 Apr 2020 14:00:03 +0100 Subject: crypto: introduce async crypto infra Type: feature Signed-off-by: Damjan Marion Signed-off-by: Filip Tehlar Signed-off-by: Fan Zhang Signed-off-by: Piotr Bronowski Signed-off-by: Dariusz Kazimierski Signed-off-by: Piotr Kleski Change-Id: I4c3fcccf55c36842b7b48aed260fef2802b5c54b --- src/plugins/crypto_native/main.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/plugins/crypto_native') diff --git a/src/plugins/crypto_native/main.c b/src/plugins/crypto_native/main.c index 45d3d8dfe4e..7a42e4b416b 100644 --- a/src/plugins/crypto_native/main.c +++ b/src/plugins/crypto_native/main.c @@ -45,6 +45,10 @@ crypto_native_key_handler (vlib_main_t * vm, vnet_crypto_key_op_t kop, return; } + /** TODO: add linked alg support **/ + if (key->type == VNET_CRYPTO_KEY_TYPE_LINK) + return; + vec_validate_aligned (cm->key_data, idx, CLIB_CACHE_LINE_BYTES); if (kop == VNET_CRYPTO_KEY_OP_MODIFY && cm->key_data[idx]) -- cgit 1.2.3-korg