Based on the work of aczid crypto1_bs and Proxmark3
Part of Hardnested support for future mfoc version.