|
|
@ -1,3 +1,13 @@
|
|
|
|
|
|
|
|
/*---------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
zuc.h
|
|
|
|
|
|
|
|
Adapted from ETSI/SAGE specifications:
|
|
|
|
|
|
|
|
"Specification of the 3GPP Confidentiality
|
|
|
|
|
|
|
|
and Integrity Algorithms 128-EEA3 & 128-EIA3.
|
|
|
|
|
|
|
|
Document 2: ZUC Specification"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
---------------------------------------------------------*/
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef SRSLTE_ZUC_H
|
|
|
|
#ifndef SRSLTE_ZUC_H
|
|
|
|
#define SRSLTE_ZUC_H
|
|
|
|
#define SRSLTE_ZUC_H
|
|
|
|
|
|
|
|
|
|
|
@ -35,4 +45,4 @@ typedef struct {
|
|
|
|
void zuc_initialize(zuc_state_t* state, u8* k, u8* iv);
|
|
|
|
void zuc_initialize(zuc_state_t* state, u8* k, u8* iv);
|
|
|
|
void zuc_generate_keystream(zuc_state_t* state, int key_stream_len, u32* p_keystream);
|
|
|
|
void zuc_generate_keystream(zuc_state_t* state, int key_stream_len, u32* p_keystream);
|
|
|
|
|
|
|
|
|
|
|
|
#endif // SRSLTE_ZUC_H
|
|
|
|
#endif // SRSLTE_ZUC_H
|
|
|
|