Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
crypto: introduce async crypto infra
[vpp.git]
/
src
/
plugins
/
crypto_native
/
main.c
diff --git
a/src/plugins/crypto_native/main.c
b/src/plugins/crypto_native/main.c
index
45d3d8d
..
7a42e4b
100644
(file)
--- 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])