zephyr/tests/crypto
Flavio Ceolin 890f619936 tests: mbedtls: Fix GCC warning about `test_snprintf`
Fix errors like:

inlined from ‘test_mbedtls’ at
zephyrproject/zephyr/tests/crypto/mbedtls/src/mbedtls.c:172:6:
zephyrproject/zephyr/tests/crypto/mbedtls/src/mbedtls.c:96:17: error:
‘test_snprintf’ reading 10 bytes from a region of size 1
[-Werror=stringop-overread]
   96 |                 test_snprintf(1, "", -1) != 0 ||
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~

In GCC >= 11 because `ret_buf` in some calls are shorter literals

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2022-03-23 18:14:07 -04:00
..
crypto_hash tests: crypto: Add test for hashing on crypto driver 2022-03-01 16:32:43 -05:00
mbedtls tests: mbedtls: Fix GCC warning about `test_snprintf` 2022-03-23 18:14:07 -04:00
rand32 tests: remove @return doc for void functions 2022-01-12 16:02:16 -05:00
tinycrypt everywhere: fix typos 2022-03-18 13:24:08 -04:00
tinycrypt_hmac_prng kconfig: Rename the ZTEST stack size option to align with the rest 2022-02-22 08:23:05 -05:00