Skip to content
Commit 16219dde authored by Tomasz Kantecki's avatar Tomasz Kantecki Committed by Cornu, Marcel D
Browse files

test: improvement around key expansion for safe check option

- always randomize common buffers
- randomize or fill cipher key, authentication key and test buffer
- don't copy 32 bytes of cipher key chacha20
  - memcpy() leaves trace of data on the stack
  - doing 2 x memcpy() of 16 bytes instead
parent a36984d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment