![]() |
A52HackTool 1.3.0
Turnkey & easy to use tool for cracking the GSM A5/2 cipher
|
Constants definition for encoding process inside GSM. These are not to be modified, as one single change could have desastrous consequences on the global process. More...
Go to the source code of this file.
Defines | |
#define | SOURCEWORD_LENGTH 184 |
Length of a source word (in bits) | |
#define | UPPER_POLYNOMIAL ((unsigned int)0x90004120); |
Upper polynomial representation. | |
#define | LOWER_POLYNOMIAL ((unsigned int)0x800000); |
Lower polynomial representation. | |
#define | FIRE_POLYNOMIAL_LENGTH 41 |
Meaningful length (in bits) | |
#define | LOWER_PADDINGBITS (32*2 - FIRE_POLYNOMIAL_LENGTH) |
Number of padding bits. | |
#define | FIRE_SOURCE_LENGTH SOURCEWORD_LENGTH |
Fire code input length (in bits) | |
#define | FIRE_CODE_LENGTH (FIRE_SOURCE_LENGTH + FIRE_POLYNOMIAL_LENGTH - 1) |
Fire code output length (in bits) | |
#define | FIRE_CRC_LENGTH (FIRE_CODE_LENGTH - FIRE_SOURCE_LENGTH) |
Fire code CRC length (in bits) | |
#define | CONVOLUTION_SOURCE_LENGTH (FIRE_CODE_LENGTH + 4) |
Convolution input length (in bits) | |
#define | CONVOLUTION_CODE_LENGTH (CONVOLUTION_SOURCE_LENGTH * 2) |
Convolution output length (in bits) | |
#define | INTERLEAVING_LENGTH CONVOLUTION_CODE_LENGTH |
Convolution input length (in bits) | |
#define | CODEWORD_LENGTH INTERLEAVING_LENGTH |
Length of a code word (in bits) | |
#define | SYNDROME_LENGTH (CODEWORD_LENGTH - SOURCEWORD_LENGTH) |
Syndrome length (in bits), defined by the code parity-check matrix. |
Constants definition for encoding process inside GSM. These are not to be modified, as one single change could have desastrous consequences on the global process.