Implement several functions relevant to the boot process with a focus on the security init part
(so iidxhook-cn doesn't need to link against ezusb-iidx-emu)