gea.h
Go to the documentation of this file.
#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);
gprs_cipher.h
gprs_cipher_direction
gprs_cipher_direction
Definition: gprs_cipher.h:23
gea3
int gea3(uint8_t *out, uint16_t len, uint8_t *kc, uint32_t iv, enum gprs_cipher_direction direct)
Performs the GEA3 algorithm as in 3GPP TS 55.216 V6.2.0.
Definition: gea.c:55
gea4
int gea4(uint8_t *out, uint16_t len, uint8_t *kc, uint32_t iv, enum gprs_cipher_direction direct)
Performs the GEA4 algorithm as in 3GPP TS 55.226 V9.0.0.
Definition: gea.c:41
len
uint8_t len
Definition: gsm_04_11.h:0