Fetch HW entropy source from SD

This commit is contained in:
Mark Qvist 2019-02-07 13:16:42 +01:00
parent 85626c40a8
commit 0e24b54657
7 changed files with 249 additions and 22 deletions

View file

@ -1,4 +1,5 @@
#include "SD.h"
#include "hardware/Crypto.h"
FATFS sdfs;
@ -24,6 +25,7 @@ void sd_init(void) {
void sd_automounted_hook(void) {
sd_statuschange_indication(1);
crypto_init();
}
void sd_autounmounted_hook(void) {