diff options
author | Alexandru Badicioiu <alexandru.badicioiu@linaro.org> | 2014-11-12 10:06:38 +0200 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2014-11-15 22:07:34 +0300 |
commit | 419a72236ab9fd402996a71aa4ab6b2a97784a1f (patch) | |
tree | c5417d46c26ad40e2a8c3cd810fa7acda3b2a412 /platform | |
parent | 4d055711a6df2817c8106b7678f7148f9ca0355c (diff) |
crypto : add stubs for missing functions
Required by crypto unit testing.
Signed-off-by: Alexandru Badicioiu <alexandru.badicioiu@linaro.org>
Reviewed-by: Mike Holmes <mike.holmes@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'platform')
-rw-r--r-- | platform/linux-generic/odp_crypto.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/platform/linux-generic/odp_crypto.c b/platform/linux-generic/odp_crypto.c index 1475437e5..596c7176d 100644 --- a/platform/linux-generic/odp_crypto.c +++ b/platform/linux-generic/odp_crypto.c @@ -13,6 +13,7 @@ #include <odp_align.h> #include <odp_shared_memory.h> #include <odp_crypto_internal.h> +#include <odp_debug_internal.h> #include <odp_hints.h> #include <odph_packet.h> @@ -467,3 +468,24 @@ odp_crypto_get_ses_create_compl_session(odp_buffer_t completion_event, result = odp_buffer_addr(completion_event); *session = result->session; } + +void +odp_crypto_set_operation_compl_ctx(odp_buffer_t completion_event ODP_UNUSED, + void *ctx ODP_UNUSED) +{ + ODP_UNIMPLEMENTED(); +} + +void +*odp_crypto_get_operation_compl_ctx(odp_buffer_t completion_event ODP_UNUSED) +{ + ODP_UNIMPLEMENTED(); + return NULL; +} + +odp_packet_t +odp_crypto_get_operation_compl_packet(odp_buffer_t completion_event ODP_UNUSED) +{ + ODP_UNIMPLEMENTED(); + return ODP_PACKET_INVALID; +} |