# zuc.h

Summary

zuc.h |
Functions |
EEA3 | Purpose: Encrypt message using the confidentiality algorithm 128-EEA3
EIA3 | Purpose: Calculate 32 bit message authentication code (MAC) using integrity algorithm 128-EIA3

### Functions

### EEA3

Purpose: Encrypt message using the confidentiality algorithm 128-EEA3

#### Parameters

CK | in u8* - confidentiality key
COUNT | in u32 - counter
BEARER | in u32 - bearer identity
DIRECTION | in u32 - direction of transmission
LENGTH | in u32 - length of input bit stream
M | in u32* - input bit stream (message to be encrypted)
C | out u32* - output bit stream (encrypted message)

#### Return Value

-

#### Errors

-

#### Detailed description

-

### EIA3

Purpose: Calculate 32 bit message authentication code (MAC) using integrity algorithm 128-EIA3

#### Parameters

IK | in u8* - integrity key key
COUNT | in u32 - counter
DIRECTION | in u32 - direction of transmission
BEARER | in u32 - bearer identity
LENGTH | in u32 - length of input bit stream
M | in u32* - input bit stream (the message)
MAC | out u32* - message authentication code (MAC)

#### Return Value

-

#### Errors

-

#### Detailed description

-