![]() |
A52HackTool 1.3.0
Turnkey & easy to use tool for cracking the GSM A5/2 cipher
|
Specification of first encoding phase: Fire code (CRC) More...
#include "const_code.h"Go to the source code of this file.
Functions | |
| void | processFireGMatrix (byte G[FIRE_SOURCE_LENGTH][FIRE_CODE_LENGTH]) |
| Calculates the encoding matrix corresponding to the Fire encoding step. | |
| void | processFireHMatrix (byte H[FIRE_CRC_LENGTH][FIRE_CODE_LENGTH], byte G[FIRE_SOURCE_LENGTH][FIRE_CODE_LENGTH]) |
| Calculates the parity-check matrix H corresponding to the Fire encoding step from the Fire encoding matrix G. | |
| void | reverseFire (byte in[FIRE_CODE_LENGTH], byte out[FIRE_SOURCE_LENGTH]) |
| Decodes a previously Fire-encoded message. | |
Specification of first encoding phase: Fire code (CRC)
| void processFireGMatrix | ( | byte | G[FIRE_SOURCE_LENGTH][FIRE_CODE_LENGTH] | ) |
Calculates the encoding matrix corresponding to the Fire encoding step.
| [out] | G | Fire encoding matrix |
References FIRE_CODE_LENGTH, FIRE_SOURCE_LENGTH, and polynomial_mirrored.
Referenced by processFullEncodingGMatrix(), and reverseFire().
| void processFireHMatrix | ( | byte | H[FIRE_CRC_LENGTH][FIRE_CODE_LENGTH], |
| byte | G[FIRE_SOURCE_LENGTH][FIRE_CODE_LENGTH] | ||
| ) |
Calculates the parity-check matrix H corresponding to the Fire encoding step from the Fire encoding matrix G.
| [out] | H | Fire parity-check matrix |
| [in] | G | Fire encoding matrix |
References FIRE_CRC_LENGTH, and FIRE_SOURCE_LENGTH.
Referenced by reverseFire().
Decodes a previously Fire-encoded message.
| [in] | in | Fire-encoded data to decode |
| [out] | out | Decoded data |
References DEBUG_INFO, DUMP_CHAR_VECTOR, FIRE_CODE_LENGTH, FIRE_CRC_LENGTH, FIRE_SOURCE_LENGTH, processFireGMatrix(), and processFireHMatrix().
Referenced by processFullDecoding().
1.7.4