A52HackTool 1.3.0
Turnkey & easy to use tool for cracking the GSM A5/2 cipher
Functions
interleaving.h File Reference

Specification of third encoding & decoding phase: Interleaving. More...

#include "const_code.h"

Go to the source code of this file.

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.

Detailed Description

Specification of third encoding & decoding phase: Interleaving.

Author:
Nicolas Paglieri & Olivier Benjamin
Version:
File Revision #7
Date:
24/06/2011

Function Documentation

void processInterleavingGMatrix ( byte  G[INTERLEAVING_LENGTH][INTERLEAVING_LENGTH])

Calculates the encoding matrix corresponding to the Interleaving encoding step.

Parameters:
[out]GInterleaving encoding matrix

References INTERLEAVING_LENGTH.

Referenced by processFullEncodingGMatrix().

void reverseInterleaving ( byte  in[INTERLEAVING_LENGTH],
byte  out[INTERLEAVING_LENGTH] 
)

Decodes a previously interleaved message.

Parameters:
[in]inInterleaved data to decode
[out]outDecoded data

References CONVOLUTION_SOURCE_LENGTH, and INTERLEAVING_LENGTH.

Referenced by processFullDecoding().