1 /** 2 * \file cipher_invasive.h 3 * 4 * \brief Cipher module: interfaces for invasive testing only. 5 * 6 * The interfaces in this file are intended for testing purposes only. 7 * They SHOULD NOT be made available in library integrations except when 8 * building the library for testing. 9 */ 10 /* 11 * Copyright The Mbed TLS Contributors 12 * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later 13 */ 14 #ifndef MBEDTLS_CIPHER_INVASIVE_H 15 #define MBEDTLS_CIPHER_INVASIVE_H 16 17 #include "common.h" 18 19 #if defined(MBEDTLS_TEST_HOOKS) && defined(MBEDTLS_CIPHER_C) 20 21 MBEDTLS_STATIC_TESTABLE int mbedtls_get_pkcs_padding(unsigned char *input, 22 size_t input_len, 23 size_t *data_len); 24 25 #endif 26 27 #endif /* MBEDTLS_CIPHER_INVASIVE_H */ 28