mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 06:25:43 +01:00
Remove incorrect PSA ECB definition
There is no PSA ALG_ECB, only ALG_ECB_NO_PADDING. Fix one incorrect declaration, and remove another that is just redundant. Signed-off-by: David Brown <david.brown@linaro.org>
This commit is contained in:
parent
8de6437bb6
commit
be380c1e0f
@ -328,7 +328,7 @@ extern "C" {
|
|||||||
#endif /* PSA_WANT_ALG_XTS */
|
#endif /* PSA_WANT_ALG_XTS */
|
||||||
|
|
||||||
#if defined(PSA_WANT_ALG_ECB_NO_PADDING)
|
#if defined(PSA_WANT_ALG_ECB_NO_PADDING)
|
||||||
#define MBEDTLS_PSA_BUILTIN_ALG_ECB 1
|
#define MBEDTLS_PSA_BUILTIN_ALG_ECB_NO_PADDING 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(PSA_WANT_ALG_CBC_NO_PADDING)
|
#if defined(PSA_WANT_ALG_CBC_NO_PADDING)
|
||||||
@ -509,7 +509,6 @@ extern "C" {
|
|||||||
|
|
||||||
#if defined(MBEDTLS_AES_C) || defined(MBEDTLS_DES_C) || \
|
#if defined(MBEDTLS_AES_C) || defined(MBEDTLS_DES_C) || \
|
||||||
defined(MBEDTLS_CAMELLIA_C)
|
defined(MBEDTLS_CAMELLIA_C)
|
||||||
#define MBEDTLS_PSA_BUILTIN_ALG_ECB 1
|
|
||||||
#define MBEDTLS_PSA_BUILTIN_ALG_ECB_NO_PADDING 1
|
#define MBEDTLS_PSA_BUILTIN_ALG_ECB_NO_PADDING 1
|
||||||
#define PSA_WANT_ALG_ECB_NO_PADDING 1
|
#define PSA_WANT_ALG_ECB_NO_PADDING 1
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user