summaryrefslogtreecommitdiffstats
path: root/include/osmocom/gsm/gea.h
blob: 5c23d2ac00ada6fbdecfcc702bdae2e6f84de290 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*! \file gea.h
 * GEA3 header.
 *
 * 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);