From eabfef3d1b2121b8dee9af72383fe79ba97ac5c0 Mon Sep 17 00:00:00 2001 From: Valerio Setti Date: Fri, 30 Jun 2023 11:09:43 +0200 Subject: [PATCH] generate_psa_tests: fix docstring for tweak_key_pair_dependency function Signed-off-by: Valerio Setti --- tests/scripts/generate_psa_tests.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/scripts/generate_psa_tests.py b/tests/scripts/generate_psa_tests.py index 851fe661a0..a77ece6913 100755 --- a/tests/scripts/generate_psa_tests.py +++ b/tests/scripts/generate_psa_tests.py @@ -115,9 +115,11 @@ def hack_dependencies_not_implemented(dependencies: List[str]) -> None: for dep in dependencies): dependencies.append('DEPENDENCY_NOT_IMPLEMENTED_YET') -# This helper function add the proper suffix to PSA_WANT_KEY_TYPE_xxx_KEY_PAIR -# symbols according to the required usage. def tweak_key_pair_dependency(dep: str, usage: str): + """ + This helper function add the proper suffix to PSA_WANT_KEY_TYPE_xxx_KEY_PAIR + symbols according to the required usage. + """ ret_list = list() # Note: this LEGACY replacement for RSA is temporary and it's going to be # aligned with ECC one in #7772.