mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
Reorder client src directories
This commit is contained in:
parent
94192d0976
commit
81bc0bc2b9
387 changed files with 73 additions and 106 deletions
34
client/deps/amiitool/keygen.h
Normal file
34
client/deps/amiitool/keygen.h
Normal file
|
@ -0,0 +1,34 @@
|
|||
/*
|
||||
* (c) 2015-2017 Marcos Del Sol Vives
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#ifndef HAVE_NFC3D_KEYGEN_H
|
||||
#define HAVE_NFC3D_KEYGEN_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#define NFC3D_KEYGEN_SEED_SIZE 64
|
||||
|
||||
#pragma pack(1)
|
||||
typedef struct {
|
||||
uint8_t hmacKey[16];
|
||||
char typeString[14];
|
||||
uint8_t rfu;
|
||||
uint8_t magicBytesSize;
|
||||
uint8_t magicBytes[16];
|
||||
uint8_t xorPad[32];
|
||||
} nfc3d_keygen_masterkeys;
|
||||
|
||||
typedef struct {
|
||||
const uint8_t aesKey[16];
|
||||
const uint8_t aesIV[16];
|
||||
const uint8_t hmacKey[16];
|
||||
} nfc3d_keygen_derivedkeys;
|
||||
#pragma pack()
|
||||
|
||||
void nfc3d_keygen(const nfc3d_keygen_masterkeys *baseKeys, const uint8_t *baseSeed, nfc3d_keygen_derivedkeys *derivedKeys);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue