Rename MPS files library/mps/xxx.[ch] to library/mps_xxx.[ch]

Signed-off-by: Hanno Becker <hanno.becker@arm.com>
This commit is contained in:
Hanno Becker 2021-01-28 07:08:08 +00:00
parent b910016049
commit c518c3b7bb
9 changed files with 14 additions and 15 deletions

View file

@ -47,8 +47,8 @@ set(src_crypto
md4.c md4.c
md5.c md5.c
memory_buffer_alloc.c memory_buffer_alloc.c
mps/reader.c mps_reader.c
mps/trace.o mps_trace.c
nist_kw.c nist_kw.c
oid.c oid.c
padlock.c padlock.c

View file

@ -104,8 +104,8 @@ OBJS_CRYPTO= \
md4.o \ md4.o \
md5.o \ md5.o \
memory_buffer_alloc.o \ memory_buffer_alloc.o \
mps/reader.o \ mps_reader.o \
mps/trace.o \ mps_trace.o \
nist_kw.o \ nist_kw.o \
oid.o \ oid.o \
padlock.o \ padlock.o \

View file

@ -19,9 +19,9 @@
* This file is part of Mbed TLS (https://tls.mbed.org) * This file is part of Mbed TLS (https://tls.mbed.org)
*/ */
#include "reader.h" #include "mps_reader.h"
#include "common.h" #include "mps_common.h"
#include "trace.h" #include "mps_trace.h"
#include <string.h> #include <string.h>

View file

@ -116,8 +116,8 @@
#include <stdio.h> #include <stdio.h>
#include "common.h" #include "mps_common.h"
#include "error.h" #include "mps_error.h"
struct mbedtls_reader; struct mbedtls_reader;
typedef struct mbedtls_reader mbedtls_reader; typedef struct mbedtls_reader mbedtls_reader;

View file

@ -19,11 +19,11 @@
* This file is part of Mbed TLS (https://tls.mbed.org) * This file is part of Mbed TLS (https://tls.mbed.org)
*/ */
#include "common.h" #include "mps_common.h"
#if defined(MBEDTLS_MPS_TRACE) #if defined(MBEDTLS_MPS_TRACE)
#include "trace.h" #include "mps_trace.h"
#include <stdarg.h> #include <stdarg.h>
static int trace_depth_ = 0; static int trace_depth_ = 0;

View file

@ -27,10 +27,9 @@
#define MBEDTLS_MPS_TRACE_H #define MBEDTLS_MPS_TRACE_H
#include "common.h" #include "common.h"
#include "mps_common.h"
#include "mps_trace.h"
#include "../common.h"
#include "trace.h"
#if defined(MBEDTLS_PLATFORM_C) #if defined(MBEDTLS_PLATFORM_C)
#include "mbedtls/platform.h" #include "mbedtls/platform.h"
#else #else

View file

@ -3,7 +3,7 @@
#include <stdlib.h> #include <stdlib.h>
/* TODO: How are test suites supposed to include internal headers? */ /* TODO: How are test suites supposed to include internal headers? */
#include "../library/mps/reader.h" #include "../library/mps_reader.h"
/* /*
* Compile-time configuration for test suite. * Compile-time configuration for test suite.