proxmark3/tools/mfkey/nested_util.h

16 lines
310 B
C
Raw Normal View History

#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);
2023-11-12 04:32:09 +08:00
#endif