Searched refs:cctx (Results 1 – 2 of 2) sorted by relevance
| /crypto/ |
| A D | zstd.c | 24 zstd_cctx *cctx; member 88 ctx->cctx = zstd_init_cctx(ctx->wksp, ctx->wksp_size); in zstd_compress_one() 89 if (!ctx->cctx) in zstd_compress_one() 92 out_len = zstd_compress_cctx(ctx->cctx, dst, req->dlen, src, req->slen, in zstd_compress_one() 123 ctx->cctx = zstd_init_cstream(&ctx->params, 0, ctx->wksp, ctx->wksp_size); in zstd_compress() 124 if (!ctx->cctx) { in zstd_compress() 159 num_bytes = zstd_compress_stream(ctx->cctx, &outbuf, &inbuf); in zstd_compress() 165 pending_bytes = zstd_flush_stream(ctx->cctx, &outbuf); in zstd_compress() 178 num_bytes = zstd_end_stream(ctx->cctx, &outbuf); in zstd_compress()
|
| A D | camellia_generic.c | 963 struct camellia_ctx *cctx = crypto_tfm_ctx(tfm); in camellia_set_key() local 969 cctx->key_length = key_len; in camellia_set_key() 973 camellia_setup128(key, cctx->key_table); in camellia_set_key() 976 camellia_setup192(key, cctx->key_table); in camellia_set_key() 979 camellia_setup256(key, cctx->key_table); in camellia_set_key() 988 const struct camellia_ctx *cctx = crypto_tfm_ctx(tfm); in camellia_encrypt() local 998 if (cctx->key_length == 16) in camellia_encrypt() 1003 camellia_do_encrypt(cctx->key_table, tmp, max); in camellia_encrypt() 1014 const struct camellia_ctx *cctx = crypto_tfm_ctx(tfm); in camellia_decrypt() local 1024 if (cctx->key_length == 16) in camellia_decrypt() [all …]
|
Completed in 8 milliseconds