![]() |
A52HackTool 1.3.0
Turnkey & easy to use tool for cracking the GSM A5/2 cipher
|
Implementation of second encoding & decoding phase: convolution. More...
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "utils.h"
#include "convolution.h"
#include "const_code.h"
Functions | |
void | processConvolutionGMatrix (byte G[CONVOLUTION_SOURCE_LENGTH][CONVOLUTION_CODE_LENGTH]) |
Calculates the encoding matrix corresponding to the Convolution encoding step. | |
void | reverseConvolution (byte in[CONVOLUTION_CODE_LENGTH], byte out[CONVOLUTION_SOURCE_LENGTH]) |
Decodes a previously convoluted message. |
Implementation of second encoding & decoding phase: convolution.
void processConvolutionGMatrix | ( | byte | G[CONVOLUTION_SOURCE_LENGTH][CONVOLUTION_CODE_LENGTH] | ) |
Calculates the encoding matrix corresponding to the Convolution encoding step.
[out] | G | Convolution encoding matrix |
References CONVOLUTION_SOURCE_LENGTH.
Referenced by processFullEncodingGMatrix().
Decodes a previously convoluted message.
[in] | in | Convoluted data to decode |
[out] | out | Decoded data |
References CODEWORD_LENGTH.
Referenced by processFullDecoding().