Unknown
903b5da51c
crypto_se_driver: add an error injection mechanism to the mocks
2019-08-21 16:56:16 +01:00
Unknown
9fd6b0cb6f
crypto_se_driver: add key generation mock and test
2019-08-21 16:56:16 +01:00
Unknown
c9ad5910aa
crypto_se_driver: add mock tests
...
Mock key importing and exporting
2019-08-21 16:56:16 +01:00
Janos Follath
71dcefbb8a
Remove Mbed Crypto headers from everest_inc
...
At this point Mbed TLS and Mbed Crypto headers with the same name,
including the Mbed Crypto headers in `everest_inc` breaks Mbed TLS
builds.
2019-08-21 13:01:18 +01:00
Jaeden Amero
8013f44e1a
Make crypto_struct C++ compatible
...
Avoid an error with differing linkages being expressed for
psa_set_key_domain_parameters() between crypto_extra.h and
crypto_struct.h in C++ builds.
[Error] crypto_extra.h@456,14: conflicting declaration of 'psa_status_t psa_set_key_domain_parameters(psa_key_attributes_t*, psa_key_type_t, const uint8_t *, size_t)' with 'C' linkage
2019-08-21 12:24:40 +01:00
Jaeden Amero
b090d5dc2a
Merge pull request #231 from dgreen-arm/api-to-development
...
Merge psa api branch into development
2019-08-21 11:50:57 +01:00
Darryl Green
ecfd050633
Merge pull request #230 from AndrzejKurek/remove-double-underscore
...
Remove double underscores from macro and add a check for it
2019-08-21 11:23:32 +01:00
Darryl Green
572a16e694
Merge branch 'psa-api-1.0-beta' into api-to-development
2019-08-21 10:31:12 +01:00
Unknown
712f7a804e
Add a check for double underscores in identifiers in check-names.sh
2019-08-21 03:34:00 -04:00
Unknown
e2e19959d7
Rename AEAD macro to not use double underscores
...
This pattern (identifiers containing a double underscore anywhere in them)
is reserved.
2019-08-21 03:33:04 -04:00
Janos Follath
20082cb488
Correct 3rdparty include path for Mbed TLS
2019-08-20 15:18:19 +01:00
Christoph M. Wintersteiger
c25df6848b
Fix code style
2019-08-19 13:37:46 +01:00
Gilles Peskine
09a24b3dda
Add Everest components to all.sh
...
Test a native build and a 32-bit build. For variety, the native build
is with CMake and clang, and the 32-bit build is with GNU make and
gcc.
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
0969eeecbc
3rdparty: Fix Everest's mbedtls_x25519_get_params
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
19d5c80c33
3rdparty: Added config checks for Everest
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
6212617097
Fix macros in benchmark.c
...
#2124 may suffer from the same problem.
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
f8d4c883a7
Update generated files
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
7b747fcdc9
3rdparty: fix inclusion order of CMakeLists.txt
...
This is so that third-party modules pick up the INSTALL_MBEDTLS_HEADERS variable.
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
d64e1e1e1c
3rdparty: Fix Everest header installation
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
ec70771a71
3rdparty: fix paths in Everest build scripts
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
26b98e12c5
3rdparty: Fix newlines and trailing whitespace
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
6e0cac1f57
3rdparty: Fix Everest build to not depend on build-time macros
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
2c69d10bac
3rdparty: Adjust use of Everest in ecp_supported_curves
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
7ec367ffc1
3rdparty: don't claim armcc support in Everest Readme.md
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
cf5603f712
ECDH: Fix inclusion of platform.h for proper use of MBEDTLS_ERR_PLATFORM_FEATURE_UNSUPPORTED
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
3b58700d38
ECDH: Fix use of ECDH API in full handshake benchmark
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
bfc8eb2b78
Revert "ECDH: Fix memory leaks due to context re-initialization"
...
This reverts commit 2340f03c597b923c0f427c76b4c3d2cd11638410.
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
d8c45d5550
Revert "ECDH: Fix context initialization"
...
This reverts commit 4a43d14146220e8550d6ad87cb798f74ce9ee209.
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
30bc9cebda
ECDH: Fix context initialization
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
e7e74ba33b
3rdparty: Improve Everest README.md
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
1b73a71ac1
3rdparty: Fix .gitignore
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
8592958205
ECDH: Use macro-based sizes in Everest x25519
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
2f563e3482
ECDH: Fix memory leaks due to context re-initialization
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
2be66d44a5
ECDH: Remove duplicate lines of code
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
ac0e64df68
ECDH: Removed unnecessary calls to mbedtls_ecp_group_load in ECDH benchmark
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
efdf4d7baa
ECDH: Fix Everest x25519 make_public
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
537f41ebbf
3rdparty: Updated comments for Everest x25519
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
088ef49681
3rdparty: Make proper use of mbedtls_platform_zeroize in Everest x25519
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
fb779f1700
3rdparty: Pull Everest x25519 key size into macro
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
f21aba4cb2
3rdparty: Fix Everest platform detection for CMake
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
cb31073e1c
ECP: add Curve448 to ecp_supported_curves
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
4061f04acd
ECDH: Remove unnecessary #include
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
737df0c755
Fix file permissions
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
9b5e77e2e3
3rdparty: Use LOCAL_FLAGS instead of CFLAGS
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
2d4725f204
3rdparty: Rename THIRDPARTY_OBJECTS
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
3ff60bcf1a
ECDH/ECDSA: Fix indentation
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
ef17e3b59c
ECDSA: Fix formatting
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
5833de7ab2
3rdparty: Update description of MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
f43e1d942f
3rdparty: Remove unnecessary copy of license file
2019-08-19 13:37:46 +01:00
Christoph M. Wintersteiger
20819afcad
3rdparty: Adjust .gitignore
2019-08-19 13:37:46 +01:00