avivgr / stm32-u2f

A Universal 2nd Factor (U2F) USB token using STM32 MCUs
Apache License 2.0
65 stars 18 forks source link

Counter is volatile #5

Open avivgr opened 8 years ago

avivgr commented 8 years ago

The counter is init to 1 and gets reset each time the device is powered. Need to store counter in NVRAM.

Since STM32 has no eeprom - consider eeprom emulation on top of STM32 flash.