diff --git a/include/odp/api/spec/crypto_types.h b/include/odp/api/spec/crypto_types.h index 27aeb40537..365857e214 100644 --- a/include/odp/api/spec/crypto_types.h +++ b/include/odp/api/spec/crypto_types.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: BSD-3-Clause * Copyright (c) 2014-2018 Linaro Limited - * Copyright (c) 2021-2024 Nokia + * Copyright (c) 2021-2025 Nokia */ /** @@ -920,8 +920,10 @@ typedef struct odp_crypto_session_param_t { /** Output pool * - * In ODP_CRYPTO_OP_TYPE_BASIC and ODP_CRYPTO_OP_TYPE_OOP - * operation types this must be set to ODP_POOL_INVALID. + * This field is unused and will be deprecated later. + * The value must be left to the default value. + * + * Default value is ODP_POOL_INVALID. */ odp_pool_t output_pool; diff --git a/test/performance/pipeline/crypto_parser.c b/test/performance/pipeline/crypto_parser.c index e5b48f22e9..a1aa051877 100644 --- a/test/performance/pipeline/crypto_parser.c +++ b/test/performance/pipeline/crypto_parser.c @@ -115,7 +115,6 @@ static odp_bool_t parse_crypto_entry(config_setting_t *cs, crypto_parse_t *crypt crypto->param.op_mode = ODP_CRYPTO_ASYNC; crypto->param.cipher_key.data = NULL; crypto->param.auth_key.data = NULL; - crypto->param.output_pool = ODP_POOL_INVALID; if (config_setting_lookup_string(cs, CONF_STR_NAME, &val_str) == CONFIG_FALSE) { ODPH_ERR("No \"" CONF_STR_NAME "\" found\n"); diff --git a/test/validation/api/crypto/odp_crypto_test_inp.c b/test/validation/api/crypto/odp_crypto_test_inp.c index 72b2e9c738..13c3249eb0 100644 --- a/test/validation/api/crypto/odp_crypto_test_inp.c +++ b/test/validation/api/crypto/odp_crypto_test_inp.c @@ -44,6 +44,7 @@ static void test_defaults(uint8_t fill) CU_ASSERT(param.auth_alg == ODP_AUTH_ALG_NULL); CU_ASSERT(param.auth_iv_len == 0); CU_ASSERT(param.auth_aad_len == 0); + CU_ASSERT(param.output_pool == ODP_POOL_INVALID); } static void test_default_values(void) @@ -212,7 +213,6 @@ static int session_create(crypto_session_t *session, ses_params.cipher_alg = ref->cipher; ses_params.auth_alg = ref->auth; ses_params.compl_queue = suite_context.queue; - ses_params.output_pool = ODP_POOL_INVALID; ses_params.cipher_key = cipher_key; ses_params.cipher_iv_len = ref->cipher_iv_length; ses_params.auth_iv_len = ref->auth_iv_length;