\doxysection{src/l1/scramb.c File Reference}
\label{scramb_8c}\index{src/l1/scramb.c@{src/l1/scramb.c}}


Osmocom GMR-\/1 scrambling implementation.  


{\ttfamily \#include $<$stdint.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/core/bits.\+h$>$}\newline
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define {\bfseries GMR1\+\_\+\+SCRAMBLE\+\_\+\+REG\+\_\+\+INIT}~0x4d4b
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \textbf{ gmr1\+\_\+scramble\+\_\+sbit} (sbit\+\_\+t $\ast$out, const sbit\+\_\+t $\ast$in, int len)
\begin{DoxyCompactList}\small\item\em Scrambles/\+Unscrambles a softbit vector. \end{DoxyCompactList}\item 
void \textbf{ gmr1\+\_\+scramble\+\_\+ubit} (ubit\+\_\+t $\ast$out, const ubit\+\_\+t $\ast$in, int len)
\begin{DoxyCompactList}\small\item\em Scrambles/\+Unscrambles an unpacked hard bit vector. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Osmocom GMR-\/1 scrambling implementation. 

