libosmogsm 1.13.1.1-afb4 Osmocom GSM library

gea.h
Go to the documentation of this file.
1
10#pragma once
11
12#include <osmocom/crypt/gprs_cipher.h>
13
14#include <stdint.h>
15
16 int gea3(uint8_t *out, uint16_t len, uint8_t *kc, uint32_t iv,
17 enum gprs_cipher_direction direct);
18
19 int gea4(uint8_t *out, uint16_t len, uint8_t *kc, uint32_t iv,
20 enum gprs_cipher_direction direct);
21
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:51
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:37
len
uint8_t len
Definition: gsm_04_11.h:0