v0.0.29 - Feather firmware: auto-approve sign_event and always return explicit JSON-RPC errors for unhandled/oversized requests

This commit is contained in:
Laan Tungir
2026-05-11 13:43:14 -04:00
parent e4fa743654
commit bd23b674d6
19 changed files with 2514 additions and 222 deletions

View File

@@ -0,0 +1,15 @@
#include "secure_mem.h"
void secure_memzero(void *ptr, size_t len)
{
volatile unsigned char *p = (volatile unsigned char *)ptr;
if (p == 0) {
return;
}
while (len > 0) {
*p++ = 0;
len--;
}
}