Home
last modified time | relevance | path

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

12

/openssl/test/recipes/
H A D70-test_comp.t88 my @comp;
99 @comp = (
103 @comp = (0xff); #Unknown compression
105 $message->comp_meths(\@comp);
106 $message->comp_meth_len(scalar @comp);
/openssl/crypto/stack/
H A Dstack.c33 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()
232 st->comp = c; in OPENSSL_sk_new_reserve()
314 if (st->comp == NULL) { in internal_find()
328 qsort(st->data, st->num, sizeof(void *), st->comp); in internal_find()
344 if (st->comp(&data, p) != 0) in internal_find()
[all …]
/openssl/ssl/record/
H A Dssl3_record.c41 unsigned char *comp; in SSL3_RECORD_clear() local
45 comp = r[i].comp; in SSL3_RECORD_clear()
48 r[i].comp = comp; in SSL3_RECORD_clear()
57 OPENSSL_free(r[i].comp); in SSL3_RECORD_release()
58 r[i].comp = NULL; in SSL3_RECORD_release()
128 if (rr->comp == NULL) { in ssl3_do_uncompress()
129 rr->comp = (unsigned char *) in ssl3_do_uncompress()
132 if (rr->comp == NULL) in ssl3_do_uncompress()
135 i = COMP_expand_block(ssl->expand, rr->comp, in ssl3_do_uncompress()
141 rr->data = rr->comp; in ssl3_do_uncompress()
H A Drecord.h67 unsigned char *comp; member
258 const SSL_COMP *comp);
H A Drecordmethod.h139 const SSL_COMP *comp,
/openssl/ssl/
H A Dssl_txt.c117 SSL_COMP *comp = NULL; in SSL_SESSION_print() local
119 if (!ssl_cipher_get_evp(NULL, x, NULL, NULL, NULL, NULL, &comp, 0)) in SSL_SESSION_print()
121 if (comp == NULL) { in SSL_SESSION_print()
125 if (BIO_printf(bp, "\n Compression: %d (%s)", comp->id, in SSL_SESSION_print()
126 comp->name) <= 0) in SSL_SESSION_print()
H A Dssl_ciph.c463 comp = OPENSSL_malloc(sizeof(*comp)); in DEFINE_RUN_ONCE_STATIC()
521 if (comp != NULL) { in ssl_cipher_get_evp()
531 *comp = NULL; in ssl_cipher_get_evp()
2039 SSL_COMP *comp; in SSL_COMP_add_compression_method() local
2057 comp = OPENSSL_malloc(sizeof(*comp)); in SSL_COMP_add_compression_method()
2058 if (comp == NULL) { in SSL_COMP_add_compression_method()
2063 comp->id = id; in SSL_COMP_add_compression_method()
2064 comp->method = cm; in SSL_COMP_add_compression_method()
2083 return comp ? COMP_get_name(comp) : NULL; in SSL_COMP_get_name()
2092 return comp->name; in SSL_COMP_get0_name()
[all …]
H A Ds3_enc.c97 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)) { in ssl3_change_cipher_state()
179 if (comp != NULL) { in ssl3_change_cipher_state()
180 s->compress = COMP_CTX_new(comp->method); in ssl3_change_cipher_state()
218 SSL_COMP *comp; in ssl3_setup_key_block() local
224 NULL, NULL, &comp, 0)) { in ssl3_setup_key_block()
237 s->s3.tmp.new_compression = comp; in ssl3_setup_key_block()
H A Dt1_enc.c159 const SSL_COMP *comp = NULL; in tls1_change_cipher_state() local
184 comp = s->s3.tmp.new_compression; in tls1_change_cipher_state()
250 m, comp)) { in tls1_change_cipher_state()
297 if (comp != NULL) { in tls1_change_cipher_state()
298 s->compress = COMP_CTX_new(comp->method); in tls1_change_cipher_state()
456 SSL_COMP *comp; in tls1_setup_key_block() local
466 &mac_type, &mac_secret_size, &comp, in tls1_setup_key_block()
/openssl/crypto/comp/
H A Dcomp_lib.c90 int COMP_CTX_get_type(const COMP_CTX* comp) in COMP_CTX_get_type() argument
92 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.c378 const SSL_COMP *comp)
388 if (comp != NULL)
501 const EVP_MD *md, const SSL_COMP *comp, BIO *prev,
511 ciph, taglen, mactype, md, comp, prev,
522 taglen, mactype, md, comp);
H A Dssl3_meth.c24 const SSL_COMP *comp) in ssl3_set_crypto_state() argument
45 if (comp != NULL) { in ssl3_set_crypto_state()
46 rl->expand = COMP_CTX_new(comp->method); in ssl3_set_crypto_state()
H A Dtls_common.c866 if (rec->comp == NULL) { in tls_do_uncompress()
867 rec->comp = (unsigned char *) in tls_do_uncompress()
870 if (rec->comp == NULL) in tls_do_uncompress()
873 i = COMP_expand_block(rl->expand, rec->comp, SSL3_RT_MAX_PLAIN_LENGTH, in tls_do_uncompress()
879 rec->data = rec->comp; in tls_do_uncompress()
1049 const EVP_MD *md, const SSL_COMP *comp, BIO *prev, in tls_int_new_record_layer() argument
1168 const EVP_MD *md, const SSL_COMP *comp, BIO *prev, in tls_new_record_layer() argument
1178 ciph, taglen, mactype, md, comp, prev, in tls_new_record_layer()
1209 taglen, mactype, md, comp); in tls_new_record_layer()
H A Drecmethod_local.h39 const SSL_COMP *comp);
264 const EVP_MD *md, const SSL_COMP *comp, BIO *prev,
H A Dtls1_meth.c25 const SSL_COMP *comp) in tls1_set_crypto_state() argument
46 if (comp != NULL) { in tls1_set_crypto_state()
47 rl->expand = COMP_CTX_new(comp->method); in tls1_set_crypto_state()
H A Dtlsany_meth.c23 const SSL_COMP *comp) in tls_any_set_crypto_state() argument
H A Ddtls_meth.c631 const EVP_MD *md, const SSL_COMP *comp, BIO *prev, in dtls_new_record_layer() argument
641 ciph, taglen, mactype, md, comp, prev, in dtls_new_record_layer()
683 taglen, mactype, md, comp); in dtls_new_record_layer()
H A Dtls13_meth.c24 const SSL_COMP *comp) in tls13_set_crypto_state() argument
/openssl/crypto/lhash/
H A Dlhash_local.h21 OPENSSL_LH_COMPFUNC comp; member
H A Dlhash.c61 ret->comp = ((c == NULL) ? (OPENSSL_LH_COMPFUNC)strcmp : c); in OPENSSL_LH_new()
304 cf = lh->comp; in getrn()
/openssl/include/openssl/
H A Dcomp.h32 int COMP_CTX_get_type(const COMP_CTX* comp);
/openssl/test/
H A Dtls13secretstest.c173 SSL_COMP **comp, int use_etm) in ssl_cipher_get_evp() argument
230 const SSL_COMP *comp) in ssl_set_new_record_layer() argument
/openssl/ssl/statem/
H A Dstatem_srvr.c1605 SSL_COMP *comp = NULL; in tls_early_post_process_client_hello() local
1970 comp = sk_SSL_COMP_value(sctx->comp_methods, m); in tls_early_post_process_client_hello()
1971 if (comp_id == comp->id) { in tls_early_post_process_client_hello()
1972 s->s3.tmp.new_compression = comp; in tls_early_post_process_client_hello()
1992 comp = NULL; in tls_early_post_process_client_hello()
2000 comp = sk_SSL_COMP_value(sctx->comp_methods, m); in tls_early_post_process_client_hello()
2001 v = comp->id; in tls_early_post_process_client_hello()
2012 s->s3.tmp.new_compression = comp; in tls_early_post_process_client_hello()
2014 comp = NULL; in tls_early_post_process_client_hello()
2045 s->session->compress_meth = (comp == NULL) ? 0 : comp->id; in tls_early_post_process_client_hello()
/openssl/.github/workflows/
H A Drun-checker-daily.yml42 no-comp,

Completed in 83 milliseconds

12