Home
last modified time | relevance | path

Searched refs:comp (Results 1 – 25 of 48) sorted by relevance

12

/openssl/crypto/
H A Dcomp_methods.c32 SSL_COMP *comp = NULL; in STACK_OF() local
38 comp = OPENSSL_malloc(sizeof(*comp)); in STACK_OF()
39 if (comp != NULL) { in STACK_OF()
40 comp->method = method; in STACK_OF()
41 comp->id = SSL_COMP_ZLIB_IDX; in STACK_OF()
42 comp->name = COMP_get_name(method); in STACK_OF()
43 if (!sk_SSL_COMP_push(comp_methods, comp)) in STACK_OF()
44 OPENSSL_free(comp); in STACK_OF()
/openssl/crypto/stack/
H A Dstack.c32 OPENSSL_sk_compfunc comp; member
38 OPENSSL_sk_compfunc old = sk->comp; in OPENSSL_sk_set_cmp_func()
40 if (sk->comp != c) in OPENSSL_sk_set_cmp_func()
42 sk->comp = c; in OPENSSL_sk_set_cmp_func()
57 ret->comp = NULL; in OPENSSL_sk_dup()
95 ret->comp = NULL; in OPENSSL_sk_deep_copy()
233 st->comp = c; in OPENSSL_sk_new_reserve()
330 if (st->comp == NULL) { in internal_find()
347 if (st->comp(&data, st->data + i) == 0) { in internal_find()
371 if (st->comp(&data, p) != 0) in internal_find()
[all …]
/openssl/ssl/
H A Dssl_txt.c119 SSL_COMP *comp = NULL; in SSL_SESSION_print() local
121 if (!ssl_cipher_get_evp(NULL, x, NULL, NULL, NULL, NULL, &comp, 0)) in SSL_SESSION_print()
123 if (comp == NULL) { in SSL_SESSION_print()
127 if (BIO_printf(bp, "\n Compression: %d (%s)", comp->id, in SSL_SESSION_print()
128 comp->name) <= 0) in SSL_SESSION_print()
H A Dssl_ciph.c508 if (comp != NULL) { in ssl_cipher_get_evp()
512 *comp = NULL; in ssl_cipher_get_evp()
2011 SSL_COMP *comp; in SSL_COMP_add_compression_method() local
2034 comp = OPENSSL_malloc(sizeof(*comp)); in SSL_COMP_add_compression_method()
2035 if (comp == NULL) in SSL_COMP_add_compression_method()
2038 comp->id = id; in SSL_COMP_add_compression_method()
2040 OPENSSL_free(comp); in SSL_COMP_add_compression_method()
2045 OPENSSL_free(comp); in SSL_COMP_add_compression_method()
2057 return comp ? COMP_get_name(comp) : NULL; in SSL_COMP_get_name()
2066 return comp->name; in SSL_COMP_get0_name()
[all …]
H A Ds3_enc.c96 const SSL_COMP *comp = NULL; in ssl3_change_cipher_state() local
111 comp = s->s3.tmp.new_compression; in ssl3_change_cipher_state()
151 md_len, ciph, 0, NID_undef, md, comp, NULL)) { in ssl3_change_cipher_state()
168 SSL_COMP *comp; in ssl3_setup_key_block() local
174 NULL, NULL, &comp, 0)) { in ssl3_setup_key_block()
187 s->s3.tmp.new_compression = comp; in ssl3_setup_key_block()
H A Dt1_enc.c120 const SSL_COMP *comp = NULL; in tls1_change_cipher_state() local
137 comp = s->s3.tmp.new_compression; in tls1_change_cipher_state()
238 m, comp, NULL)) { in tls1_change_cipher_state()
260 SSL_COMP *comp; in tls1_setup_key_block() local
270 &mac_type, &mac_secret_size, &comp, in tls1_setup_key_block()
/openssl/test/recipes/
H A D70-test_comp.t186 my @comp;
196 @comp = @{$compression_field_for_test{$testtype}};
197 $message->comp_meths(\@comp);
198 $message->comp_meth_len(scalar @comp);
/openssl/crypto/comp/
H A Dcomp_lib.c95 int COMP_CTX_get_type(const COMP_CTX* comp) in COMP_CTX_get_type() argument
97 return comp->meth ? comp->meth->type : NID_undef; in COMP_CTX_get_type()
/openssl/doc/man3/
H A DSSL_COMP_add_compression_method.pod15 const char *SSL_COMP_get0_name(const SSL_COMP *comp);
16 int SSL_COMP_get_id(const SSL_COMP *comp);
34 SSL_COMP_get0_name() returns the name of the compression method B<comp>.
36 SSL_COMP_get_id() returns the id of the compression method B<comp>.
/openssl/ssl/record/methods/
H A Dktls_meth.c297 COMP_METHOD *comp) in ktls_set_crypto_state() argument
307 if (comp != NULL) in ktls_set_crypto_state()
410 const EVP_MD *md, COMP_METHOD *comp, in ktls_new_record_layer() argument
420 ciph, taglen, md, comp, prev, in ktls_new_record_layer()
431 taglen, mactype, md, comp); in ktls_new_record_layer()
H A Dssl3_meth.c25 COMP_METHOD *comp) in ssl3_set_crypto_state() argument
53 if (comp != NULL) { in ssl3_set_crypto_state()
54 rl->compctx = COMP_CTX_new(comp); in ssl3_set_crypto_state()
H A Dtls_common.c37 OPENSSL_free(r[i].comp); in TLS_RL_RECORD_release()
38 r[i].comp = NULL; in TLS_RL_RECORD_release()
1042 if (rec->comp == NULL) { in tls_do_uncompress()
1043 rec->comp = (unsigned char *) in tls_do_uncompress()
1046 if (rec->comp == NULL) in tls_do_uncompress()
1049 i = COMP_expand_block(rl->compctx, rec->comp, SSL3_RT_MAX_PLAIN_LENGTH, in tls_do_uncompress()
1055 rec->data = rec->comp; in tls_do_uncompress()
1254 const EVP_MD *md, COMP_METHOD *comp, BIO *prev, in tls_int_new_record_layer() argument
1393 const EVP_MD *md, COMP_METHOD *comp, in tls_new_record_layer() argument
1403 ciph, taglen, md, comp, prev, in tls_new_record_layer()
[all …]
H A Drecmethod_local.h72 unsigned char *comp; member
108 COMP_METHOD *comp);
443 const EVP_MD *md, COMP_METHOD *comp, BIO *prev,
H A Dtlsany_meth.c25 COMP_METHOD *comp) in tls_any_set_crypto_state() argument
H A Dtls1_meth.c27 COMP_METHOD *comp) in tls1_set_crypto_state() argument
49 if (comp != NULL) { in tls1_set_crypto_state()
50 rl->compctx = COMP_CTX_new(comp); in tls1_set_crypto_state()
H A Ddtls_meth.c632 const EVP_MD *md, COMP_METHOD *comp, in dtls_new_record_layer() argument
642 ciph, taglen, md, comp, prev, in dtls_new_record_layer()
682 taglen, mactype, md, comp); in dtls_new_record_layer()
/openssl/crypto/lhash/
H A Dlhash_local.h21 OPENSSL_LH_COMPFUNC comp; member
H A Dlhash.c71 ret->comp = ((c == NULL) ? (OPENSSL_LH_COMPFUNC)strcmp : c); in OPENSSL_LH_new()
345 if (lh->compw(n1->data, data, lh->comp) == 0) in getrn()
348 if (lh->comp(n1->data, data) == 0) in getrn()
/openssl/.github/workflows/
H A Drun-checker-daily.yml46 no-comp,
235 run: ./config enable-comp enable-brotli enable-brotli-dynamic && perl configdata.pm --dump
257 run: ./config enable-comp enable-zstd enable-zstd-dynamic && perl configdata.pm --dump
280 …run: ./config enable-comp enable-brotli enable-brotli-dynamic enable-zstd enable-zstd-dynamic && p…
306 …run: ./config --banner=Configured --debug enable-asan enable-ubsan enable-comp enable-brotli -DPED…
332 …run: ./config --banner=Configured --debug enable-asan enable-ubsan enable-comp enable-zstd -DPEDAN…
H A Dwindows_comp.yml13 - 'crypto/comp/*.c'
40 …perl ..\Configure enable-comp enable-zstd --with-zstd-include=C:\vcpkg\packages\zstd_x64-windows\i…
99 …perl ..\Configure enable-comp enable-brotli --with-brotli-include=C:\vcpkg\packages\brotli_x64-win…
/openssl/test/
H A Dtls13secretstest.c176 SSL_COMP **comp, int use_etm) in ssl_cipher_get_evp() argument
234 const SSL_COMP *comp, const EVP_MD *kdfdigest) in ssl_set_new_record_layer() argument
/openssl/
H A Dbuild.info29 include/openssl/comp.h \
59 GENERATE[include/openssl/comp.h]=include/openssl/comp.h.in
/openssl/include/openssl/
H A Dcomp.h.in37 int COMP_CTX_get_type(const COMP_CTX* comp);
/openssl/include/internal/
H A Drecordmethod.h139 COMP_METHOD *comp,
/openssl/ssl/statem/
H A Dextensions.c1886 unsigned int comp; in tls_parse_compress_certificate() local
1917 while (PACKET_get_net_2(&supported_comp_algs, &comp)) { in tls_parse_compress_certificate()
1918 if (tls_comp_in_pref(sc, comp) && !already_set[comp]) { in tls_parse_compress_certificate()
1919 sc->ext.compress_certificate_from_peer[j++] = comp; in tls_parse_compress_certificate()
1920 already_set[comp] = 1; in tls_parse_compress_certificate()

Completed in 63 milliseconds

12