mirror of
https://github.com/cuberite/polarssl.git
synced 2025-10-02 10:00:47 -04:00
Revert "Correctly build client-side code that's to be run under the PSA crypto sim"
This reverts commit e7a2230df7e9468f3a276edabe20a0705a492940. Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com>
This commit is contained in:
parent
f252f61611
commit
5ddd6591c3
@ -24,8 +24,6 @@ PSA_CLIENT_SRC = src/psa_ff_client.c \
|
|||||||
src/psa_sim_crypto_client.c \
|
src/psa_sim_crypto_client.c \
|
||||||
src/psa_sim_serialise.c
|
src/psa_sim_serialise.c
|
||||||
|
|
||||||
PSA_CLIENT_DEFS = -Isrc -DMBEDTLS_USER_CONFIG_FILE='"psa_sim_client_config_adjust.h"'
|
|
||||||
|
|
||||||
PARTITION_SERVER_BOOTSTRAP = src/psa_ff_bootstrap_TEST_PARTITION.c
|
PARTITION_SERVER_BOOTSTRAP = src/psa_ff_bootstrap_TEST_PARTITION.c
|
||||||
|
|
||||||
PSA_SERVER_SRC = $(PARTITION_SERVER_BOOTSTRAP) \
|
PSA_SERVER_SRC = $(PARTITION_SERVER_BOOTSTRAP) \
|
||||||
@ -41,7 +39,7 @@ test/seedfile:
|
|||||||
dd if=/dev/urandom of=./test/seedfile bs=64 count=1
|
dd if=/dev/urandom of=./test/seedfile bs=64 count=1
|
||||||
|
|
||||||
test/psa_client: $(PSA_CLIENT_SRC) $(GENERATED_H_FILES)
|
test/psa_client: $(PSA_CLIENT_SRC) $(GENERATED_H_FILES)
|
||||||
$(CC) $(COMMON_INCLUDE) $(CFLAGS) $(PSA_CLIENT_DEFS) $(PSA_CLIENT_SRC) $(LIBPSACLIENT) $(LDFLAGS) -o $@
|
$(CC) $(COMMON_INCLUDE) $(CFLAGS) $(PSA_CLIENT_SRC) $(LIBPSACLIENT) $(LDFLAGS) -o $@
|
||||||
|
|
||||||
test/psa_partition: $(PSA_SERVER_SRC) $(GENERATED_H_FILES) test/seedfile
|
test/psa_partition: $(PSA_SERVER_SRC) $(GENERATED_H_FILES) test/seedfile
|
||||||
$(CC) $(COMMON_INCLUDE) $(CFLAGS) $(PSA_SERVER_SRC) $(LIBPSASERVER) $(LDFLAGS) -o $@
|
$(CC) $(COMMON_INCLUDE) $(CFLAGS) $(PSA_SERVER_SRC) $(LIBPSASERVER) $(LDFLAGS) -o $@
|
||||||
|
@ -1,14 +0,0 @@
|
|||||||
/**
|
|
||||||
* \file psa_sim_client_config_adjust.h
|
|
||||||
*
|
|
||||||
* \brief User config file for client-side code to be run under PSA simulator
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright The Mbed TLS Contributors
|
|
||||||
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
|
|
||||||
*/
|
|
||||||
|
|
||||||
#define MBEDTLS_PSA_CRYPTO_CLIENT
|
|
||||||
#undef MBEDTLS_PSA_CRYPTO_C
|
|
||||||
#undef MBEDTLS_PSA_CRYPTO_STORAGE_C
|
|
Loading…
x
Reference in New Issue
Block a user