3877 Commits
Author SHA1 Message Date
iceman1001 a039ac18cc Release v4.19552 - Orca 2024-11-22 12:15:19 +01:00
IcemanandGitHub f66d5970be Merge branch 'master' into fix_spiffs_tree_linkname
Signed-off-by: Iceman <iceman@iuse.se>
2024-11-21 18:48:58 +01:00
ANTodorov 99d5a72879 fixed symlink name in mem spiffs tree
the used strtok(...,".")` is cutting the name to the first dot
linkname.txt.lnk -> linkname

with the fix it is
linkname.txt.lnk -> linkname.txt
2024-11-21 14:28:39 +02:00
ANTodorov 7b99bfa3d6 fix reported file/link names when mem spiffs wipe 2024-11-21 12:31:48 +02:00
iceman1001 ab676287d2 fix breaking builds 2024-11-20 23:48:14 +01:00
iceman1001 2ad635ce57 style 2024-11-20 23:32:02 +01:00
ANTodorov 76aaef96cc rework addressing the review comments
Reverted 'mfr_id' to 'manufacturer_id'
Moved devices table definition to flashmem.h
Single global variable 'spi_flash_pages64k'
The local structure holding the actual device data is used in firmware.c only

difference in code:
```
   text    data     bss     dec     hex filename
 223189  138560    6067  367816   59cc8 ./armsrc/obj/fullimage.elf <-- c9e751d darkside: fix backdoor support

 223437  138624    6075  368136   59e08 ./armsrc/obj/fullimage.elf <-- this commit
 ======================================
   +248     +64      +8    +320
```
2024-11-20 14:10:02 +02:00
ANTodorov f3fa732062 refactor spi flash detection 2024-11-19 09:35:26 +02:00
ANTodorov 861c7efd26 fix missing offsets
the data was written, but it should be readable too...
2024-11-17 22:16:35 +02:00
ANTodorov 48ec109a1e use all spi flash v0.1
* introduced a new communication command CMD_FLASHMEM_PAGES64K to get the number of 64k pages
* "the last page" is a special, holding the dicts and some other stuff, relocated to there
* raised timeout when wiping a mem page (W25Q16 looks a bit slower than W25X20BV)
* loop all pages in Flash_WipeMemory()
2024-11-17 19:03:15 +02:00
iceman1001 3a3ea75d12 style 2024-11-15 14:28:14 +01:00
iceman1001 d398576fc7 the 14a sim had a wrong size check of the irats pointer instead of actual size. Only way around it was to add the length at function call 2024-11-15 13:27:39 +01:00
Piotr Rzeszut a9c10c872e Changed max sector for AUTH to be executed only once and result cached in local variable 2024-11-15 13:13:48 +01:00
Piotr Rzeszut 18db45b00e mifare simulation: do not respond for authentication attempts for sectors out of range for selected mifare type
Resolves #2635
2024-11-15 02:32:20 +01:00
iceman1001 133fe505f6 remove debug 2024-11-14 22:14:41 +01:00
pingu2211 514fe677d6 rename all mifarehost functions to match style guide 2024-11-14 09:33:57 +11:00
Antiklesys 0b7d76d7cd Fixed keygen bug in legrec
Fixed legrec bug that was generating blank keys after misalignment in commit: 110dfab668
2024-11-07 19:20:50 +08:00
Antiklesys 110dfab668 Improved algorithm for hf iclass legrec
Improved algorithm for hf iclass legrec by taking in account the hash0 limitations for the ending bits distributions of each key bite, thus reducing the key entropy and number of required tries from 2^24 to almost 2^19
2024-11-06 16:52:48 +08:00
Philippe Teuwen 46813e0e50 hf mf isen: rewrite counters, add specific NONCE_SUPERSTATIC case (when first nt == nested nt) 2024-11-05 17:07:54 +01:00
Philippe Teuwen 6706bdb13f hf mf isen: detect special static nonce nt_first==nt_nested 2024-11-05 09:30:22 +01:00
iceman1001 b3285cce8a style 2024-11-02 15:13:40 +01:00
iceman1001 9ddd833cba fix string handling and styles 2024-11-02 14:50:31 +01:00
nvx ef0cf93a5d fix typos and regenerate command list 2024-11-02 23:34:38 +10:00
nvx 6d7fcc642a add gdm flag to hf mf c* commands
this enables the use of hf mf c* commands with gdm/uscuid cards when the alt wake up mode 20(7)/23 is enabled rather than gen1 wake up
2024-11-02 22:22:13 +10:00
nvx df5e2ce05b improve cardhopper to improve reliability when parts of the packet are buffered 2024-11-02 19:53:23 +10:00