Skip to content

Conversation

mcspr
Copy link
Collaborator

@mcspr mcspr commented Jan 24, 2025

Resolve #9170
Resolve #9218

See earlephilhower/bearssl-esp8266#19

upd from the original Sep 2024 version
can_yield() + yield() -> optimistic_yield(10000) (aka 10ms) for a shorter func body

mcspr added 3 commits January 24, 2025 05:44
implement stack_thunk_yield() which is called within bssl
stack overflow checks for cont would always fail otherwise
@mcspr mcspr merged commit 1a13ab9 into esp8266:master Jan 24, 2025
28 checks passed
@mcspr mcspr deleted the bearssl/stack-thunk-yield branch January 24, 2025 07:17
mcspr added a commit to mcspr/esp8266-Arduino that referenced this pull request May 29, 2025
Post esp8266#9224, allow to call 'stack_thunk_yield()' outside of bssl context
Reset 'stack_thunk_save' before returning from 'thunk_...'ed function
mcspr added a commit that referenced this pull request May 29, 2025
post #9224, allow to call 'stack_thunk_yield()' outside of bssl context

Reset 'stack_thunk_save' before returning from 'thunk_...'ed function
Skip invalid a1 load and yield with the current value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant