Add LE/BE functions for uint16, 32 and 64.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2024-12-23 20:39:03 +01:00
parent d56b540324
commit 73232b6de4
8 changed files with 53 additions and 72 deletions

View File

@@ -48,7 +48,7 @@ int cmd_select() {
//}
if (apdu.nc == 2) {
fid = get_uint16_t(apdu.data, 0);
fid = get_uint16_t_be(apdu.data, 0);
}
//if ((fid & 0xff00) == (KEY_PREFIX << 8))