From f07c57b36821e8fa508e8de409bc5c2c912b71b5 Mon Sep 17 00:00:00 2001 From: Szymon Sliwa Date: Mon, 19 Feb 2018 11:53:47 +0100 Subject: plugins: odp: ipsec: style changes 1) add footer to check style 2) fix style 3) change the TODO note to a more descriptive one Change-Id: I232c937c13bc0d5f206ebb4426b50bebc512a192 Signed-off-by: Szymon Sliwa --- src/plugins/odp/ipsec/ipsec.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/plugins/odp/ipsec/ipsec.c') diff --git a/src/plugins/odp/ipsec/ipsec.c b/src/plugins/odp/ipsec/ipsec.c index 63c104e0..0e552fba 100644 --- a/src/plugins/odp/ipsec/ipsec.c +++ b/src/plugins/odp/ipsec/ipsec.c @@ -95,7 +95,7 @@ create_sess (ipsec_sa_t * sa, sa_data_t * sa_sess_data, int is_outbound) const int max_auth_capa_amount = 8; odp_crypto_auth_capability_t capa[max_auth_capa_amount]; - int actual_capa_amount; + int actual_capa_amount; crypto_params.auth_cipher_text = 1; @@ -202,7 +202,10 @@ create_sess (ipsec_sa_t * sa, sa_data_t * sa_sess_data, int is_outbound) clib_error_t * odp_ipsec_check_support (ipsec_sa_t * sa) { - // TODO maybe we should check what crypto is available or something? + /* TODO check if the parameters present in the security association + are supported by the odp_crypto/odp_ipsec, currently that that + is partially checked during the creation of the crypto session, + the odp_ipsec does not check it at all. */ return 0; } -- cgit 1.2.3-korg