This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "".
The branch, api-next has been updated via a820c285a87dfa274c6290638983575bb2e63ba4 (commit) from 44ae9773bc94f8cd349034901f08a2eed46dc822 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit a820c285a87dfa274c6290638983575bb2e63ba4 Author: Petri Savolainen petri.savolainen@linaro.org Date: Fri Feb 17 13:34:14 2017 +0200
linux-gen: ipsec: add stubs for functions
Added stubs for functions so that applications can be built already. A proper implementation follows later on.
Signed-off-by: Petri Savolainen petri.savolainen@linaro.org Reviewed-and-tested-by: Bill Fischofer bill.fischofer@linaro.org Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
diff --git a/platform/linux-generic/odp_ipsec.c b/platform/linux-generic/odp_ipsec.c index ce7fded..588d8d8 100644 --- a/platform/linux-generic/odp_ipsec.c +++ b/platform/linux-generic/odp_ipsec.c @@ -14,3 +14,114 @@ int odp_ipsec_capability(odp_ipsec_capability_t *capa)
return 0; } + +int odp_ipsec_cipher_capability(odp_cipher_alg_t cipher, + odp_crypto_cipher_capability_t capa[], int num) +{ + (void)cipher; + (void)capa; + (void)num; + + return -1; +} + +int odp_ipsec_auth_capability(odp_auth_alg_t auth, + odp_crypto_auth_capability_t capa[], int num) +{ + (void)auth; + (void)capa; + (void)num; + + return -1; +} + +void odp_ipsec_config_init(odp_ipsec_config_t *config) +{ + memset(config, 0, sizeof(odp_ipsec_config_t)); +} + +int odp_ipsec_config(const odp_ipsec_config_t *config) +{ + (void)config; + + return -1; +} + +void odp_ipsec_sa_param_init(odp_ipsec_sa_param_t *param) +{ + memset(param, 0, sizeof(odp_ipsec_sa_param_t)); +} + +odp_ipsec_sa_t odp_ipsec_sa_create(odp_ipsec_sa_param_t *param) +{ + (void)param; + + return ODP_IPSEC_SA_INVALID; +} + +int odp_ipsec_sa_destroy(odp_ipsec_sa_t sa) +{ + (void)sa; + + return -1; +} + +int odp_ipsec_in(const odp_ipsec_op_param_t *input, + odp_ipsec_op_result_t *output) +{ + (void)input; + (void)output; + + return -1; +} + +int odp_ipsec_out(const odp_ipsec_op_param_t *input, + odp_ipsec_op_result_t *output) +{ + (void)input; + (void)output; + + return -1; +} + +int odp_ipsec_in_enq(const odp_ipsec_op_param_t *input) +{ + (void)input; + + return -1; +} + +int odp_ipsec_out_enq(const odp_ipsec_op_param_t *input) +{ + (void)input; + + return -1; +} + +int odp_ipsec_result(odp_ipsec_op_result_t *result, odp_event_t event) +{ + (void)result; + (void)event; + + return -1; +} + +int odp_ipsec_mtu_update(odp_ipsec_sa_t sa, uint32_t mtu) +{ + (void)sa; + (void)mtu; + + return -1; +} + +void *odp_ipsec_sa_context(odp_ipsec_sa_t sa) +{ + (void)sa; + + return NULL; +} + +uint64_t odp_ipsec_sa_to_u64(odp_ipsec_sa_t sa) +{ + return _odp_pri(sa); +}
-----------------------------------------------------------------------
Summary of changes: platform/linux-generic/odp_ipsec.c | 111 +++++++++++++++++++++++++++++++++++++ 1 file changed, 111 insertions(+)
hooks/post-receive