Standard memcmp() can be target to timing side channel attacks. Replace this function with a safe implementation, which has a constant execution time.
Description
Description
Event Timeline
Comment Actions
Added the new boot_secure_memeql function, after some discussion about whether it'd be better to try and recreate all behaviour of memcpm or go for the simpler memeql. This should be used for any security critical comparisons.