![]() |
A52HackTool 1.3.0
Turnkey & easy to use tool for cracking the GSM A5/2 cipher
|
Implementation of third encoding & decoding phase: Interleaving. More...
#include <stdlib.h>#include <stdio.h>#include <string.h>#include "utils.h"#include "const_code.h"#include "interleaving.h"Functions | |
| void | processInterleavingGMatrix (byte G[INTERLEAVING_LENGTH][INTERLEAVING_LENGTH]) |
| Calculates the encoding matrix corresponding to the Interleaving encoding step. | |
| void | reverseInterleaving (byte in[INTERLEAVING_LENGTH], byte out[INTERLEAVING_LENGTH]) |
| Decodes a previously interleaved message. | |
Implementation of third encoding & decoding phase: Interleaving.
| void processInterleavingGMatrix | ( | byte | G[INTERLEAVING_LENGTH][INTERLEAVING_LENGTH] | ) |
Calculates the encoding matrix corresponding to the Interleaving encoding step.
| [out] | G | Interleaving encoding matrix |
References INTERLEAVING_LENGTH.
Referenced by processFullEncodingGMatrix().
Decodes a previously interleaved message.
| [in] | in | Interleaved data to decode |
| [out] | out | Decoded data |
References CONVOLUTION_SOURCE_LENGTH, and INTERLEAVING_LENGTH.
Referenced by processFullDecoding().
1.7.4