Home
last modified time | relevance | path

Searched refs:zip_ops (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/crypto/cavium/zip/
H A Dzip_inflate.c72 if (zip_ops->begin_file == 0) in prepare_inflate_zcmd()
79 zip_cmd->s.cc = zip_ops->ccode; in prepare_inflate_zcmd()
84 zip_cmd->s.adlercrc32 = zip_ops->csum; in prepare_inflate_zcmd()
153 switch (zip_ops->compcode) { in zip_inflate()
175 if ((zip_ops->ccode == 3) && (zip_ops->flush == 4) && in zip_inflate()
179 zip_ops->csum = result_ptr->s.adler32; in zip_inflate()
187 zip_ops->output_len = 0; in zip_inflate()
194 zip_ops->end_file = result_ptr->s.ef; in zip_inflate()
195 if (zip_ops->end_file) { in zip_inflate()
196 switch (zip_ops->format) { in zip_inflate()
[all …]
H A Dzip_deflate.c69 if (zip_ops->flush == ZIP_FLUSH_FINISH) { in prepare_zip_command()
74 zip_cmd->s.cc = zip_ops->ccode; in prepare_zip_command()
76 zip_cmd->s.ss = zip_ops->speed; in prepare_zip_command()
80 zip_cmd->s.adlercrc32 = zip_ops->csum; in prepare_zip_command()
87 zip_ops->history_len); in prepare_zip_command()
139 switch (zip_ops->compcode) { in zip_deflate()
160 switch (zip_ops->format) { in zip_deflate()
164 zip_ops->csum = result_ptr->s.adler32; in zip_deflate()
169 zip_ops->csum = result_ptr->s.adler32; in zip_deflate()
174 zip_ops->csum = result_ptr->s.crc32; in zip_deflate()
[all …]
H A Dzip_crypto.c54 zip_ops->speed = 1; in zip_static_init_zip_ops()
58 zip_ops->lzs_flag = 0; in zip_static_init_zip_ops()
62 zip_ops->lzs_flag = 1; in zip_static_init_zip_ops()
65 zip_ops->begin_file = 1; in zip_static_init_zip_ops()
66 zip_ops->history_len = 0; in zip_static_init_zip_ops()
67 zip_ops->end_file = 1; in zip_static_init_zip_ops()
68 zip_ops->compcode = 0; in zip_static_init_zip_ops()
144 zip_ops->input_len = slen; in zip_compress()
145 zip_ops->output_len = *dlen; in zip_compress()
183 zip_ops->input[slen++] = 0; in zip_decompress()
[all …]
H A Dzip_deflate.h60 int zip_deflate(struct zip_operation *zip_ops, struct zip_state *s,
H A Dzip_inflate.h60 int zip_inflate(struct zip_operation *zip_ops, struct zip_state *s,