[riot-notifications] [RIOT-OS/RIOT] ieee802154_security: Nonce is reused after reboot (#16844)

fabian18 notifications at github.com
Tue Sep 14 14:56:32 CEST 2021

> As for backup_ram, what are we talking about here?
> Just a memory section that's not cleared on soft reboots? (That won't solve the general issue unless
> you're OK with the device working only if it's continuously powered from flashing time -- but it can eliminate
> both wear and sequence number waste in warm reboots, even through hardfaults etc.)


> Low-power memory that survives sleep states but is best-effort when the device is unplugged?
> (Same, but gives the benefits also across the full deep-sleep cycles).

It depends ... See macro `CPU_BACKUP_RAM_NOT_RETAINED`. Some CPUs do retain data during sleep mode e.g. the stm32´s have a dedicated regulator for that. But others `saml21`, according to the definition of `CPU_BACKUP_RAM_NOT_RETAINED = 1` do not.

> Actually long-term retained memory? That'd be great and yes we can probably manage with this. (But who has something like this, and how is it not just EEPROM?

Sorry the "external" was a bit misleading. It does not matter if we use peripheral or external EEPROM.
I know that at least some AVRs (`mega2560`) have internal EEPROM. And RIOT´s external EPROMS are `at24cxxx` and `at25xxx`.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210914/0881eebe/attachment-0001.htm>

More information about the notifications mailing list