forked from emsec/ChameleonMini
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stashing incremental testing release code
- Loading branch information
Showing
4 changed files
with
83 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/* | ||
The DESFire stack portion of this firmware source | ||
is free software written by Maxie Dion Schmidt (@maxieds): | ||
You can redistribute it and/or modify | ||
it under the terms of this license. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
The complete source distribution of | ||
this firmware is available at the following link: | ||
https://github.com/maxieds/ChameleonMiniFirmwareDESFireStack. | ||
Based in part on the original DESFire code created by | ||
@dev-zzo (GitHub handle) [Dmitry Janushkevich] available at | ||
https://github.com/dev-zzo/ChameleonMini/tree/desfire. | ||
This notice must be retained at the top of all source files where indicated. | ||
*/ | ||
|
||
/* | ||
* CryptoMAC.h : | ||
* Maxie D. Schmidt (github.com/maxieds) | ||
*/ | ||
|
||
#ifndef __CRYPTO_MAC_H__ | ||
#define __CRYPTO_MAC_H__ | ||
|
||
#include "DESFire/DESFireCrypto.h" | ||
#include "CryptoTDEA.h" | ||
#include "CryptoAES128.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
39 changes: 39 additions & 0 deletions
39
Firmware/Chameleon-Mini/Application/DESFire/DESFireKeyUtils.h
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/* | ||
The DESFire stack portion of this firmware source | ||
is free software written by Maxie Dion Schmidt (@maxieds): | ||
You can redistribute it and/or modify | ||
it under the terms of this license. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
The complete source distribution of | ||
this firmware is available at the following link: | ||
https://github.com/maxieds/ChameleonMiniFirmwareDESFireStack. | ||
Based in part on the original DESFire code created by | ||
@dev-zzo (GitHub handle) [Dmitry Janushkevich] available at | ||
https://github.com/dev-zzo/ChameleonMini/tree/desfire. | ||
This notice must be retained at the top of all source files where indicated. | ||
*/ | ||
|
||
/* | ||
* DESFireKeyUtils.h : | ||
* Maxie D. Schmidt (github.com/maxieds) | ||
*/ | ||
|
||
#ifndef __DESFIRE_KEY_UTILS_H__ | ||
#define __DESFIRE_KEY_UTILS_H__ | ||
|
||
#include "DESFireCrypto.h" | ||
|
||
/* TODO: Placeholder for: | ||
* => Key (re)initialization | ||
* => Configuring the session key on the fly | ||
* => CommSettings: PLAIN | MACED | ENCIPHERD | ||
* => Possibly others | ||
*/ | ||
|
||
#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