Home
last modified time | relevance | path

Searched refs:COMP_CTX (Results 1 – 15 of 15) sorted by relevance

/src/crypto/openssl/crypto/comp/
H A Dcomp_lib.c18 COMP_CTX *COMP_CTX_new(COMP_METHOD *meth) in COMP_CTX_new()
20 COMP_CTX *ret; in COMP_CTX_new()
35 const COMP_METHOD *COMP_CTX_get_method(const COMP_CTX *ctx) in COMP_CTX_get_method()
54 void COMP_CTX_free(COMP_CTX *ctx) in COMP_CTX_free()
64 int COMP_compress_block(COMP_CTX *ctx, unsigned char *out, int olen, in COMP_compress_block()
79 int COMP_expand_block(COMP_CTX *ctx, unsigned char *out, int olen, in COMP_expand_block()
95 int COMP_CTX_get_type(const COMP_CTX *comp) in COMP_CTX_get_type()
H A Dcomp_local.h13 int (*init)(COMP_CTX *ctx);
14 void (*finish)(COMP_CTX *ctx);
15 ossl_ssize_t (*compress)(COMP_CTX *ctx,
18 ossl_ssize_t (*expand)(COMP_CTX *ctx,
H A Dc_zlib.c29 static int zlib_stateful_init(COMP_CTX *ctx);
30 static void zlib_stateful_finish(COMP_CTX *ctx);
31 static ossl_ssize_t zlib_stateful_compress_block(COMP_CTX *ctx, unsigned char *out,
34 static ossl_ssize_t zlib_stateful_expand_block(COMP_CTX *ctx, unsigned char *out,
117 static int zlib_stateful_init(COMP_CTX *ctx) in zlib_stateful_init()
151 static void zlib_stateful_finish(COMP_CTX *ctx) in zlib_stateful_finish()
159 static ossl_ssize_t zlib_stateful_compress_block(COMP_CTX *ctx, unsigned char *out, in zlib_stateful_compress_block()
182 static ossl_ssize_t zlib_stateful_expand_block(COMP_CTX *ctx, unsigned char *out, in zlib_stateful_expand_block()
207 static int zlib_oneshot_init(COMP_CTX *ctx) in zlib_oneshot_init()
212 static void zlib_oneshot_finish(COMP_CTX *ctx) in zlib_oneshot_finish()
[all …]
H A Dc_brotli.c112 static int brotli_stateful_init(COMP_CTX *ctx) in brotli_stateful_init()
136 static void brotli_stateful_finish(COMP_CTX *ctx) in brotli_stateful_finish()
148 static ossl_ssize_t brotli_stateful_compress_block(COMP_CTX *ctx, unsigned char *out, in brotli_stateful_compress_block()
183 static ossl_ssize_t brotli_stateful_expand_block(COMP_CTX *ctx, unsigned char *out, in brotli_stateful_expand_block()
220 static int brotli_oneshot_init(COMP_CTX *ctx) in brotli_oneshot_init()
225 static void brotli_oneshot_finish(COMP_CTX *ctx) in brotli_oneshot_finish()
229 static ossl_ssize_t brotli_oneshot_compress_block(COMP_CTX *ctx, unsigned char *out, in brotli_oneshot_compress_block()
253 static ossl_ssize_t brotli_oneshot_expand_block(COMP_CTX *ctx, unsigned char *out, in brotli_oneshot_expand_block()
H A Dc_zstd.c139 static int zstd_stateful_init(COMP_CTX *ctx) in zstd_stateful_init()
173 static void zstd_stateful_finish(COMP_CTX *ctx) in zstd_stateful_finish()
185 static ossl_ssize_t zstd_stateful_compress_block(COMP_CTX *ctx, unsigned char *out, in zstd_stateful_compress_block()
244 static ossl_ssize_t zstd_stateful_expand_block(COMP_CTX *ctx, unsigned char *out, in zstd_stateful_expand_block()
295 static int zstd_oneshot_init(COMP_CTX *ctx) in zstd_oneshot_init()
300 static void zstd_oneshot_finish(COMP_CTX *ctx) in zstd_oneshot_finish()
304 static ossl_ssize_t zstd_oneshot_compress_block(COMP_CTX *ctx, unsigned char *out, in zstd_oneshot_compress_block()
327 static ossl_ssize_t zstd_oneshot_expand_block(COMP_CTX *ctx, unsigned char *out, in zstd_oneshot_expand_block()
/src/crypto/openssl/include/openssl/
H A Dcomp.h.in35 COMP_CTX *COMP_CTX_new(COMP_METHOD *meth);
36 const COMP_METHOD *COMP_CTX_get_method(const COMP_CTX *ctx);
37 int COMP_CTX_get_type(const COMP_CTX *comp);
40 void COMP_CTX_free(COMP_CTX *ctx);
42 int COMP_compress_block(COMP_CTX *ctx, unsigned char *out, int olen,
44 int COMP_expand_block(COMP_CTX *ctx, unsigned char *out, int olen,
H A Dcomp.h33 COMP_CTX *COMP_CTX_new(COMP_METHOD *meth);
34 const COMP_METHOD *COMP_CTX_get_method(const COMP_CTX *ctx);
35 int COMP_CTX_get_type(const COMP_CTX *comp);
38 void COMP_CTX_free(COMP_CTX *ctx);
40 int COMP_compress_block(COMP_CTX *ctx, unsigned char *out, int olen,
42 int COMP_expand_block(COMP_CTX *ctx, unsigned char *out, int olen,
H A Dtypes.h199 typedef struct comp_ctx_st COMP_CTX; typedef
/src/crypto/openssl/doc/man3/
H A DCOMP_CTX_new.pod28 COMP_CTX *COMP_CTX_new(COMP_METHOD *meth);
29 void COMP_CTX_free(COMP_CTX *ctx);
30 const COMP_METHOD *COMP_CTX_get_method(const COMP_CTX *ctx);
31 int COMP_CTX_get_type(const COMP_CTX* comp);
35 int COMP_compress_block(COMP_CTX *ctx, unsigned char *out, int olen,
37 int COMP_expand_block(COMP_CTX *ctx, unsigned char *out, int olen,
56 COMP_CTX_new() is used to create a new B<COMP_CTX> structure used to compress data.
58 COMP_CTX_free() is used to free the returned B<COMP_CTX>.
63 COMP_CTX_get_type() and COMP_get_type() return the NID for the B<COMP_CTX> and
148 COMP_CTX_new() returns a B<COMP_CTX> on success, or NULL on failure.
/src/crypto/openssl/ssl/
H A Dssl_cert_comp.c97 COMP_CTX *comp_ctx = NULL; in OSSL_COMP_CERT_from_uncompressed_data()
H A Dt1_trce.c1411 COMP_CTX *comp = NULL; in ssl_print_compressed_certificates()
/src/crypto/openssl/ssl/record/methods/
H A Drecmethod_local.h305 COMP_CTX *compctx;
/src/crypto/openssl/util/
H A Dindent.pro158 -T COMP_CTX
/src/crypto/openssl/ssl/statem/
H A Dstatem_lib.c2868 COMP_CTX *comp = NULL; in tls13_process_compressed_certificate()
H A Dstatem_clnt.c3872 COMP_CTX *comp = NULL; in tls_construct_client_compressed_certificate()