Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update BearSSL, increase SSL stack#6980

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
NextNext commit
Update BearSSL, increase SSL stack
Only minor updates to headers and no functionality change on theportions that we use in the ESP8266.@Teddyz reported random crashes while running against a local MQTTserver and was able to report stack usages of up to 6136 bytes.Increase the SSL stack to a little more than that, once again.
  • Loading branch information
@earlephilhower
earlephilhower committedJan 4, 2020
commitf21f2aabc17eaf1799a06e37b2488a855d032bfe
4 changes: 2 additions & 2 deletionscores/esp8266/StackThunk.cpp
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -36,8 +36,8 @@ uint32_t *stack_thunk_top = NULL;
uint32_t *stack_thunk_save = NULL; /* Saved A1 while in BearSSL */
uint32_t stack_thunk_refcnt = 0;

/* Largest stack usage seen in the wild atscripts.google.com at 5828 */
#define _stackSize (5900/4)
/* Largest stack usage seen in the wild at 6120 */
#define _stackSize (6200/4)
#define _stackPaint 0xdeadbeef

/* Add a reference, and allocate the stack if necessary */
Expand Down
2 changes: 1 addition & 1 deletiontools/sdk/include/bearssl/bearssl_ec.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -108,7 +108,7 @@ extern "C" {
*
* - The multipliers (integers) MUST be lower than the subgroup order.
* If this property is not met, then the result is indeterminate,
* but an error value is notncessearily returned.
* but an error value is notnecessarily returned.
*
*
* ## ECDSA
Expand Down
2 changes: 1 addition & 1 deletiontools/sdk/include/bearssl/bearssl_git.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
// Do not edit -- Automatically generated by tools/sdk/ssl/bearssl/Makefile
#define BEARSSL_GIT89454af
#define BEARSSL_GIT0645c68
2 changes: 1 addition & 1 deletiontools/sdk/include/bearssl/bearssl_ssl.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -2114,7 +2114,7 @@ void br_ssl_engine_sendapp_ack(br_ssl_engine_context *cc, size_t len);
/**
* \brief Get buffer for received application data.
*
* If the engine has received application data from the peer,hen this
* If the engine has received application data from the peer,then this
* call returns a pointer to the buffer from where such data shall be
* read, and its length is written in `*len`. Otherwise, `*len` is set
* to 0 and `NULL` is returned.
Expand Down
Binary file modifiedtools/sdk/lib/libbearssl.a
View file
Open in desktop
Binary file not shown.
2 changes: 1 addition & 1 deletiontools/sdk/ssl/bearssl
Open in desktop

[8]ページ先頭

©2009-2025 Movatter.jp