mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-31 15:04:26 +08:00
remove useless symbols
This commit is contained in:
@@ -62,9 +62,10 @@ typedef struct {
|
||||
uint32_t state[22];
|
||||
} zuc_key_t;
|
||||
|
||||
/*
|
||||
void zuc_set_key(zuc_key_t *key, const unsigned char *user_key, const unsigned char *iv);
|
||||
void zuc_generate_keystream(zuc_key_t *key, size_t nwords, uint32_t *words);
|
||||
|
||||
*/
|
||||
|
||||
typedef struct {
|
||||
zuc_key_t key;
|
||||
@@ -72,9 +73,11 @@ typedef struct {
|
||||
size_t buflen;
|
||||
} zuc_ctx_t;
|
||||
|
||||
/*
|
||||
void zuc_ctx_init(zuc_ctx_t *ctx, const unsigned char *user_key, const unsigned char *iv);
|
||||
void zuc_encrypt(zuc_ctx_t *ctx, size_t len, const unsigned char *in, unsigned char *out);
|
||||
#define zuc_decrypt(ctx,len,in,out) zuc_encrypt(ctx,len,in,out)
|
||||
*/
|
||||
|
||||
#define EEA3_MIN_BITS 1
|
||||
#define EEA3_MAX_BITS 65504
|
||||
@@ -87,11 +90,13 @@ typedef struct {
|
||||
/* maybe buffer */
|
||||
} eea3_ctx_t;
|
||||
|
||||
/*
|
||||
void eea3_init(eea3_ctx_t *ctx, const unsigned char *user_key, uint32_t count, uint32_t bearer, int direction);
|
||||
void eea3_encrypt(eea3_ctx_t *ctx, size_t len, const unsigned char *in, unsigned char *out);
|
||||
#define eea3_decrypt(ctx,len,in,out) eea3_encrypt(ctx,len,in,out)
|
||||
void eea3(const unsigned char *key, uint32_t count, uint32_t bearer, int direction,
|
||||
size_t len, const unsigned char *in, unsigned char *out);
|
||||
*/
|
||||
|
||||
#define EIA3_MIN_BYTES EEA3_MIN_BYTES
|
||||
#define EIA3_MAX_BYTES EEA3_MAX_BYTES
|
||||
@@ -103,11 +108,13 @@ typedef struct {
|
||||
/* maybe buffer */
|
||||
} eia3_ctx_t;
|
||||
|
||||
/*
|
||||
void eia3_init(eia3_ctx_t *ctx, const unsigned char *user_key, uint32_t count, uint32_t bearer, int direction);
|
||||
void eia3_update(eia3_ctx_t *ctx, const unsigned char *data, size_t datalen);
|
||||
void eia3_final(eia3_ctx_t *ctx, uint32_t *mac);
|
||||
void eia3(const unsigned char *key, uint32_t count, uint32_t bearer, int direction,
|
||||
const unsigned char *data, size_t len, uint32_t *mac);
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user