File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -432,6 +432,13 @@ int crypto_ed25519_sign(
432
432
return -2 ;
433
433
}
434
434
435
+ #if defined(ARDUINO_HOMEKIT_LOWROM )
436
+ /* ESP8266 Soft WDT resets with 512k ROMs.
437
+ Add yield() to perform other tasks and feed WDT.
438
+ */
439
+ yield ();
440
+ #endif
441
+
435
442
word32 len = * signature_size ;
436
443
437
444
int r = wc_ed25519_sign_msg (
@@ -452,6 +459,12 @@ int crypto_ed25519_verify(
452
459
#if defined(ARDUINO_HOMEKIT_SKIP_ED25519_VERIFY )
453
460
return 0 ;
454
461
#else
462
+ #if defined(ARDUINO_HOMEKIT_LOWROM )
463
+ /* ESP8266 Soft WDT resets with 512k ROMs.
464
+ Add yield() to perform other tasks and feed WDT.
465
+ */
466
+ yield ();
467
+ #endif
455
468
int verified ;
456
469
int r = wc_ed25519_verify_msg (
457
470
signature , signature_size ,
You can’t perform that action at this time.
0 commit comments