Path: blob/master/thirdparty/mbedtls/library/cipher_invasive.h
9898 views
/**1* \file cipher_invasive.h2*3* \brief Cipher module: interfaces for invasive testing only.4*5* The interfaces in this file are intended for testing purposes only.6* They SHOULD NOT be made available in library integrations except when7* building the library for testing.8*/9/*10* Copyright The Mbed TLS Contributors11* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later12*/13#ifndef MBEDTLS_CIPHER_INVASIVE_H14#define MBEDTLS_CIPHER_INVASIVE_H1516#include "common.h"1718#if defined(MBEDTLS_TEST_HOOKS) && defined(MBEDTLS_CIPHER_C)1920MBEDTLS_STATIC_TESTABLE int mbedtls_get_pkcs_padding(unsigned char *input,21size_t input_len,22size_t *data_len);2324#endif2526#endif /* MBEDTLS_CIPHER_INVASIVE_H */272829