File tree Expand file tree Collapse file tree 13 files changed +91
-2
lines changed Expand file tree Collapse file tree 13 files changed +91
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,9 @@ image:https://github.com/{repository-owner}/{repository-name}/workflows/Spell%20
8
8
9
9
Port of https://bearssl.org[BearSSL] to Arduino.
10
10
11
- This library depends on ArduinoECCX08.
11
+ This library depends on ArduinoECCX08. This dependency could be
12
+ disabled by defining ARDUINO_DISABLE_ECCX08 in ArduinoBearSSLConfig.h
13
+ (see examples).
12
14
13
15
== License ==
14
16
Original file line number Diff line number Diff line change
1
+ #ifndef ARDUINO_BEARSSL_CONFIG_H_
2
+ #define ARDUINO_BEARSSL_CONFIG_H_
3
+
4
+ /* Enabling this define allows the usage of ArduinoBearSSL without crypto chip. */
5
+ //#define ARDUINO_DISABLE_ECCX08
6
+
7
+ #endif /* ARDUINO_BEARSSL_CONFIG_H_ */
Original file line number Diff line number Diff line change
1
+ #ifndef ARDUINO_BEARSSL_CONFIG_H_
2
+ #define ARDUINO_BEARSSL_CONFIG_H_
3
+
4
+ /* Enabling this define allows the usage of ArduinoBearSSL without crypto chip. */
5
+ //#define ARDUINO_DISABLE_ECCX08
6
+
7
+ #endif /* ARDUINO_BEARSSL_CONFIG_H_ */
Original file line number Diff line number Diff line change
1
+ #ifndef ARDUINO_BEARSSL_CONFIG_H_
2
+ #define ARDUINO_BEARSSL_CONFIG_H_
3
+
4
+ /* Enabling this define allows the usage of ArduinoBearSSL without crypto chip. */
5
+ //#define ARDUINO_DISABLE_ECCX08
6
+
7
+ #endif /* ARDUINO_BEARSSL_CONFIG_H_ */
Original file line number Diff line number Diff line change
1
+ #ifndef ARDUINO_BEARSSL_CONFIG_H_
2
+ #define ARDUINO_BEARSSL_CONFIG_H_
3
+
4
+ /* Enabling this define allows the usage of ArduinoBearSSL without crypto chip. */
5
+ //#define ARDUINO_DISABLE_ECCX08
6
+
7
+ #endif /* ARDUINO_BEARSSL_CONFIG_H_ */
Original file line number Diff line number Diff line change
1
+ #ifndef ARDUINO_BEARSSL_CONFIG_H_
2
+ #define ARDUINO_BEARSSL_CONFIG_H_
3
+
4
+ /* Enabling this define allows the usage of ArduinoBearSSL without crypto chip. */
5
+ //#define ARDUINO_DISABLE_ECCX08
6
+
7
+ #endif /* ARDUINO_BEARSSL_CONFIG_H_ */
Original file line number Diff line number Diff line change
1
+ #ifndef ARDUINO_BEARSSL_CONFIG_H_
2
+ #define ARDUINO_BEARSSL_CONFIG_H_
3
+
4
+ /* Enabling this define allows the usage of ArduinoBearSSL without crypto chip. */
5
+ //#define ARDUINO_DISABLE_ECCX08
6
+
7
+ #endif /* ARDUINO_BEARSSL_CONFIG_H_ */
Original file line number Diff line number Diff line change
1
+ #ifndef ARDUINO_BEARSSL_CONFIG_H_
2
+ #define ARDUINO_BEARSSL_CONFIG_H_
3
+
4
+ /* Enabling this define allows the usage of ArduinoBearSSL without crypto chip. */
5
+ //#define ARDUINO_DISABLE_ECCX08
6
+
7
+ #endif /* ARDUINO_BEARSSL_CONFIG_H_ */
Original file line number Diff line number Diff line change
1
+ #ifndef ARDUINO_BEARSSL_CONFIG_H_
2
+ #define ARDUINO_BEARSSL_CONFIG_H_
3
+
4
+ /* Enabling this define allows the usage of ArduinoBearSSL without crypto chip. */
5
+ //#define ARDUINO_DISABLE_ECCX08
6
+
7
+ #endif /* ARDUINO_BEARSSL_CONFIG_H_ */
Original file line number Diff line number Diff line change 25
25
#ifndef _ARDUINO_BEAR_SSL_H_
26
26
#define _ARDUINO_BEAR_SSL_H_
27
27
28
+ #if defined __has_include
29
+ # if __has_include (<ArduinoBearSSLConfig.h>)
30
+ # include < ArduinoBearSSLConfig.h>
31
+ # endif
32
+ #endif
33
+
28
34
#include " BearSSLClient.h"
29
35
#include " SHA1.h"
30
36
#include " SHA256.h"
You can’t perform that action at this time.
0 commit comments