mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-07 16:48:15 +08:00
style
This commit is contained in:
parent
144237abfd
commit
75524b72d1
1 changed files with 2 additions and 3 deletions
|
@ -112,7 +112,7 @@ void opt_successor(const uint8_t *k, State *s, bool y, State *successor) {
|
|||
void opt_suc(const uint8_t *k, State *s, uint8_t *in, uint8_t length, bool add32Zeroes) {
|
||||
State x2;
|
||||
int i;
|
||||
uint8_t head = 0;
|
||||
uint8_t head;
|
||||
for (i = 0; i < length; i++) {
|
||||
head = 1 & (in[i] >> 7);
|
||||
opt_successor(k, s, head, &x2);
|
||||
|
@ -149,8 +149,7 @@ void opt_suc(const uint8_t *k, State *s, uint8_t *in, uint8_t length, bool add32
|
|||
}
|
||||
|
||||
void opt_output(const uint8_t *k, State *s, uint8_t *buffer) {
|
||||
uint8_t times = 0;
|
||||
uint8_t bout = 0;
|
||||
uint8_t bout, times = 0;
|
||||
State temp = {0, 0, 0, 0};
|
||||
for (; times < 4; times++) {
|
||||
bout = 0;
|
||||
|
|
Loading…
Reference in a new issue