2017-10-16 14:00:36 +00:00
|
|
|
/*! \defgroup gea GPRS GEA3/GEA4 ciphering algorithm
|
|
|
|
* @{
|
|
|
|
* \file gea.h
|
|
|
|
*
|
|
|
|
* GEA3/GEA4 header.
|
2016-06-30 08:39:00 +00:00
|
|
|
*
|
|
|
|
* See gea.c for details
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <osmocom/crypt/gprs_cipher.h>
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
int gea3(uint8_t *out, uint16_t len, uint8_t *kc, uint32_t iv,
|
|
|
|
enum gprs_cipher_direction direct);
|
|
|
|
|
|
|
|
int gea4(uint8_t *out, uint16_t len, uint8_t *kc, uint32_t iv,
|
|
|
|
enum gprs_cipher_direction direct);
|
2017-10-16 14:00:36 +00:00
|
|
|
|
|
|
|
/*! @} */
|