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