Revert "Move constant_flow.h into the main library"
This reverts commit fd78c34e23
.
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
3d1bb9be06
commit
378280e57f
12 changed files with 11 additions and 11 deletions
|
@ -30,7 +30,7 @@
|
||||||
#include "mbedtls/error.h"
|
#include "mbedtls/error.h"
|
||||||
#include "mbedtls/platform_util.h"
|
#include "mbedtls/platform_util.h"
|
||||||
|
|
||||||
#include "constant_flow.h"
|
#include "../tests/include/test/constant_flow.h"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
#include "mbedtls/bignum.h"
|
#include "mbedtls/bignum.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "constant_flow.h"
|
#include "../tests/include/test/constant_flow.h"
|
||||||
|
|
||||||
/* armcc5 --gnu defines __GNUC__ but doesn't support GNU's extended asm */
|
/* armcc5 --gnu defines __GNUC__ but doesn't support GNU's extended asm */
|
||||||
#if defined(MBEDTLS_HAVE_ASM) && defined(__GNUC__) && (!defined(__ARMCC_VERSION) || \
|
#if defined(MBEDTLS_HAVE_ASM) && defined(__GNUC__) && (!defined(__ARMCC_VERSION) || \
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "constant_flow.h"
|
#include <test/constant_flow.h>
|
||||||
#include <test/helpers.h>
|
#include <test/helpers.h>
|
||||||
#include <test/macros.h>
|
#include <test/macros.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
#include "mbedtls/base64.h"
|
#include "mbedtls/base64.h"
|
||||||
#include "base64_internal.h"
|
#include "base64_internal.h"
|
||||||
#include "constant_time_internal.h"
|
#include "constant_time_internal.h"
|
||||||
#include "constant_flow.h"
|
#include <test/constant_flow.h>
|
||||||
|
|
||||||
#if defined(MBEDTLS_TEST_HOOKS)
|
#if defined(MBEDTLS_TEST_HOOKS)
|
||||||
static const char base64_digits[] =
|
static const char base64_digits[] =
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#include "mbedtls/entropy.h"
|
#include "mbedtls/entropy.h"
|
||||||
#include "constant_time_internal.h"
|
#include "constant_time_internal.h"
|
||||||
#include "bignum_core.h"
|
#include "bignum_core.h"
|
||||||
#include "constant_flow.h"
|
#include "test/constant_flow.h"
|
||||||
|
|
||||||
#if MBEDTLS_MPI_MAX_BITS > 792
|
#if MBEDTLS_MPI_MAX_BITS > 792
|
||||||
#define MPI_MAX_BITS_LARGER_THAN_792
|
#define MPI_MAX_BITS_LARGER_THAN_792
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#include "mbedtls/entropy.h"
|
#include "mbedtls/entropy.h"
|
||||||
#include "bignum_core.h"
|
#include "bignum_core.h"
|
||||||
#include "constant_time_internal.h"
|
#include "constant_time_internal.h"
|
||||||
#include "constant_flow.h"
|
#include "test/constant_flow.h"
|
||||||
|
|
||||||
/** Verifies mbedtls_mpi_core_add().
|
/** Verifies mbedtls_mpi_core_add().
|
||||||
*
|
*
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#include "bignum_mod.h"
|
#include "bignum_mod.h"
|
||||||
#include "bignum_mod_raw.h"
|
#include "bignum_mod_raw.h"
|
||||||
#include "constant_time_internal.h"
|
#include "constant_time_internal.h"
|
||||||
#include "constant_flow.h"
|
#include "test/constant_flow.h"
|
||||||
|
|
||||||
#define TEST_COMPARE_MPI_RESIDUES(a, b) \
|
#define TEST_COMPARE_MPI_RESIDUES(a, b) \
|
||||||
ASSERT_COMPARE((a).p, (a).limbs * sizeof(mbedtls_mpi_uint), \
|
ASSERT_COMPARE((a).p, (a).limbs * sizeof(mbedtls_mpi_uint), \
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#include "bignum_core.h"
|
#include "bignum_core.h"
|
||||||
#include "bignum_mod_raw.h"
|
#include "bignum_mod_raw.h"
|
||||||
#include "constant_time_internal.h"
|
#include "constant_time_internal.h"
|
||||||
#include "constant_flow.h"
|
#include "test/constant_flow.h"
|
||||||
|
|
||||||
#include "bignum_mod_raw_invasive.h"
|
#include "bignum_mod_raw_invasive.h"
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
#include <mbedtls/constant_time.h>
|
#include <mbedtls/constant_time.h>
|
||||||
#include <constant_time_internal.h>
|
#include <constant_time_internal.h>
|
||||||
|
|
||||||
#include "constant_flow.h"
|
#include <test/constant_flow.h>
|
||||||
/* END_HEADER */
|
/* END_HEADER */
|
||||||
|
|
||||||
/* BEGIN_CASE */
|
/* BEGIN_CASE */
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
#include <constant_time_internal.h>
|
#include <constant_time_internal.h>
|
||||||
#include "md_psa.h"
|
#include "md_psa.h"
|
||||||
|
|
||||||
#include "constant_flow.h"
|
#include <test/constant_flow.h>
|
||||||
/* END_HEADER */
|
/* END_HEADER */
|
||||||
|
|
||||||
/* BEGIN_CASE depends_on:MBEDTLS_SSL_SOME_SUITES_USE_MAC:MBEDTLS_SSL_SOME_SUITES_USE_TLS_CBC:MBEDTLS_TEST_HOOKS */
|
/* BEGIN_CASE depends_on:MBEDTLS_SSL_SOME_SUITES_USE_MAC:MBEDTLS_SSL_SOME_SUITES_USE_TLS_CBC:MBEDTLS_TEST_HOOKS */
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
#include <test/ssl_helpers.h>
|
#include <test/ssl_helpers.h>
|
||||||
|
|
||||||
#include <constant_time_internal.h>
|
#include <constant_time_internal.h>
|
||||||
#include "constant_flow.h"
|
#include <test/constant_flow.h>
|
||||||
|
|
||||||
#define SSL_MESSAGE_QUEUE_INIT { NULL, 0, 0, 0 }
|
#define SSL_MESSAGE_QUEUE_INIT { NULL, 0, 0, 0 }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue