Closed NKelias closed 5 years ago
Is it expecting little-endian, or a conversion to big-endian is required on the library side?
Is it expecting little-endian, or a conversion to big-endian is required on the library side?
Expects and returns little-endian, no further conversion required on the library side.
https://github.com/Nitrokey/libnitrokey/blob/9d4911d02e9e87ebd3b2a36acce4a347a58e9fff/NitrokeyManager.cc#L536-L537
NK Storage expects and returns the OTP counter value as a 64 Bit unsigned Integer from v0.54 onwards
https://github.com/Nitrokey/nitrokey-storage-firmware/pull/85