Skip to content

Commit 100a8df

Browse files
Reduce BearSSL code size by not -O2 FSMs (#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.
1 parent da13845 commit 100a8df

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// Do not edit -- Automatically generated by tools/sdk/ssl/bearssl/Makefile
2-
#define BEARSSL_GIT 28bebad
2+
#define BEARSSL_GIT c0b69df

tools/sdk/lib/libbearssl.a

-55 KB
Binary file not shown.

0 commit comments

Comments
 (0)