forked from esp8266/Arduino
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce BearSSL code size by not -O2 FSMs (esp8266#7807)
The FSMs that drive the encryption logic are not performance critical, but they are very large. Build BearSSL using -Os on them, leaving -O2 everywhere else (i.e. encryption) for speed. Saves 1-2KB of flash for SSL applications.
- Loading branch information
1 parent
da13845
commit 100a8df
Showing
3 changed files
with
2 additions
and
2 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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
// Do not edit -- Automatically generated by tools/sdk/ssl/bearssl/Makefile | ||
#define BEARSSL_GIT 28bebad | ||
#define BEARSSL_GIT c0b69df |
Binary file not shown.
Submodule bearssl
updated
12 files
+3 −0 | src/ssl/ssl_hs_client.c | |
+3 −0 | src/ssl/ssl_hs_client.t0 | |
+3 −0 | src/ssl/ssl_hs_server.c | |
+3 −0 | src/ssl/ssl_hs_server.t0 | |
+3 −0 | src/x509/pkey_decoder.c | |
+3 −0 | src/x509/pkey_decoder.t0 | |
+3 −0 | src/x509/skey_decoder.c | |
+3 −0 | src/x509/skey_decoder.t0 | |
+3 −0 | src/x509/x509_decoder.c | |
+3 −0 | src/x509/x509_decoder.t0 | |
+3 −1 | src/x509/x509_minimal.c | |
+2 −0 | src/x509/x509_minimal.t0 |