Skip to content

Commit 0484721

Browse files
Merge pull request #22 from ronald-cron-arm/fix-generation-of-psa-test-wrappers
Fix generation of PSA test wrappers for PAKE
2 parents c663fa8 + b332327 commit 0484721

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

scripts/generate_psa_wrappers.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,22 @@ def _return_variable_name(self,
100100
'mbedtls_psa_inject_entropy': 'defined(MBEDTLS_PSA_INJECT_ENTROPY)',
101101
'mbedtls_psa_external_get_random': 'defined(MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG)',
102102
'mbedtls_psa_platform_get_builtin_key': 'defined(MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS)',
103+
'psa_crypto_driver_pake_get_cipher_suite' : 'defined(PSA_WANT_ALG_SOME_PAKE)',
104+
'psa_crypto_driver_pake_get_password' : 'defined(PSA_WANT_ALG_SOME_PAKE)',
105+
'psa_crypto_driver_pake_get_password_len' : 'defined(PSA_WANT_ALG_SOME_PAKE)',
106+
'psa_crypto_driver_pake_get_peer' : 'defined(PSA_WANT_ALG_SOME_PAKE)',
107+
'psa_crypto_driver_pake_get_peer_len' : 'defined(PSA_WANT_ALG_SOME_PAKE)',
108+
'psa_crypto_driver_pake_get_user' : 'defined(PSA_WANT_ALG_SOME_PAKE)',
109+
'psa_crypto_driver_pake_get_user_len' : 'defined(PSA_WANT_ALG_SOME_PAKE)',
110+
'psa_pake_abort' : 'defined(PSA_WANT_ALG_SOME_PAKE)',
111+
'psa_pake_get_implicit_key' : 'defined(PSA_WANT_ALG_SOME_PAKE)',
112+
'psa_pake_input' : 'defined(PSA_WANT_ALG_SOME_PAKE)',
113+
'psa_pake_output' : 'defined(PSA_WANT_ALG_SOME_PAKE)',
114+
'psa_pake_set_password_key' : 'defined(PSA_WANT_ALG_SOME_PAKE)',
115+
'psa_pake_set_peer' : 'defined(PSA_WANT_ALG_SOME_PAKE)',
116+
'psa_pake_set_role' : 'defined(PSA_WANT_ALG_SOME_PAKE)',
117+
'psa_pake_set_user' : 'defined(PSA_WANT_ALG_SOME_PAKE)',
118+
'psa_pake_setup' : 'defined(PSA_WANT_ALG_SOME_PAKE)',
103119
})
104120

105121
@staticmethod

0 commit comments

Comments
 (0)