Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
driver: secure: move keys into static arrays
Move the keys into static arrays. This will avoid copying the keys from the code section to the stack on the previous init_keys implementation. Like this, the keys are hardcoded into data section at compile time, and can be completely wiped after use. Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com> Tested-by: Nicolas Ferre <nicolas.ferre@microchip.com>
- Loading branch information
Showing
2 changed files
with
53 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters