Commit graph

21 commits

Author SHA1 Message Date
pwpiwi
44964fd181
Code cleanup (#616)
* coverity fixes (including a real bug in cmdhftopaz.c)
* Typo fix
* replace TRUE/FALSE by stdbool true/false
2018-06-13 08:13:20 +02:00
pwpiwi
340f50a53c Don't ignore environment variables CFLAGS and LDFLAGS for tools as well 2017-09-26 18:15:19 +02:00
pwpiwi
d0067d0768 Fix compile issues for mfkey32 and mfkey64 after Pull Request #380 2017-08-18 07:50:03 +02:00
pwpiwi
ec9c71129f Fix compile errors with MacOS (#312)
* Fix compile errors with MacOS
- _POSIX_C_SOURCE must not be defined for num_CPU()

* separate util_posix.c require changes in tools directory as well

* remove unnecessary self-include
2017-06-07 22:35:20 +02:00
Iceman
7cd25ae5a3 Merge pull request #250 from pwpiwi/fix_mfkey
fix mfkey tools (issue #247)
2017-03-26 13:05:26 +02:00
pwpiwi
dc2349ae77 fix mfkey tools (issue #247)
- add -std=c99 -D_ISOC99_SOURCE to compiler flags
- fix: include <string.h> instead of <strings.h> in mfkey64.c
2017-03-26 12:28:07 +02:00
pwpiwi
1f065e1dad Refactor parity functions
- get rid of __asm function in crapto1.h, use gcc builtin function instead
- make parity functions available in common directory
2017-03-25 22:03:17 +01:00
pwpiwi
42a6a3f87b Remove duplicate #include stdio.h 2017-03-24 07:53:52 +01:00
pwpiwi
4cb4b588c2 Deduplicate mfkey32 and mfkey64
- rename client/nonce2key.[ch] to mfkey.[ch]
- leave only main() wrapper in tools/mfkey
- add mfkey32 and mfkey64 to .gitignore
2017-03-23 18:38:17 +01:00
pwpiwi
0ca9bc0e99 Upgrade crapto1 library to v3.3 (#232)
- fix standalone tools mfkey32, mfkey64 and nonce2key to use common crapto1 library
- fix compiler warnings in tools/mfkey/mfkey64.c and tools/nonce2key/nonce2key.c
- allow crapto1.c to compile on ARM hosts
- add @iceman1001's readme.txt to tools/mfkey
2017-03-12 15:05:54 +01:00
pwpiwi
33443e7caa Code cleanup: deduplicate crapto1 library (#228)
- merge the existing 4 crapto1 sources into common/crapto1
2017-03-09 11:12:50 +01:00
pwpiwi
4c16ae80f0 Code cleanup:
- correctly using stdtypes.h printf and scanf format string macros (PRIx64 et al)
- coverity fixes to client/cmdhfmf.c
- fix linker warning re missing entry point when linking fullimage.elf
2017-02-23 18:29:03 +01:00
Pavel Zhovner
c36d994b32 remove binary files 2016-03-09 03:52:54 +03:00
Pavel Zhovner
8eea1dc264 Optional decryption of communication using keystream 2016-03-09 03:32:39 +03:00
Pavel Zhovner
a78238349c Optional decryption of communication using keystream 2016-03-09 02:41:20 +03:00
roel@libnfc.org
cda056bb9e added all files for mfkeys 2013-03-07 12:23:31 +00:00
roel@libnfc.org
17331e14ee tweaked sim command, added mfkey32 2013-03-07 12:22:12 +00:00
roel@libnfc.org
9e130475f9 removed -fPIC directive 2013-03-07 10:51:25 +00:00
roel@libnfc.org
b62328cc54 cleaned up memmory 2012-09-29 08:46:40 +00:00
roel@libnfc.org
998064f8c8 fixed spacing 2012-07-01 07:40:26 +00:00
roel@libnfc.org
7847961b25 added mfkey 2012-07-01 07:38:26 +00:00