repo.or.cz
/
RRG-proxmark3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
made a multi threaded version of ht2crack2search since the file lookups should benefi...
[RRG-proxmark3.git]
/
tools
/
mfc
/
card_only
/
nested_util.h
blob
140d99414cb9f6c92a7a3a598805fdc0aaf6dc54
1
#ifndef NESTED_H__
2
#define NESTED_H__
3
4
#include
"crapto1/crapto1.h"
5
6
typedef
struct
{
7
uint32_t
ntp
;
8
uint32_t
ks1
;
9
}
NtpKs1
;
10
11
12
uint8_t
valid_nonce
(
uint32_t
Nt
,
uint32_t
NtEnc
,
uint32_t
Ks1
,
uint8_t
*
parity
);
13
uint64_t
*
nested
(
NtpKs1
*
pNK
,
uint32_t
sizePNK
,
uint32_t
authuid
,
uint32_t
*
keyCount
);
14
15
#endif