forked from iceman1001/proxmark3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
25 changed files
with
924 additions
and
799 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,5 +11,4 @@ | |
#include "des.h" | ||
//#include "aes.h" | ||
|
||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,17 @@ | ||
#ifndef __DESFIRE_KEY_H | ||
#define __DESFIRE_KEY_H | ||
|
||
#include <string.h> | ||
#include <stdint.h> | ||
#include <stdarg.h> | ||
|
||
#ifndef __DESFIRE_KEY_INCLUDED | ||
#define __DESFIRE_KEY_INCLUDED | ||
#include "iso14443a.h" | ||
#include "../common/desfire.h" | ||
// desfire_key.h | ||
void Desfire_des_key_new (const uint8_t value[8], desfirekey_t key); | ||
void Desfire_3des_key_new (const uint8_t value[16], desfirekey_t key); | ||
void Desfire_des_key_new_with_version (const uint8_t value[8], desfirekey_t key); | ||
void Desfire_3des_key_new_with_version (const uint8_t value[16], desfirekey_t key); | ||
void Desfire_3k3des_key_new (const uint8_t value[24], desfirekey_t key); | ||
void Desfire_3k3des_key_new_with_version (const uint8_t value[24], desfirekey_t key); | ||
void Desfire_aes_key_new (const uint8_t value[16], desfirekey_t key); | ||
void Desfire_aes_key_new_with_version (const uint8_t value[16], uint8_t version,desfirekey_t key); | ||
uint8_t Desfire_key_get_version (desfirekey_t key); | ||
void Desfire_key_set_version (desfirekey_t key, uint8_t version); | ||
void Desfire_session_key_new (const uint8_t rnda[], const uint8_t rndb[], desfirekey_t authkey, desfirekey_t key); | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.