Commit graph

14 commits

Author SHA1 Message Date
Antiklesys
7fb5716ea3 Added hf iclass sam --info
Added hf iclass sam --info command that skips any card communication command and just interacts with the SAM to return:

1- Sam Firmware Version
2- Sam Firmware ID
3- Sam Serial Number
2025-06-11 01:06:38 +08:00
iceman1001
74f1936132 convert to our calloc instead since we prefer to know allocated shared memory is empty. Also removed a malloc(1) which is just a waste of bytes just like @NVX said a year ago at DefCon 2025-05-25 09:55:32 +02:00
iceman1001
a2d10d7910 fix cpp warnings 2025-03-21 13:19:01 +01:00
iceman1001
cef07dedf6 code style, code clean up of redundant functions, comments, its many minor fixes across the platform. Sorry for not making 20 commits 2025-02-21 15:38:33 +01:00
Jakub Kramarz
2464cf60fd sam_seos, sam_picopass: switch from static allocation to BigBuf 2025-01-27 20:17:44 +01:00
Jakub Kramarz
15aea059ef cmdhficlass: change from SendCommandMix to SendCommandNG 2025-01-27 20:17:44 +01:00
Jakub Kramarz
7b34f462cd sam_picopass: add nr-mac extraction and epurse update prevention modes 2025-01-27 20:17:44 +01:00
Jakub Kramarz
53b67d1969 sam_picopass: shorter timeouts 2025-01-27 20:17:43 +01:00
Jakub Kramarz
9696c97639 sam_picopass: adapt implementation from sam_seos 2025-01-27 20:17:43 +01:00
Jakub Kramarz
15a37ef9df seos_sam: ran make style 2025-01-07 00:30:49 +01:00
Jakub Kramarz
c28ddd1d56 armsrc/sam_common.c: type cleanup 2025-01-07 00:05:41 +01:00
Jakub Kramarz
661b7bad22 armsrc/sam_picopass.c: extract common routines to sam_common.c 2025-01-07 00:04:48 +01:00
iceman1001
1f3cf80898 style 2023-10-18 20:34:35 +02:00
iceman1001
efac735bad added support for HID SAM picopass communications. Nasty array copying but does the trick. Will need refactoring. 2023-10-18 19:59:34 +02:00