\doxysection{src/l1/crc.c File Reference}
\label{crc_8c}\index{src/l1/crc.c@{src/l1/crc.c}}


Osmocom GMR-\/1 CRC implementation.  


{\ttfamily \#include $<$stdint.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/core/bits.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/core/crcgen.\+h$>$}\newline
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
const struct \textbf{ osmo\+\_\+crc8gen\+\_\+code} \textbf{ gmr1\+\_\+crc8}
\begin{DoxyCompactList}\small\item\em GMR-\/1 CRC8 g8(\+D) = D8 + D7 + D4 + D3 + D + 1. \end{DoxyCompactList}\item 
const struct \textbf{ osmo\+\_\+crc16gen\+\_\+code} \textbf{ gmr1\+\_\+crc12}
\begin{DoxyCompactList}\small\item\em GMR-\/1 CRC12 g12(\+D) = D12 + D11 + D3 + D2 + D + 1. \end{DoxyCompactList}\item 
const struct \textbf{ osmo\+\_\+crc16gen\+\_\+code} \textbf{ gmr1\+\_\+crc16}
\begin{DoxyCompactList}\small\item\em GMR-\/1 CRC16 g16(\+D) = D16 + D12 + D5 + 1. \end{DoxyCompactList}\end{DoxyCompactItemize}


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

