pub const CHECKMAC_OTHER_DATA_SIZE: usize = 13;Expand description
Size of the other_data block.
other_data mirrors the parameters the chip uses internally to compute
the MAC against. It encodes the opcode, mode, key id, and OTP fields
that participate in the hash. Layout per CryptoAuthLib:
[0] : opcode (must match the CheckMac call, 0x28)
[1] : mode (must match param1)
[2..4] : key id LE (must match param2)
[4..7] : OTP bytes 8..10 (zero on a chip without OTP usage)
[7..11]: SN[4..7] (chip serial number, can be left zero)
[11..13]: SN[2..3]For PIN verification with no OTP coupling, all 13 bytes can be zero.