Files
mbedtls/tests
Gilles Peskine c3fe74f302 Use short initializers in PAKE tests
When initializing a PAKE operation structure, use an
auxiliary function that doesn't initialize union members to all-bits-zero.
Context: on most compilers, initializing a union to `{0}` initializes it to
all bits zero; but on some compilers, the trailing part of members other
than the first is left uninitialized. This way, we can run the tests on any
platform and validate that the code would work correctly on platforms where
union initialization is short, such as GCC 15.

This commit extends 93dd99571b to
`test_suite_psa_crypto_pake.function`.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2026-04-09 09:42:42 +02:00
..
2023-11-03 12:21:36 +00:00
2026-03-31 15:37:10 +01:00
2026-03-31 15:37:10 +01:00
2026-03-31 15:37:10 +01:00
2023-11-03 12:21:36 +00:00
2023-11-03 12:21:36 +00:00
2026-03-25 14:28:17 +01:00