proxmark3/tools/mfc/card_only/nested_util.h
2024-08-02 00:10:23 +02: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