proxmark3/tools/mfkey/nested_util.h
2023-11-11 14:32:09 -06:00

15 lines
310 B
C

#ifndef NESTED_H__
#define NESTED_H__
#include "crapto1/crapto1.h"
typedef struct {
uint32_t ntp;
uint32_t ks1;
} NtpKs1;
uint8_t valid_nonce(uint32_t Nt, uint32_t NtEnc, uint32_t Ks1, uint8_t *parity);
uint64_t *nested(NtpKs1 *pNK, uint32_t sizePNK, uint32_t authuid, uint32_t *keyCount);
#endif