test: fix comments and functions' naming

Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh
index 708396a..2d4507d 100755
--- a/tests/scripts/all.sh
+++ b/tests/scripts/all.sh
@@ -904,8 +904,8 @@
 }
 
 # When called with no parameter this function disables all builtin curves.
-# The function optionally accepts 1 parameter with the list of the curves that
-# should be kept enabled.
+# The function optionally accepts 1 parameter with the space-separated list
+# of the curves that should be kept enabled.
 helper_disable_builtin_curves() {
     allowed_list="${1:-}"
     scripts/config.py unset-all "MBEDTLS_ECP_DP_[0-9A-Z_a-z]*_ENABLED"
@@ -928,9 +928,9 @@
 }
 
 # Get the list of uncommented PSA_WANT_KEY_TYPE_xxx_ from CRYPTO_CONFIG_H. This
-# is useful to easily get a list of key symbols accelerate.
+# is useful to easily get a list of key type symbols to accelerate.
 # The function accepts a single argument which is the key type: ECC, DH, RSA.
-helper_get_psa_keys_list() {
+helper_get_psa_key_type_list() {
     KEY_TYPE="$1"
     loc_list=""
     for ITEM in $(sed -n "s/^#define PSA_WANT_\(KEY_TYPE_${KEY_TYPE}_[0-9A-Z_a-z]*\).*/\1/p" <"$CRYPTO_CONFIG_H"); do
@@ -2338,7 +2338,7 @@
 
     # Algorithms and key types to accelerate
     loc_accel_list="ALG_ECDSA ALG_DETERMINISTIC_ECDSA \
-                    $(helper_get_psa_keys_list "ECC")"
+                    $(helper_get_psa_key_type_list "ECC")"
 
     loc_curve_list="$(helper_get_psa_curve_list)"
 
@@ -2382,7 +2382,7 @@
 
     # Algorithms and key types to accelerate
     loc_accel_list="ALG_ECDH \
-                    $(helper_get_psa_keys_list "ECC")"
+                    $(helper_get_psa_key_type_list "ECC")"
 
     loc_curve_list="$(helper_get_psa_curve_list)"
 
@@ -2424,7 +2424,7 @@
 
     # Algorithms and key types to accelerate
     loc_accel_list="ALG_FFDH \
-                    $(helper_get_psa_keys_list "DH")"
+                    $(helper_get_psa_key_type_list "DH")"
 
     # Configure
     # ---------
@@ -2545,7 +2545,7 @@
     loc_accel_list="ALG_ECDSA ALG_DETERMINISTIC_ECDSA \
                     ALG_ECDH \
                     ALG_JPAKE \
-                    $(helper_get_psa_keys_list "ECC")"
+                    $(helper_get_psa_key_type_list "ECC")"
 
     loc_curve_list="$(helper_get_psa_curve_list)"
 
@@ -2555,7 +2555,7 @@
     # Use the same config as reference, only without built-in EC algs
     config_psa_crypto_config_ecp_light_only 1
 
-    # Do not disable builtin curves because that support is rquired for:
+    # Do not disable builtin curves because that support is required for:
     # - MBEDTLS_PK_PARSE_EC_EXTENDED
     # - MBEDTLS_PK_PARSE_EC_COMPRESSED
 
@@ -2650,7 +2650,7 @@
     loc_accel_list="ALG_ECDSA ALG_DETERMINISTIC_ECDSA \
                     ALG_ECDH \
                     ALG_JPAKE \
-                    $(helper_get_psa_keys_list "ECC")"
+                    $(helper_get_psa_key_type_list "ECC")"
 
     loc_curve_list="$(helper_get_psa_curve_list)"
 
@@ -2818,7 +2818,7 @@
     loc_accel_list="ALG_ECDSA ALG_DETERMINISTIC_ECDSA \
                     ALG_ECDH \
                     ALG_JPAKE \
-                    $(helper_get_psa_keys_list "ECC")"
+                    $(helper_get_psa_key_type_list "ECC")"
     # Optionally we can also add DH to the list of accelerated items
     if [ "$TEST_TARGET" = "ECC_DH" ]; then
         loc_accel_list="$loc_accel_list \
@@ -3033,7 +3033,7 @@
     loc_accel_list="ALG_ECDH \
                     ALG_ECDSA ALG_DETERMINISTIC_ECDSA \
                     ALG_JPAKE \
-                    $(helper_get_psa_keys_list "ECC")"
+                    $(helper_get_psa_key_type_list "ECC")"
 
     # Configure
     # ---------