1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-30 22:43:08 +03:00

Disable check-names for static padding function

Check names is intended for public APIs. It doesn't matter if we call a
static function a non-namespaced name, so add an exception in the
invasive testing header file.

Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
David Horstmann
2025-01-22 11:26:00 +00:00
parent 1667455992
commit 32d8c90528

View File

@ -18,9 +18,10 @@
#if defined(MBEDTLS_TEST_HOOKS) && defined(MBEDTLS_CIPHER_C)
MBEDTLS_STATIC_TESTABLE int get_pkcs_padding(unsigned char *input,
size_t input_len,
size_t *data_len);
MBEDTLS_STATIC_TESTABLE
int get_pkcs_padding(unsigned char *input, //no-check-names
size_t input_len,
size_t *data_len);
#endif