Home
last modified time | relevance | path

Searched refs:orig_len (Results 1 – 13 of 13) sorted by relevance

/openssl/ssl/
H A Dssl_cert_comp.c60 static OSSL_COMP_CERT *OSSL_COMP_CERT_new(unsigned char *data, size_t len, size_t orig_len, int alg) in OSSL_COMP_CERT_new() argument
72 ret->orig_len = orig_len; in OSSL_COMP_CERT_new()
83 size_t orig_len, int alg) in OSSL_COMP_CERT_from_compressed_data() argument
85 return OSSL_COMP_CERT_new(OPENSSL_memdup(data, len), len, orig_len, alg); in OSSL_COMP_CERT_from_compressed_data()
288 if (cpks[j].comp_cert[alg]->len >= cpks[j].comp_cert[alg]->orig_len) { in ssl_compress_certs()
301 size_t *orig_len) in ssl_get_compressed_cert() argument
312 || orig_len == NULL in ssl_get_compressed_cert()
327 *orig_len = comp_cert->orig_len; in ssl_get_compressed_cert()
410 size_t SSL_get1_compressed_cert(SSL *ssl, int alg, unsigned char **data, size_t *orig_len) in SSL_get1_compressed_cert() argument
421 return ssl_get_compressed_cert(ssl, cpk, alg, data, orig_len); in SSL_get1_compressed_cert()
[all …]
H A Dssl_local.h1967 size_t orig_len; member
/openssl/fuzz/
H A Dx509.c36 size_t orig_len = len; in FuzzerTestOneInput() local
67 len = orig_len - (p - buf); in FuzzerTestOneInput()
72 len = orig_len - (p - buf); in FuzzerTestOneInput()
77 len = orig_len - (p - buf); in FuzzerTestOneInput()
/openssl/ssl/quic/
H A Dquic_txp.c1931 n = orig_len; in try_len()
1990 size_t orig_len; in determine_crypto_len() local
1996 orig_len = (size_t)chdr->len; in determine_crypto_len()
2000 chdr->len = orig_len; in determine_crypto_len()
2015 size_t orig_len; in determine_stream_len() local
2021 orig_len = (size_t)shdr->len; in determine_stream_len()
2025 shdr->len = orig_len; in determine_stream_len()
2124 uint64_t orig_len; member
2205 uint64_t orig_len; in txp_generate_stream_frames() local
2256 orig_len = chunks[i % 2].orig_len; in txp_generate_stream_frames()
[all …]
/openssl/test/
H A Dcert_comp_test.c92 size_t orig_len = 0; in ssl_comp_cert() local
95 if (!TEST_size_t_gt(comp_len = SSL_get1_compressed_cert(ssl, alg, &comp_data, &orig_len), 0)) in ssl_comp_cert()
98 if (!TEST_true(SSL_set1_compressed_cert(ssl, alg, comp_data, comp_len, orig_len))) in ssl_comp_cert()
/openssl/doc/man3/
H A DSSL_CTX_set1_cert_comp_preference.pod25 size_t *orig_len);
27 size_t *orig_len);
76 B<orig_len> arguments are required.
/openssl/ssl/record/methods/
H A Dtls1_meth.c386 recs[0].orig_len -= bs; in tls1_cipher()
439 recs[ctr].orig_len -= bs; in tls1_cipher()
447 recs[ctr].orig_len, in tls1_cipher()
520 &rec->orig_len); in tls1_mac()
H A Dssl3_meth.c188 rec->orig_len, in ssl3_cipher()
273 rec->length, rec->orig_len, in ssl3_mac()
H A Ddtls_meth.c147 rr->orig_len = rr->length; in dtls_process_record()
165 if (rr->orig_len < mac_size) { in dtls_process_record()
H A Drecmethod_local.h60 size_t orig_len; member
H A Dtls_common.c723 thisrr->orig_len = thisrr->length; in tls_get_more_records()
/openssl/include/openssl/
H A Dssl.h.in2810 size_t SSL_CTX_get1_compressed_cert(SSL_CTX *ctx, int alg, unsigned char **data, size_t *orig_len);
2811 size_t SSL_get1_compressed_cert(SSL *ssl, int alg, unsigned char **data, size_t *orig_len);
/openssl/ssl/statem/
H A Dstatem_srvr.c3869 || !WPACKET_put_bytes_u24(pkt, cc->orig_len) in tls_construct_server_compressed_certificate()

Completed in 100 milliseconds