diff options
author | Janne Peltonen <janne.peltonen@nokia.com> | 2023-02-20 19:29:40 +0200 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2023-04-12 15:52:37 +0300 |
commit | 5c15257abfb6e6ff95d68ed27797298db56aa43a (patch) | |
tree | 9682a24e612ac1799f4e52e1cca3108e6581d88b /include | |
parent | 495704e419eaa82aa4cac77c5d29d664032da461 (diff) |
api: crypto: deprecate old session creation error names
Deprecate the old session creation error names that have been replaced
by shorter error names.
Signed-off-by: Janne Peltonen <janne.peltonen@nokia.com>
Reviewed-by: Anoob Joseph <anoobj@marvell.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/odp/api/spec/crypto_types.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/odp/api/spec/crypto_types.h b/include/odp/api/spec/crypto_types.h index e4851b69e..ae232db78 100644 --- a/include/odp/api/spec/crypto_types.h +++ b/include/odp/api/spec/crypto_types.h @@ -880,14 +880,16 @@ typedef enum { ODP_CRYPTO_SES_ERR_PARAMS, } odp_crypto_ses_create_err_t; -/** This synonym for backward compatibility will be deprecated later */ +#if ODP_DEPRECATED_API +/** This synonym for backward compatibility has been deprecated */ #define ODP_CRYPTO_SES_CREATE_ERR_NONE ODP_CRYPTO_SES_ERR_NONE -/** This synonym for backward compatibility will be deprecated later */ +/** This synonym for backward compatibility has been deprecated */ #define ODP_CRYPTO_SES_CREATE_ERR_ENOMEM ODP_CRYPTO_SES_ERR_ENOMEM -/** This synonym for backward compatibility will be deprecated later */ +/** This synonym for backward compatibility has been deprecated */ #define ODP_CRYPTO_SES_CREATE_ERR_INV_CIPHER ODP_CRYPTO_SES_ERR_CIPHER -/** This synonym for backward compatibility will be deprecated later */ +/** This synonym for backward compatibility has been deprecated */ #define ODP_CRYPTO_SES_CREATE_ERR_INV_AUTH ODP_CRYPTO_SES_ERR_AUTH +#endif /** * Crypto API algorithm return code |