libosmogsm
0.9.6-23.20170220git32ee5af8.fc42
Osmocom GSM library
Loading...
Searching...
No Matches
comp128v23.h
1
/*
2
* COMP128v23 header
3
*
4
* See comp128v23.c for details
5
*/
6
7
#pragma once
8
9
#include <stdint.h>
10
11
/*
12
* Performs the COMP128 version 2 and 3 algorithm (used as A3/A8)
13
* ki : uint8_t [16]
14
* srand : uint8_t [16]
15
* sres : uint8_t [4]
16
* kc : uint8_t [8]
17
* returns 1 if not version 2 or 3 specified
18
*/
19
int
comp128v2(
const
uint8_t *ki,
const
uint8_t *rand, uint8_t *sres, uint8_t *kc);
20
int
comp128v3(
const
uint8_t *ki,
const
uint8_t *rand, uint8_t *sres, uint8_t *kc);
include
osmocom
gsm
comp128v23.h
Generated on Thu Jul 18 2024 00:00:00 for libosmogsm by
1.12.0