Files
Momentum-Firmware/applications/system/mfkey/mfkey_attack.h
T
2026-02-16 23:15:20 +03:00

22 lines
510 B
C

#ifndef MFKEY_ATTACK_H
#define MFKEY_ATTACK_H
#include "mfkey.h"
// Main MSB table calculation - runs attack for one MSB round
// Returns 1 if key found, 0 otherwise
int calculate_msb_tables_optimized(
int oks,
int eks,
int msb_round,
MfClassicNonce* n,
unsigned int* states_buffer,
struct Msb* odd_msbs,
struct Msb* even_msbs,
unsigned int* temp_states_odd,
unsigned int* temp_states_even,
unsigned int in,
ProgramState* program_state);
#endif // MFKEY_ATTACK_H