mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-08 09:39:58 +00:00
block_cipher_no_decrypt: improve comment
Signed-off-by: Yanray Wang <yanray.wang@arm.com>
This commit is contained in:
parent
70642ecb24
commit
42be1bab30
@ -180,7 +180,7 @@ EXCLUDE_FROM_FULL = frozenset([
|
|||||||
#pylint: disable=line-too-long
|
#pylint: disable=line-too-long
|
||||||
'MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH', # interacts with CTR_DRBG_128_BIT_KEY
|
'MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH', # interacts with CTR_DRBG_128_BIT_KEY
|
||||||
'MBEDTLS_AES_USE_HARDWARE_ONLY', # hardware dependency
|
'MBEDTLS_AES_USE_HARDWARE_ONLY', # hardware dependency
|
||||||
'MBEDTLS_BLOCK_CIPHER_NO_DECRYPT', # incompatible with DES/CBC/XTS/NIST_KW
|
'MBEDTLS_BLOCK_CIPHER_NO_DECRYPT', # incompatible with ECB in PSA, CBC/XTS/NIST_KW/DES
|
||||||
'MBEDTLS_CTR_DRBG_USE_128_BIT_KEY', # interacts with ENTROPY_FORCE_SHA256
|
'MBEDTLS_CTR_DRBG_USE_128_BIT_KEY', # interacts with ENTROPY_FORCE_SHA256
|
||||||
'MBEDTLS_DEPRECATED_REMOVED', # conflicts with deprecated options
|
'MBEDTLS_DEPRECATED_REMOVED', # conflicts with deprecated options
|
||||||
'MBEDTLS_DEPRECATED_WARNING', # conflicts with deprecated options
|
'MBEDTLS_DEPRECATED_WARNING', # conflicts with deprecated options
|
||||||
|
@ -1059,7 +1059,7 @@ component_check_test_dependencies () {
|
|||||||
# the test code and that's probably the most convenient way of achieving
|
# the test code and that's probably the most convenient way of achieving
|
||||||
# the test's goal.
|
# the test's goal.
|
||||||
echo "MBEDTLS_ASN1_WRITE_C" >> $expected
|
echo "MBEDTLS_ASN1_WRITE_C" >> $expected
|
||||||
# No PSA equivalent - used to skip decryption tests in CBC/XTS/DES/NIST_KW
|
# No PSA equivalent - used to skip decryption tests in PSA-ECB, CBC/XTS/NIST_KW/DES
|
||||||
echo "!MBEDTLS_BLOCK_CIPHER_NO_DECRYPT" >> $expected
|
echo "!MBEDTLS_BLOCK_CIPHER_NO_DECRYPT" >> $expected
|
||||||
# No PSA equivalent - we should probably have one in the future.
|
# No PSA equivalent - we should probably have one in the future.
|
||||||
echo "MBEDTLS_ECP_RESTARTABLE" >> $expected
|
echo "MBEDTLS_ECP_RESTARTABLE" >> $expected
|
||||||
@ -4252,7 +4252,7 @@ component_build_aes_variations() {
|
|||||||
cd "$MBEDTLS_ROOT_DIR"
|
cd "$MBEDTLS_ROOT_DIR"
|
||||||
msg "build: aes.o for all combinations of relevant config options + BLOCK_CIPHER_NO_DECRYPT"
|
msg "build: aes.o for all combinations of relevant config options + BLOCK_CIPHER_NO_DECRYPT"
|
||||||
|
|
||||||
# MBEDTLS_BLOCK_CIPHER_NO_DECRYPT is incompatible with CBC/XTS/DES/NIST_KW,
|
# MBEDTLS_BLOCK_CIPHER_NO_DECRYPT is incompatible with ECB in PSA, CBC/XTS/NIST_KW/DES,
|
||||||
# manually set or unset those configurations to check
|
# manually set or unset those configurations to check
|
||||||
# MBEDTLS_BLOCK_CIPHER_NO_DECRYPT with various combinations in aes.o.
|
# MBEDTLS_BLOCK_CIPHER_NO_DECRYPT with various combinations in aes.o.
|
||||||
scripts/config.py set MBEDTLS_BLOCK_CIPHER_NO_DECRYPT
|
scripts/config.py set MBEDTLS_BLOCK_CIPHER_NO_DECRYPT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user