Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allocate BSSL stack for SigningVerifier #7291

Merged
merged 3 commits into from
May 16, 2020

Conversation

earlephilhower
Copy link
Collaborator

The BearSSL SigningVerifier was moved to the 2nd stack because some uses
required much more stack than available on the normal stack.

Add a reference to the second stack on object creation (which will
allocate it, if there is no BSSL stack already allocated), and delete
that reference on exit.

Fixes #7288

The BearSSL SigningVerifier was moved to the 2nd stack because some uses
required much more stack than available on the normal stack.

Add a reference to the second stack on object creation (which will
allocate it, if there is no BSSL stack already allocated), and delete
that reference on exit.

Fixes esp8266#7288
@earlephilhower
Copy link
Collaborator Author

@bastidest, can you please undo your change and try this PR instead and report back?

It was a pretty obvious issue of the 2nd stack not being allocated. Other tests use HTTPS, so already had the BSSL stack allocated, so had no issue.

@earlephilhower earlephilhower added the waiting for feedback Waiting on additional info. If it's not received, the issue may be closed. label May 10, 2020
@bastidest
Copy link

@earlephilhower works nicely now. Thank you for the quick fix!

@earlephilhower earlephilhower added type: bug and removed waiting for feedback Waiting on additional info. If it's not received, the issue may be closed. labels May 10, 2020
@earlephilhower earlephilhower added this to the 2.7.2 milestone May 11, 2020
@earlephilhower earlephilhower merged commit c5f60e3 into esp8266:master May 16, 2020
@earlephilhower earlephilhower deleted the signstack branch May 16, 2020 03:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AndroidOTA freezes in thunked signature verification call
3 participants