mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-03-04 13:29:39 +00:00
Fix ARIA support in test driver configuration
Deduce MBEDTLS_PSA_ACCEL_KEY_TYPE_ARIA for the driver build from its value from the core build, as is done for other key types. This had not been done correctly when adding ARIA support to the PSA subsystem. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
186331875a
commit
03efa0b8d3
|
@ -854,6 +854,8 @@ psa_status_t psa_driver_wrapper_cipher_encrypt(
|
|||
(void)key_buffer;
|
||||
(void)key_buffer_size;
|
||||
(void)alg;
|
||||
(void)iv;
|
||||
(void)iv_length;
|
||||
(void)input;
|
||||
(void)input_length;
|
||||
(void)output;
|
||||
|
|
|
@ -166,6 +166,14 @@
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(PSA_WANT_KEY_TYPE_ARIA)
|
||||
#if defined(MBEDTLS_PSA_ACCEL_KEY_TYPE_ARIA)
|
||||
#undef MBEDTLS_PSA_ACCEL_KEY_TYPE_ARIA
|
||||
#else
|
||||
#define MBEDTLS_PSA_ACCEL_KEY_TYPE_ARIA 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(PSA_WANT_KEY_TYPE_CAMELLIA)
|
||||
#if defined(MBEDTLS_PSA_ACCEL_KEY_TYPE_CAMELLIA)
|
||||
#undef MBEDTLS_PSA_ACCEL_KEY_TYPE_CAMELLIA
|
||||
|
|
Loading…
Reference in a new issue