tillitis-key/hw/application_fpga/fw/tk1
Joachim Strömbergson eade3e11c5
Fill RAM with random data using xorwow.
xorwow provides significantly better random data, compared to previously
used function. Making it harder to predict what data RAM is filled with.
It adds a startup time of approx 80 ms, but can be compensated with
optimising other parts of the startup routine.

This changes both firmware and fpga hashes.

Signed-off-by: Joachim Strömbergson <joachim@assured.se>
2024-06-11 11:15:00 +02:00
..
blake2s Rename to TK1 2022-10-26 09:20:02 +02:00
assert.c fw: Remove unused header includes 2024-03-26 13:09:06 +01:00
assert.h fw: clang-tidy and splint: New make target: check 2023-03-22 11:05:32 +01:00
firmware.lds fw: load app at the start of RAM 2023-03-14 10:25:03 +01:00
led.c fw: Remove unusued forever_redflash() 2024-03-18 16:19:59 +01:00
led.h fw: Remove unusued forever_redflash() 2024-03-18 16:19:59 +01:00
lib.c fw: Protect zeroisation against compiler optimisation. 2024-03-26 13:09:01 +01:00
lib.h fw: Protect zeroisation against compiler optimisation. 2024-03-26 13:09:01 +01:00
main.c Fill RAM with random data using xorwow. 2024-06-11 11:15:00 +02:00
Makefile fw: Move LED defines and function to own files 2023-03-14 10:25:01 +01:00
proto.c Silence splint somewhat 2024-03-22 11:03:13 +01:00
proto.h Silence splint somewhat 2024-03-22 11:03:13 +01:00
start.S fw: Init stack pointer to end of fw_ram 2023-03-14 11:31:48 +01:00
state.h fw: Simplify logic 2023-03-14 11:31:47 +01:00
types.h fw: Introduce an explicit state machine - changes protocol! 2022-11-28 16:17:19 +01:00