-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'tmp-branch-move-files-to-framework' into move-files-int…
…o-framework
- Loading branch information
Showing
3 changed files
with
743 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/** | ||
* \file config-symmetric-only.h | ||
* | ||
* \brief Configuration without any asymmetric cryptography. | ||
*/ | ||
/* | ||
* Copyright The Mbed TLS Contributors | ||
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later | ||
*/ | ||
|
||
/* Mbed TLS feature support */ | ||
#define MBEDTLS_ERROR_STRERROR_DUMMY | ||
#define MBEDTLS_VERSION_FEATURES | ||
|
||
#define MBEDTLS_TIMING_C | ||
#define MBEDTLS_VERSION_C |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/** | ||
* \file configs/crypto-config-ccm-aes-sha256.h | ||
* | ||
* \brief PSA crypto configuration with only symmetric cryptography: CCM-AES, | ||
* SHA-256 and key derivation (uses HMAC). | ||
*/ | ||
/* | ||
* Copyright The Mbed TLS Contributors | ||
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later | ||
*/ | ||
|
||
#ifndef PSA_CRYPTO_CONFIG_H | ||
#define PSA_CRYPTO_CONFIG_H | ||
|
||
#define PSA_WANT_ALG_CCM 1 | ||
#define PSA_WANT_ALG_SHA_256 1 | ||
#define PSA_WANT_ALG_TLS12_PRF 1 | ||
#define PSA_WANT_ALG_TLS12_PSK_TO_MS 1 | ||
#define PSA_WANT_KEY_TYPE_DERIVE 1 | ||
#define PSA_WANT_KEY_TYPE_AES 1 | ||
#define PSA_WANT_KEY_TYPE_RAW_DATA 1 | ||
|
||
|
||
#define MBEDTLS_PSA_CRYPTO_C | ||
#define MBEDTLS_CTR_DRBG_C | ||
#define MBEDTLS_ENTROPY_C | ||
|
||
#endif /* PSA_CRYPTO_CONFIG_H */ |
Oops, something went wrong.