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>
diff --git a/library/cipher_invasive.h b/library/cipher_invasive.h
index 2dbd1d2..f158400 100644
--- a/library/cipher_invasive.h
+++ b/library/cipher_invasive.h
@@ -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