mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-06-04 05:34:37 +08:00

If MBEDTLS_BLOCK_CIPHER_NO_DECRYPT is enabled, but decryption is still requested in some incompatible modes, we return an error of FEATURE_UNAVAILABLE as additional indication. Signed-off-by: Yanray Wang <yanray.wang@arm.com>