the function return 32bits, a left over since the swap to 64bits. Making UL AES not being properly identified

This commit is contained in:
iceman1001 2024-02-15 12:13:40 +01:00
commit cb570cb103
3 changed files with 3 additions and 2 deletions

View file

@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file.
This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log... This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log...
## [unreleased][unreleased] ## [unreleased][unreleased]
- Fixed `hf mfu info` - tag type identification now properly handles 64bits (@iceman1001)
- Changed `hf st info` - reworked the output (@iceman1001) - Changed `hf st info` - reworked the output (@iceman1001)
- Rename `smart relay` to `smart pcsc` and add support for contact interface (@gm3197) - Rename `smart relay` to `smart pcsc` and add support for contact interface (@gm3197)
- Updated ATR list (@iceman1001) - Updated ATR list (@iceman1001)

View file

@ -1723,7 +1723,7 @@ out:
return res; return res;
} }
uint32_t GetHF14AMfU_Type(void) { uint64_t GetHF14AMfU_Type(void) {
uint64_t tagtype = MFU_TT_UNKNOWN; uint64_t tagtype = MFU_TT_UNKNOWN;
iso14a_card_select_t card; iso14a_card_select_t card;

View file

@ -42,7 +42,7 @@ typedef struct {
uint8_t data[1024]; uint8_t data[1024];
} PACKED old_mfu_dump_t; } PACKED old_mfu_dump_t;
uint32_t GetHF14AMfU_Type(void); uint64_t GetHF14AMfU_Type(void);
int ul_print_type(uint64_t tagtype, uint8_t spaces); int ul_print_type(uint64_t tagtype, uint8_t spaces);
void mfu_print_dump(mfu_dump_t *card, uint16_t pages, uint8_t startpage, bool dense_output); void mfu_print_dump(mfu_dump_t *card, uint16_t pages, uint8_t startpage, bool dense_output);
int ul_read_uid(uint8_t *uid); int ul_read_uid(uint8_t *uid);