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

HKDF On Target Test crashes #2195

Closed
RonEld opened this issue Nov 14, 2018 · 1 comment
Closed

HKDF On Target Test crashes #2195

RonEld opened this issue Nov 14, 2018 · 1 comment
Labels
bug component-crypto Crypto primitives and low-level interfaces

Comments

@RonEld
Copy link
Contributor

RonEld commented Nov 14, 2018

Description

  • Type: Bug
  • Priority: Major
    On Target Test for HKDF crashes with a stack overflow. This is because the hkdf test consumes ~6KB of stsck in locsl buffers, and many Mbed OS platforms have only 4KB of stack.
    This issue is opened for tracking, and fixed by Reduce Stack usage of hkdf test function #2192

Bug

OS
Mbed OS

mbed TLS build:
Version: 2.13.0

Expected behavior
Test to pass
Actual behavior
Tst crashes with Stack overflow
Steps to reproduce
Generate and run the HKDF On Target Test. Tested on NRF52840_DK, but it should reproduce on most Mbed OS platform, which have 4 KB stack

@RonEld RonEld added bug tracking component-crypto Crypto primitives and low-level interfaces labels Nov 14, 2018
@ciarmcom
Copy link

ARM Internal Ref: IOTSSL-2628

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug component-crypto Crypto primitives and low-level interfaces
Projects
None yet
Development

No branches or pull requests

2 participants