mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-01 10:06:53 +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:
@ -18,7 +18,8 @@
|
|||||||
|
|
||||||
#if defined(MBEDTLS_TEST_HOOKS) && defined(MBEDTLS_CIPHER_C)
|
#if defined(MBEDTLS_TEST_HOOKS) && defined(MBEDTLS_CIPHER_C)
|
||||||
|
|
||||||
MBEDTLS_STATIC_TESTABLE int get_pkcs_padding(unsigned char *input,
|
MBEDTLS_STATIC_TESTABLE
|
||||||
|
int get_pkcs_padding(unsigned char *input, //no-check-names
|
||||||
size_t input_len,
|
size_t input_len,
|
||||||
size_t *data_len);
|
size_t *data_len);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user