Skip to content

Commit b876a0a

Browse files
Merge pull request #9185 from ronald-cron-arm/adapt-components-with-psa-crypto-config-enabled
Adapt components with MBEDTLS_PSA_CRYPTO_CONFIG enabled
2 parents 150b88c + 390dba6 commit b876a0a

File tree

4 files changed

+95
-126
lines changed

4 files changed

+95
-126
lines changed

framework

tests/include/test/psa_test_wrappers.h

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,53 +262,67 @@ psa_status_t mbedtls_test_wrap_psa_copy_key(
262262
#define psa_copy_key(arg0_source_key, arg1_attributes, arg2_target_key) \
263263
mbedtls_test_wrap_psa_copy_key(arg0_source_key, arg1_attributes, arg2_target_key)
264264

265+
#if defined(PSA_WANT_ALG_SOME_PAKE)
265266
psa_status_t mbedtls_test_wrap_psa_crypto_driver_pake_get_cipher_suite(
266267
const psa_crypto_driver_pake_inputs_t *arg0_inputs,
267268
psa_pake_cipher_suite_t *arg1_cipher_suite);
268269
#define psa_crypto_driver_pake_get_cipher_suite(arg0_inputs, arg1_cipher_suite) \
269270
mbedtls_test_wrap_psa_crypto_driver_pake_get_cipher_suite(arg0_inputs, arg1_cipher_suite)
271+
#endif /* defined(PSA_WANT_ALG_SOME_PAKE) */
270272

273+
#if defined(PSA_WANT_ALG_SOME_PAKE)
271274
psa_status_t mbedtls_test_wrap_psa_crypto_driver_pake_get_password(
272275
const psa_crypto_driver_pake_inputs_t *arg0_inputs,
273276
uint8_t *arg1_buffer,
274277
size_t arg2_buffer_size,
275278
size_t *arg3_buffer_length);
276279
#define psa_crypto_driver_pake_get_password(arg0_inputs, arg1_buffer, arg2_buffer_size, arg3_buffer_length) \
277280
mbedtls_test_wrap_psa_crypto_driver_pake_get_password(arg0_inputs, arg1_buffer, arg2_buffer_size, arg3_buffer_length)
281+
#endif /* defined(PSA_WANT_ALG_SOME_PAKE) */
278282

283+
#if defined(PSA_WANT_ALG_SOME_PAKE)
279284
psa_status_t mbedtls_test_wrap_psa_crypto_driver_pake_get_password_len(
280285
const psa_crypto_driver_pake_inputs_t *arg0_inputs,
281286
size_t *arg1_password_len);
282287
#define psa_crypto_driver_pake_get_password_len(arg0_inputs, arg1_password_len) \
283288
mbedtls_test_wrap_psa_crypto_driver_pake_get_password_len(arg0_inputs, arg1_password_len)
289+
#endif /* defined(PSA_WANT_ALG_SOME_PAKE) */
284290

291+
#if defined(PSA_WANT_ALG_SOME_PAKE)
285292
psa_status_t mbedtls_test_wrap_psa_crypto_driver_pake_get_peer(
286293
const psa_crypto_driver_pake_inputs_t *arg0_inputs,
287294
uint8_t *arg1_peer_id,
288295
size_t arg2_peer_id_size,
289296
size_t *arg3_peer_id_length);
290297
#define psa_crypto_driver_pake_get_peer(arg0_inputs, arg1_peer_id, arg2_peer_id_size, arg3_peer_id_length) \
291298
mbedtls_test_wrap_psa_crypto_driver_pake_get_peer(arg0_inputs, arg1_peer_id, arg2_peer_id_size, arg3_peer_id_length)
299+
#endif /* defined(PSA_WANT_ALG_SOME_PAKE) */
292300

301+
#if defined(PSA_WANT_ALG_SOME_PAKE)
293302
psa_status_t mbedtls_test_wrap_psa_crypto_driver_pake_get_peer_len(
294303
const psa_crypto_driver_pake_inputs_t *arg0_inputs,
295304
size_t *arg1_peer_len);
296305
#define psa_crypto_driver_pake_get_peer_len(arg0_inputs, arg1_peer_len) \
297306
mbedtls_test_wrap_psa_crypto_driver_pake_get_peer_len(arg0_inputs, arg1_peer_len)
307+
#endif /* defined(PSA_WANT_ALG_SOME_PAKE) */
298308

309+
#if defined(PSA_WANT_ALG_SOME_PAKE)
299310
psa_status_t mbedtls_test_wrap_psa_crypto_driver_pake_get_user(
300311
const psa_crypto_driver_pake_inputs_t *arg0_inputs,
301312
uint8_t *arg1_user_id,
302313
size_t arg2_user_id_size,
303314
size_t *arg3_user_id_len);
304315
#define psa_crypto_driver_pake_get_user(arg0_inputs, arg1_user_id, arg2_user_id_size, arg3_user_id_len) \
305316
mbedtls_test_wrap_psa_crypto_driver_pake_get_user(arg0_inputs, arg1_user_id, arg2_user_id_size, arg3_user_id_len)
317+
#endif /* defined(PSA_WANT_ALG_SOME_PAKE) */
306318

319+
#if defined(PSA_WANT_ALG_SOME_PAKE)
307320
psa_status_t mbedtls_test_wrap_psa_crypto_driver_pake_get_user_len(
308321
const psa_crypto_driver_pake_inputs_t *arg0_inputs,
309322
size_t *arg1_user_len);
310323
#define psa_crypto_driver_pake_get_user_len(arg0_inputs, arg1_user_len) \
311324
mbedtls_test_wrap_psa_crypto_driver_pake_get_user_len(arg0_inputs, arg1_user_len)
325+
#endif /* defined(PSA_WANT_ALG_SOME_PAKE) */
312326

313327
psa_status_t mbedtls_test_wrap_psa_crypto_init(void);
314328
#define psa_crypto_init() \
@@ -566,25 +580,32 @@ psa_status_t mbedtls_test_wrap_psa_mac_verify_setup(
566580
#define psa_mac_verify_setup(arg0_operation, arg1_key, arg2_alg) \
567581
mbedtls_test_wrap_psa_mac_verify_setup(arg0_operation, arg1_key, arg2_alg)
568582

583+
#if defined(PSA_WANT_ALG_SOME_PAKE)
569584
psa_status_t mbedtls_test_wrap_psa_pake_abort(
570585
psa_pake_operation_t *arg0_operation);
571586
#define psa_pake_abort(arg0_operation) \
572587
mbedtls_test_wrap_psa_pake_abort(arg0_operation)
588+
#endif /* defined(PSA_WANT_ALG_SOME_PAKE) */
573589

590+
#if defined(PSA_WANT_ALG_SOME_PAKE)
574591
psa_status_t mbedtls_test_wrap_psa_pake_get_implicit_key(
575592
psa_pake_operation_t *arg0_operation,
576593
psa_key_derivation_operation_t *arg1_output);
577594
#define psa_pake_get_implicit_key(arg0_operation, arg1_output) \
578595
mbedtls_test_wrap_psa_pake_get_implicit_key(arg0_operation, arg1_output)
596+
#endif /* defined(PSA_WANT_ALG_SOME_PAKE) */
579597

598+
#if defined(PSA_WANT_ALG_SOME_PAKE)
580599
psa_status_t mbedtls_test_wrap_psa_pake_input(
581600
psa_pake_operation_t *arg0_operation,
582601
psa_pake_step_t arg1_step,
583602
const uint8_t *arg2_input,
584603
size_t arg3_input_length);
585604
#define psa_pake_input(arg0_operation, arg1_step, arg2_input, arg3_input_length) \
586605
mbedtls_test_wrap_psa_pake_input(arg0_operation, arg1_step, arg2_input, arg3_input_length)
606+
#endif /* defined(PSA_WANT_ALG_SOME_PAKE) */
587607

608+
#if defined(PSA_WANT_ALG_SOME_PAKE)
588609
psa_status_t mbedtls_test_wrap_psa_pake_output(
589610
psa_pake_operation_t *arg0_operation,
590611
psa_pake_step_t arg1_step,
@@ -593,38 +614,49 @@ psa_status_t mbedtls_test_wrap_psa_pake_output(
593614
size_t *arg4_output_length);
594615
#define psa_pake_output(arg0_operation, arg1_step, arg2_output, arg3_output_size, arg4_output_length) \
595616
mbedtls_test_wrap_psa_pake_output(arg0_operation, arg1_step, arg2_output, arg3_output_size, arg4_output_length)
617+
#endif /* defined(PSA_WANT_ALG_SOME_PAKE) */
596618

619+
#if defined(PSA_WANT_ALG_SOME_PAKE)
597620
psa_status_t mbedtls_test_wrap_psa_pake_set_password_key(
598621
psa_pake_operation_t *arg0_operation,
599622
mbedtls_svc_key_id_t arg1_password);
600623
#define psa_pake_set_password_key(arg0_operation, arg1_password) \
601624
mbedtls_test_wrap_psa_pake_set_password_key(arg0_operation, arg1_password)
625+
#endif /* defined(PSA_WANT_ALG_SOME_PAKE) */
602626

627+
#if defined(PSA_WANT_ALG_SOME_PAKE)
603628
psa_status_t mbedtls_test_wrap_psa_pake_set_peer(
604629
psa_pake_operation_t *arg0_operation,
605630
const uint8_t *arg1_peer_id,
606631
size_t arg2_peer_id_len);
607632
#define psa_pake_set_peer(arg0_operation, arg1_peer_id, arg2_peer_id_len) \
608633
mbedtls_test_wrap_psa_pake_set_peer(arg0_operation, arg1_peer_id, arg2_peer_id_len)
634+
#endif /* defined(PSA_WANT_ALG_SOME_PAKE) */
609635

636+
#if defined(PSA_WANT_ALG_SOME_PAKE)
610637
psa_status_t mbedtls_test_wrap_psa_pake_set_role(
611638
psa_pake_operation_t *arg0_operation,
612639
psa_pake_role_t arg1_role);
613640
#define psa_pake_set_role(arg0_operation, arg1_role) \
614641
mbedtls_test_wrap_psa_pake_set_role(arg0_operation, arg1_role)
642+
#endif /* defined(PSA_WANT_ALG_SOME_PAKE) */
615643

644+
#if defined(PSA_WANT_ALG_SOME_PAKE)
616645
psa_status_t mbedtls_test_wrap_psa_pake_set_user(
617646
psa_pake_operation_t *arg0_operation,
618647
const uint8_t *arg1_user_id,
619648
size_t arg2_user_id_len);
620649
#define psa_pake_set_user(arg0_operation, arg1_user_id, arg2_user_id_len) \
621650
mbedtls_test_wrap_psa_pake_set_user(arg0_operation, arg1_user_id, arg2_user_id_len)
651+
#endif /* defined(PSA_WANT_ALG_SOME_PAKE) */
622652

653+
#if defined(PSA_WANT_ALG_SOME_PAKE)
623654
psa_status_t mbedtls_test_wrap_psa_pake_setup(
624655
psa_pake_operation_t *arg0_operation,
625656
const psa_pake_cipher_suite_t *arg1_cipher_suite);
626657
#define psa_pake_setup(arg0_operation, arg1_cipher_suite) \
627658
mbedtls_test_wrap_psa_pake_setup(arg0_operation, arg1_cipher_suite)
659+
#endif /* defined(PSA_WANT_ALG_SOME_PAKE) */
628660

629661
psa_status_t mbedtls_test_wrap_psa_purge_key(
630662
mbedtls_svc_key_id_t arg0_key);

tests/scripts/all.sh

Lines changed: 30 additions & 125 deletions
Original file line numberDiff line numberDiff line change
@@ -1689,7 +1689,7 @@ component_full_no_pkparse_pkwrite() {
16891689
component_test_crypto_full_md_light_only () {
16901690
msg "build: crypto_full with only the light subset of MD"
16911691
scripts/config.py crypto_full
1692-
scripts/config.py unset MBEDTLS_PSA_CRYPTO_CONFIG
1692+
16931693
# Disable MD
16941694
scripts/config.py unset MBEDTLS_MD_C
16951695
# Disable direct dependencies of MD_C
@@ -1698,6 +1698,7 @@ component_test_crypto_full_md_light_only () {
16981698
scripts/config.py unset MBEDTLS_PKCS7_C
16991699
# Disable indirect dependencies of MD_C
17001700
scripts/config.py unset MBEDTLS_ECDSA_DETERMINISTIC # needs HMAC_DRBG
1701+
scripts/config.py -f $CRYPTO_CONFIG_H unset PSA_WANT_ALG_DETERMINISTIC_ECDSA
17011702
# Disable things that would auto-enable MD_C
17021703
scripts/config.py unset MBEDTLS_PKCS5_C
17031704
@@ -1713,69 +1714,28 @@ component_test_crypto_full_md_light_only () {
17131714
make test
17141715
}
17151716
1716-
component_test_full_no_cipher_no_psa_crypto () {
1717-
msg "build: full no CIPHER no PSA_CRYPTO_C"
1718-
scripts/config.py full
1719-
scripts/config.py unset MBEDTLS_CIPHER_C
1720-
# Don't pull in cipher via PSA mechanisms
1721-
# (currently ignored anyway because we completely disable PSA)
1722-
scripts/config.py unset MBEDTLS_PSA_CRYPTO_CONFIG
1723-
# Disable features that depend on CIPHER_C
1724-
scripts/config.py unset MBEDTLS_CMAC_C
1725-
scripts/config.py unset MBEDTLS_NIST_KW_C
1726-
scripts/config.py unset MBEDTLS_PSA_CRYPTO_C
1727-
scripts/config.py unset MBEDTLS_PSA_CRYPTO_CLIENT
1728-
scripts/config.py unset MBEDTLS_SSL_TLS_C
1729-
scripts/config.py unset MBEDTLS_SSL_TICKET_C
1730-
# Disable features that depend on PSA_CRYPTO_C
1731-
scripts/config.py unset MBEDTLS_PSA_CRYPTO_SE_C
1732-
scripts/config.py unset MBEDTLS_PSA_CRYPTO_STORAGE_C
1733-
scripts/config.py unset MBEDTLS_USE_PSA_CRYPTO
1734-
scripts/config.py unset MBEDTLS_LMS_C
1735-
scripts/config.py unset MBEDTLS_LMS_PRIVATE
1736-
1737-
msg "test: full no CIPHER no PSA_CRYPTO_C"
1738-
make test
1739-
}
1740-
1741-
# This is a common configurator and test function that is used in:
1742-
# - component_test_full_no_cipher_with_psa_crypto
1743-
# - component_test_full_no_cipher_with_psa_crypto_config
1744-
# It accepts 2 input parameters:
1745-
# - $1: boolean value which basically reflects status of MBEDTLS_PSA_CRYPTO_CONFIG
1746-
# - $2: a text string which describes the test component
1747-
common_test_full_no_cipher_with_psa_crypto () {
1748-
USE_CRYPTO_CONFIG="$1"
1749-
COMPONENT_DESCRIPTION="$2"
1750-
1751-
msg "build: $COMPONENT_DESCRIPTION"
1717+
component_test_full_no_cipher () {
1718+
msg "build: full no CIPHER"
17521719
17531720
scripts/config.py full
17541721
scripts/config.py unset MBEDTLS_CIPHER_C
17551722
1756-
if [ "$USE_CRYPTO_CONFIG" -eq 1 ]; then
1757-
# The built-in implementation of the following algs/key-types depends
1758-
# on CIPHER_C so we disable them.
1759-
# This does not hold for KEY_TYPE_CHACHA20 and ALG_CHACHA20_POLY1305
1760-
# so we keep them enabled.
1761-
scripts/config.py -f $CRYPTO_CONFIG_H unset PSA_WANT_ALG_CCM_STAR_NO_TAG
1762-
scripts/config.py -f $CRYPTO_CONFIG_H unset PSA_WANT_ALG_CMAC
1763-
scripts/config.py -f $CRYPTO_CONFIG_H unset PSA_WANT_ALG_CBC_NO_PADDING
1764-
scripts/config.py -f $CRYPTO_CONFIG_H unset PSA_WANT_ALG_CBC_PKCS7
1765-
scripts/config.py -f $CRYPTO_CONFIG_H unset PSA_WANT_ALG_CFB
1766-
scripts/config.py -f $CRYPTO_CONFIG_H unset PSA_WANT_ALG_CTR
1767-
scripts/config.py -f $CRYPTO_CONFIG_H unset PSA_WANT_ALG_ECB_NO_PADDING
1768-
scripts/config.py -f $CRYPTO_CONFIG_H unset PSA_WANT_ALG_OFB
1769-
scripts/config.py -f $CRYPTO_CONFIG_H unset PSA_WANT_ALG_PBKDF2_AES_CMAC_PRF_128
1770-
scripts/config.py -f $CRYPTO_CONFIG_H unset PSA_WANT_ALG_STREAM_CIPHER
1771-
scripts/config.py -f $CRYPTO_CONFIG_H unset PSA_WANT_KEY_TYPE_DES
1772-
else
1773-
# Don't pull in cipher via PSA mechanisms
1774-
scripts/config.py unset MBEDTLS_PSA_CRYPTO_CONFIG
1775-
# Disable cipher modes/keys that make PSA depend on CIPHER_C.
1776-
# Keep CHACHA20 and CHACHAPOLY enabled since they do not depend on CIPHER_C.
1777-
scripts/config.py unset-all MBEDTLS_CIPHER_MODE
1778-
fi
1723+
# The built-in implementation of the following algs/key-types depends
1724+
# on CIPHER_C so we disable them.
1725+
# This does not hold for KEY_TYPE_CHACHA20 and ALG_CHACHA20_POLY1305
1726+
# so we keep them enabled.
1727+
scripts/config.py -f $CRYPTO_CONFIG_H unset PSA_WANT_ALG_CCM_STAR_NO_TAG
1728+
scripts/config.py -f $CRYPTO_CONFIG_H unset PSA_WANT_ALG_CMAC
1729+
scripts/config.py -f $CRYPTO_CONFIG_H unset PSA_WANT_ALG_CBC_NO_PADDING
1730+
scripts/config.py -f $CRYPTO_CONFIG_H unset PSA_WANT_ALG_CBC_PKCS7
1731+
scripts/config.py -f $CRYPTO_CONFIG_H unset PSA_WANT_ALG_CFB
1732+
scripts/config.py -f $CRYPTO_CONFIG_H unset PSA_WANT_ALG_CTR
1733+
scripts/config.py -f $CRYPTO_CONFIG_H unset PSA_WANT_ALG_ECB_NO_PADDING
1734+
scripts/config.py -f $CRYPTO_CONFIG_H unset PSA_WANT_ALG_OFB
1735+
scripts/config.py -f $CRYPTO_CONFIG_H unset PSA_WANT_ALG_PBKDF2_AES_CMAC_PRF_128
1736+
scripts/config.py -f $CRYPTO_CONFIG_H unset PSA_WANT_ALG_STREAM_CIPHER
1737+
scripts/config.py -f $CRYPTO_CONFIG_H unset PSA_WANT_KEY_TYPE_DES
1738+
17791739
# The following modules directly depends on CIPHER_C
17801740
scripts/config.py unset MBEDTLS_CMAC_C
17811741
scripts/config.py unset MBEDTLS_NIST_KW_C
@@ -1785,18 +1745,10 @@ common_test_full_no_cipher_with_psa_crypto () {
17851745
# Ensure that CIPHER_C was not re-enabled
17861746
not grep mbedtls_cipher_init library/cipher.o
17871747
1788-
msg "test: $COMPONENT_DESCRIPTION"
1748+
msg "test: full no CIPHER"
17891749
make test
17901750
}
17911751
1792-
component_test_full_no_cipher_with_psa_crypto() {
1793-
common_test_full_no_cipher_with_psa_crypto 0 "full no CIPHER no CRYPTO_CONFIG"
1794-
}
1795-
1796-
component_test_full_no_cipher_with_psa_crypto_config() {
1797-
common_test_full_no_cipher_with_psa_crypto 1 "full no CIPHER"
1798-
}
1799-
18001752
component_test_full_no_ccm() {
18011753
msg "build: full no PSA_WANT_ALG_CCM"
18021754
@@ -1850,60 +1802,6 @@ component_test_full_no_ccm_star_no_tag() {
18501802
make test
18511803
}
18521804
1853-
component_test_full_no_bignum () {
1854-
msg "build: full minus bignum"
1855-
scripts/config.py full
1856-
scripts/config.py unset MBEDTLS_BIGNUM_C
1857-
# Direct dependencies of bignum
1858-
scripts/config.py unset MBEDTLS_ECP_C
1859-
scripts/config.py unset MBEDTLS_RSA_C
1860-
scripts/config.py unset MBEDTLS_DHM_C
1861-
# Direct dependencies of ECP
1862-
scripts/config.py unset MBEDTLS_ECDH_C
1863-
scripts/config.py unset MBEDTLS_ECDSA_C
1864-
scripts/config.py unset MBEDTLS_ECJPAKE_C
1865-
scripts/config.py unset MBEDTLS_ECP_RESTARTABLE
1866-
# Disable what auto-enables ECP_LIGHT
1867-
scripts/config.py unset MBEDTLS_PK_PARSE_EC_EXTENDED
1868-
scripts/config.py unset MBEDTLS_PK_PARSE_EC_COMPRESSED
1869-
# Indirect dependencies of ECP
1870-
scripts/config.py unset MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED
1871-
scripts/config.py unset MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED
1872-
scripts/config.py unset MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED
1873-
scripts/config.py unset MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED
1874-
scripts/config.py unset MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
1875-
scripts/config.py unset MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED
1876-
scripts/config.py unset MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1877-
scripts/config.py unset MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_EPHEMERAL_ENABLED
1878-
# Direct dependencies of DHM
1879-
scripts/config.py unset MBEDTLS_KEY_EXCHANGE_DHE_PSK_ENABLED
1880-
# Direct dependencies of RSA
1881-
scripts/config.py unset MBEDTLS_KEY_EXCHANGE_DHE_RSA_ENABLED
1882-
scripts/config.py unset MBEDTLS_KEY_EXCHANGE_RSA_PSK_ENABLED
1883-
scripts/config.py unset MBEDTLS_KEY_EXCHANGE_RSA_ENABLED
1884-
scripts/config.py unset MBEDTLS_X509_RSASSA_PSS_SUPPORT
1885-
# PK and its dependencies
1886-
scripts/config.py unset MBEDTLS_PK_C
1887-
scripts/config.py unset MBEDTLS_PK_PARSE_C
1888-
scripts/config.py unset MBEDTLS_PK_WRITE_C
1889-
scripts/config.py unset MBEDTLS_X509_USE_C
1890-
scripts/config.py unset MBEDTLS_X509_CRT_PARSE_C
1891-
scripts/config.py unset MBEDTLS_X509_CRL_PARSE_C
1892-
scripts/config.py unset MBEDTLS_X509_CSR_PARSE_C
1893-
scripts/config.py unset MBEDTLS_X509_CREATE_C
1894-
scripts/config.py unset MBEDTLS_X509_CRT_WRITE_C
1895-
scripts/config.py unset MBEDTLS_X509_CSR_WRITE_C
1896-
scripts/config.py unset MBEDTLS_PKCS7_C
1897-
scripts/config.py unset MBEDTLS_SSL_SERVER_NAME_INDICATION
1898-
scripts/config.py unset MBEDTLS_SSL_ASYNC_PRIVATE
1899-
scripts/config.py unset MBEDTLS_X509_TRUSTED_CERTIFICATE_CALLBACK
1900-
1901-
make
1902-
1903-
msg "test: full minus bignum"
1904-
make test
1905-
}
1906-
19071805
component_test_tls1_2_default_stream_cipher_only () {
19081806
msg "build: default with only stream cipher use psa"
19091807
@@ -4479,15 +4377,22 @@ component_test_ssl_alloc_buffer_and_mfl () {
44794377
44804378
component_test_when_no_ciphersuites_have_mac () {
44814379
msg "build: when no ciphersuites have MAC"
4380+
scripts/config.py set MBEDTLS_PSA_CRYPTO_CONFIG
4381+
scripts/config.py -f "$CRYPTO_CONFIG_H" unset PSA_WANT_ALG_CBC_NO_PADDING
4382+
scripts/config.py -f "$CRYPTO_CONFIG_H" unset PSA_WANT_ALG_CBC_PKCS7
4383+
scripts/config.py -f "$CRYPTO_CONFIG_H" unset PSA_WANT_ALG_CMAC
4384+
scripts/config.py -f "$CRYPTO_CONFIG_H" unset PSA_WANT_ALG_PBKDF2_AES_CMAC_PRF_128
4385+
44824386
scripts/config.py unset MBEDTLS_CIPHER_NULL_CIPHER
44834387
scripts/config.py unset MBEDTLS_CIPHER_MODE_CBC
44844388
scripts/config.py unset MBEDTLS_CMAC_C
4389+
44854390
make
44864391
4487-
msg "test: !MBEDTLS_SSL_SOME_MODES_USE_MAC"
4392+
msg "test: !MBEDTLS_SSL_SOME_SUITES_USE_MAC"
44884393
make test
44894394
4490-
msg "test ssl-opt.sh: !MBEDTLS_SSL_SOME_MODES_USE_MAC"
4395+
msg "test ssl-opt.sh: !MBEDTLS_SSL_SOME_SUITES_USE_MAC"
44914396
tests/ssl-opt.sh -f 'Default\|EtM' -e 'without EtM'
44924397
}
44934398

0 commit comments

Comments
 (0)