crypto_config_test_driver_extension: support accelaration of DH groups
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
parent
48a847afb7
commit
1161b44981
1 changed files with 40 additions and 0 deletions
|
@ -192,6 +192,46 @@
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(PSA_WANT_DH_RFC7919_2048)
|
||||||
|
#if defined(MBEDTLS_PSA_ACCEL_DH_RFC7919_2048)
|
||||||
|
#undef MBEDTLS_PSA_ACCEL_DH_RFC7919_2048
|
||||||
|
#else
|
||||||
|
#define MBEDTLS_PSA_ACCEL_DH_RFC7919_2048
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(PSA_WANT_DH_RFC7919_3072)
|
||||||
|
#if defined(MBEDTLS_PSA_ACCEL_DH_RFC7919_3072)
|
||||||
|
#undef MBEDTLS_PSA_ACCEL_DH_RFC7919_3072
|
||||||
|
#else
|
||||||
|
#define MBEDTLS_PSA_ACCEL_DH_RFC7919_3072
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(PSA_WANT_DH_RFC7919_4096)
|
||||||
|
#if defined(MBEDTLS_PSA_ACCEL_DH_RFC7919_4096)
|
||||||
|
#undef MBEDTLS_PSA_ACCEL_DH_RFC7919_4096
|
||||||
|
#else
|
||||||
|
#define MBEDTLS_PSA_ACCEL_DH_RFC7919_4096
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(PSA_WANT_DH_RFC7919_6144)
|
||||||
|
#if defined(MBEDTLS_PSA_ACCEL_DH_RFC7919_6144)
|
||||||
|
#undef MBEDTLS_PSA_ACCEL_DH_RFC7919_6144
|
||||||
|
#else
|
||||||
|
#define MBEDTLS_PSA_ACCEL_DH_RFC7919_6144
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(PSA_WANT_DH_RFC7919_8192)
|
||||||
|
#if defined(MBEDTLS_PSA_ACCEL_DH_RFC7919_8192)
|
||||||
|
#undef MBEDTLS_PSA_ACCEL_DH_RFC7919_8192
|
||||||
|
#else
|
||||||
|
#define MBEDTLS_PSA_ACCEL_DH_RFC7919_8192
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(PSA_WANT_ALG_FFDH)
|
#if defined(PSA_WANT_ALG_FFDH)
|
||||||
#if defined(MBEDTLS_PSA_ACCEL_ALG_FFDH)
|
#if defined(MBEDTLS_PSA_ACCEL_ALG_FFDH)
|
||||||
#undef MBEDTLS_PSA_ACCEL_ALG_FFDH
|
#undef MBEDTLS_PSA_ACCEL_ALG_FFDH
|
||||||
|
|
Loading…
Reference in a new issue