merlokk
7ea7e4b364
fix
2021-08-07 14:53:23 +03:00
merlokk
ee7438bfc1
move functions, get rid of some deendences
2021-08-07 12:20:05 +03:00
merlokk
e54f0e3a33
move crc to new file
2021-07-10 15:10:15 +03:00
merlokk
ec79e35dcc
add crc16 check
2021-07-09 13:08:49 +03:00
merlokk
0fa708acb2
add crc32 check
2021-07-09 01:26:47 +03:00
merlokk
20696fb44a
make style
2021-07-06 12:16:19 +03:00
merlokk
164a1db780
Merge branch 'desf_update' of https://github.com/merlokk/proxmark3i into desf_update
2021-07-05 14:15:58 +03:00
merlokk
e9b8e18430
remove key_size
2021-07-05 14:15:39 +03:00
Oleg Moiseenko
6671563fb9
Merge branch 'master' into desf_update
2021-07-05 14:02:15 +03:00
merlokk
5937fd4217
added lib
2021-07-05 12:12:42 +03:00
merlokk
dece2b1bbd
delete des from desfire_crypto
2021-07-05 12:09:08 +03:00
merlokk
1adfad07bd
move des encrypt/decrypt to lib
2021-07-04 14:14:43 +03:00
merlokk
6124b49c99
DesfirePrintContext prints session state
2021-07-04 12:47:09 +03:00
merlokk
1b2442ec36
regactoring desfire commands. textual fixes
2021-07-03 17:31:12 +03:00
merlokk
7af924eadd
add get key size function
2021-07-03 00:07:55 +03:00
merlokk
2fa6c4643e
desfire channel sketch
2021-07-01 19:53:57 +03:00
iceman1001
e2ca0a4abd
style
2021-06-24 18:47:11 +02:00
mwalker33
bcc137af1d
Update desfire_crypto.c
...
Coverty 344484 - ensure AES IV is at least 16 bytes long.
2021-06-22 18:55:23 +10:00
iceman1001
0f6b6cb650
fix coverity CID 349331
2021-06-21 07:30:46 +02:00
iceman1001
f6534e18be
style
2021-06-20 16:36:31 +02:00
iceman1001
8bf5a99bca
codestyle prefer calloc
2021-05-19 18:07:19 +02:00
iceman1001
871820f8f7
fixing padding @anon
2021-04-07 09:13:45 +02:00
iceman1001
62031e640c
swap arrays
2021-03-30 09:34:17 +02:00
iceman1001
b7be78a8fb
cbc is already done in mifare_cypher_single_block (anon)
2021-03-29 21:52:36 +02:00
iceman1001
f0510cc0d5
style
2021-03-27 10:21:54 +01:00
iceman1001
f5aa78e668
cppchecker shadow
2021-02-24 00:02:59 +01:00
NZSmartie
b788054aca
Add initial suport for MIFARE Key Diversification
...
This adds two new options to `hf mfdes auth`
```
-d, --kdf <kdf> Key Derivation Function (KDF) (0=None, 1=AN10922)
-i, --kdfi <kdfi> KDF input (HEX 1-31 bytes)
```
By specifying `-d 1` and some kdf data `-i 00112233`, the key will be
diversified using AN10922.
2020-10-31 21:17:35 +13:00
iceman1001
d5b379207e
fix coverity
2020-06-29 11:22:09 +02:00
Philippe Teuwen
f69739da79
make style
2020-06-19 18:34:47 +02:00
Bjoern Kerler
e7b2dbd5e8
Remove unnecessary crc
2020-06-13 17:58:47 +02:00
Bjoern Kerler
9a07c06596
Fix htole32 issue
2020-06-13 17:16:17 +02:00
Bjoern Kerler
631be7af32
Fixes
2020-06-13 15:11:10 +02:00
Bjoern Kerler
e0bf636aaf
Make style
2020-06-13 14:25:40 +02:00
Bjoern Kerler
5adc8e876a
Fix DES authentification and format picc
2020-06-13 14:19:21 +02:00
Philippe Teuwen
ff1f945291
desfire_crypto: remove global vars
2020-06-02 00:49:54 +02:00
Philippe Teuwen
72acec5806
Makefile & CMake rework
2020-05-25 02:15:06 +02:00
Philippe Teuwen
b3f84bf7b3
make style
2020-04-29 19:41:45 +02:00
iceman1001
7303dd8c5d
coverity fix 279922 , div by zero
2020-04-28 14:51:47 +02:00
Bjoern Kerler
81bc0bc2b9
Reorder client src directories
2020-04-16 10:53:24 +02:00