Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Unicode in .function files #9759

Open
wants to merge 1 commit into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion framework
2 changes: 1 addition & 1 deletion tests/suites/test_suite_psa_crypto_ecp.function
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ static int check_ecc_private_key(psa_ecc_family_t family, size_t bits,
}

/* Check masked bits on Curve25519 and Curve448 scalars.
* See RFC 7748 \S4.1 (we expect the "decoded" form here). */
* See RFC 7748 §4.1 (we expect the "decoded" form here). */
#if defined(MBEDTLS_PSA_BUILTIN_ECC_MONTGOMERY_255)
if (family == PSA_ECC_FAMILY_MONTGOMERY && bits == 255) {
TEST_EQUAL(key[0] & 0xf8, key[0]);
Expand Down
2 changes: 1 addition & 1 deletion tf-psa-crypto/tests/suites/test_suite_dhm.function
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ static int check_dhm_param_output(const mbedtls_mpi *expected,
n = (buffer[*offset] << 8) | buffer[*offset + 1];
*offset += 2;
/* The DHM param output from Mbed TLS has leading zeros stripped, as
* permitted but not required by RFC 5246 \S4.4. */
* permitted but not required by RFC 5246 §4.4. */
TEST_EQUAL(n, mbedtls_mpi_size(expected));
TEST_ASSERT(size >= *offset + n);
TEST_EQUAL(0, mbedtls_mpi_read_binary(&actual, buffer + *offset, n));
Expand Down