-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ArduinoBearSSLConfig.h file and include it in the build to allow …
…library configuration
- Loading branch information
Showing
2 changed files
with
42 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,41 @@ | ||
/* | ||
This file is part of ArduinoIoTCloud. | ||
Copyright 2024 ARDUINO SA (http://www.arduino.cc/) | ||
This software is released under the GNU General Public License version 3, | ||
which covers the main part of arduino-cli. | ||
The terms of this license can be found at: | ||
https://www.gnu.org/licenses/gpl-3.0.en.html | ||
You can be released from the requirements of the above licenses by purchasing | ||
a commercial license. Buying such a license is mandatory if you want to modify or | ||
otherwise use the software for commercial activities involving the Arduino | ||
software without disclosing the source code of your own applications. To purchase | ||
a commercial license, send an email to [email protected]. | ||
*/ | ||
|
||
#ifndef ARDUINO_BEARSSL_CONFIG_H_ | ||
#define ARDUINO_BEARSSL_CONFIG_H_ | ||
|
||
/* Enabling this define allows the usage of ArduinoBearSSL without crypto chip. */ | ||
//#define ARDUINO_DISABLE_ECCX08 | ||
|
||
/* Enable/Disable global instances*/ | ||
#define ARDUINO_BEARSSL_DISABLE_AES128 | ||
#define ARDUINO_BEARSSL_DISABLE_DES | ||
#define ARDUINO_BEARSSL_DISABLE_MD5 | ||
#define ARDUINO_BEARSSL_DISABLE_SHA1 | ||
#define ARDUINO_BEARSSL_DISABLE_SHA256 | ||
|
||
#define ARDUINO_BEARSSL_DISABLE_KEY_DECODER | ||
|
||
/* If uncommented profile should be configured using client.setProfile(...) */ | ||
#define ARDUINO_BEARSSL_DISABLE_FULL_CLIENT_PROFILE | ||
|
||
/* If uncommented TA should be configured via constructor */ | ||
#define ARDUINO_BEARSSL_DISABLE_BUILTIN_TRUST_ANCHORS | ||
|
||
#define BEAR_SSL_CLIENT_CHAIN_SIZE 1 | ||
|
||
#endif /* ARDUINO_BEARSSL_CONFIG_H_ */ |
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