mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-30 06:33:06 +00:00
ssl_misc: ignore ALG_CBC_PKCS7 for MBEDTLS_SSL_HAVE_xxx_CBC
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
parent
74d5f23c3f
commit
467271dede
@ -263,7 +263,7 @@ uint32_t mbedtls_ssl_get_extension_mask(unsigned int extension_type);
|
||||
|
||||
/* Some internal helpers to determine which keys are availble for CBC mode. */
|
||||
#if defined(MBEDTLS_USE_PSA_CRYPTO)
|
||||
#if defined(PSA_WANT_ALG_CBC_NO_PADDING) || defined(PSA_WANT_ALG_CBC_PKCS7)
|
||||
#if defined(PSA_WANT_ALG_CBC_NO_PADDING)
|
||||
#if defined(PSA_WANT_KEY_TYPE_AES)
|
||||
#define MBEDTLS_SSL_HAVE_AES_CBC
|
||||
#endif
|
||||
@ -273,7 +273,7 @@ uint32_t mbedtls_ssl_get_extension_mask(unsigned int extension_type);
|
||||
#if defined(PSA_WANT_KEY_TYPE_CAMELLIA)
|
||||
#define MBEDTLS_SSL_HAVE_CAMELLIA_CBC
|
||||
#endif
|
||||
#endif /* PSA_WANT_ALG_CBC_NO_PADDING || PSA_WANT_ALG_CBC_PKCS7 */
|
||||
#endif /* PSA_WANT_ALG_CBC_NO_PADDING */
|
||||
#else /* MBEDTLS_USE_PSA_CRYPTO */
|
||||
#if defined(MBEDTLS_CIPHER_MODE_CBC)
|
||||
#if defined(MEDTLS_AES_C)
|
||||
|
Loading…
x
Reference in New Issue
Block a user