Home
last modified time | relevance | path

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

/openssl/ssl/statem/
H A Dstatem_dtls.c64 if ((frag = OPENSSL_malloc(sizeof(*frag))) == NULL) { in dtls1_hm_fragment_new()
78 frag->fragment = buf; in dtls1_hm_fragment_new()
93 return frag; in dtls1_hm_fragment_new()
98 if (!frag) in dtls1_hm_fragment_free()
107 OPENSSL_free(frag); in dtls1_hm_fragment_free()
499 hm_fragment *frag; in dtls1_retrieve_buffered_fragment() local
533 memcpy(&p[frag->msg_header.frag_off], frag->fragment, in dtls1_retrieve_buffered_fragment()
583 frag->msg_header.frag_len = frag->msg_header.msg_len; in dtls1_reassemble_fragment()
1031 hm_fragment *frag; in dtls1_retransmit_buffered_messages() local
1051 hm_fragment *frag; in dtls1_buffer_message() local
[all …]
/openssl/providers/implementations/ciphers/
H A Dcipher_aes_cbc_hmac_sha1_hw.c137 unsigned int frag, last, packlen, i; in tls1_multi_block_encrypt() local
151 frag = (unsigned int)inp_len >> (1 + n4x); in tls1_multi_block_encrypt()
152 last = (unsigned int)inp_len + frag - (frag << (1 + n4x)); in tls1_multi_block_encrypt()
154 frag++; in tls1_multi_block_encrypt()
158 packlen = 5 + 16 + ((frag + 20 + 16) & -16); in tls1_multi_block_encrypt()
228 minblocks = ((frag <= last ? frag : last) - (64 - 13)) / 64; in tls1_multi_block_encrypt()
359 inp += frag; in tls1_multi_block_encrypt()
719 unsigned int frag, last, packlen, inp_len; in aesni_cbc_hmac_sha1_tls1_multiblock_aad() local
745 frag = inp_len >> n4x; in aesni_cbc_hmac_sha1_tls1_multiblock_aad()
746 last = inp_len + frag - (frag << n4x); in aesni_cbc_hmac_sha1_tls1_multiblock_aad()
[all …]
H A Dcipher_aes_cbc_hmac_sha256_hw.c141 unsigned int frag, last, packlen, i; in tls1_multi_block_encrypt() local
155 frag = (unsigned int)inp_len >> (1 + n4x); in tls1_multi_block_encrypt()
156 last = (unsigned int)inp_len + frag - (frag << (1 + n4x)); in tls1_multi_block_encrypt()
158 frag++; in tls1_multi_block_encrypt()
162 packlen = 5 + 16 + ((frag + 32 + 16) & -16); in tls1_multi_block_encrypt()
236 minblocks = ((frag <= last ? frag : last) - (64 - 13)) / 64; in tls1_multi_block_encrypt()
382 inp += frag; in tls1_multi_block_encrypt()
772 unsigned int frag, last, packlen, inp_len; in aesni_cbc_hmac_sha256_tls1_multiblock_aad() local
797 frag = inp_len >> n4x; in aesni_cbc_hmac_sha256_tls1_multiblock_aad()
798 last = inp_len + frag - (frag << n4x); in aesni_cbc_hmac_sha256_tls1_multiblock_aad()
[all …]
/openssl/crypto/evp/
H A De_aes_cbc_hmac_sha1.c189 frag = (unsigned int)inp_len >> (1 + n4x); in tls1_1_multi_block_encrypt()
190 last = (unsigned int)inp_len + frag - (frag << (1 + n4x)); in tls1_1_multi_block_encrypt()
192 frag++; in tls1_1_multi_block_encrypt()
196 packlen = 5 + 16 + ((frag + 20 + 16) & -16); in tls1_1_multi_block_encrypt()
220 unsigned int len = (i == (x4 - 1) ? last : frag); in tls1_1_multi_block_encrypt()
266 minblocks = ((frag <= last ? frag : last) - (64 - 13)) / 64; in tls1_1_multi_block_encrypt()
397 inp += frag; in tls1_1_multi_block_encrypt()
854 unsigned int frag, last, packlen, inp_len; in aesni_cbc_hmac_sha1_ctrl() local
882 frag = inp_len >> n4x; in aesni_cbc_hmac_sha1_ctrl()
883 last = inp_len + frag - (frag << n4x); in aesni_cbc_hmac_sha1_ctrl()
[all …]
H A De_aes_cbc_hmac_sha256.c184 frag = (unsigned int)inp_len >> (1 + n4x); in tls1_1_multi_block_encrypt()
185 last = (unsigned int)inp_len + frag - (frag << (1 + n4x)); in tls1_1_multi_block_encrypt()
187 frag++; in tls1_1_multi_block_encrypt()
191 packlen = 5 + 16 + ((frag + 32 + 16) & -16); in tls1_1_multi_block_encrypt()
215 unsigned int len = (i == (x4 - 1) ? last : frag); in tls1_1_multi_block_encrypt()
264 minblocks = ((frag <= last ? frag : last) - (64 - 13)) / 64; in tls1_1_multi_block_encrypt()
410 inp += frag; in tls1_1_multi_block_encrypt()
828 unsigned int frag, last, packlen, inp_len; in aesni_cbc_hmac_sha256_ctrl() local
859 frag = inp_len >> n4x; in aesni_cbc_hmac_sha256_ctrl()
860 last = inp_len + frag - (frag << n4x); in aesni_cbc_hmac_sha256_ctrl()
[all …]
/openssl/crypto/http/
H A Dhttp_lib.c51 const char *frag, *frag_end; in OSSL_parse_url() local
128 path_end = query = query_end = frag = frag_end = path + strlen(path); in OSSL_parse_url()
146 frag = tmp + 1; in OSSL_parse_url()
154 || !copy_substring(pfrag, frag, frag_end)) in OSSL_parse_url()
/openssl/test/
H A Dhttp_test.c255 char *user, *host, *port, *path, *query, *frag; in test_http_url_ok() local
262 &path, &query, &frag)) in test_http_url_ok()
270 if (res && *frag != '\0') in test_http_url_ok()
271 res = TEST_str_eq(frag, "fr"); in test_http_url_ok()
279 OPENSSL_free(frag); in test_http_url_ok()
H A Devp_test.c705 size_t out_misalign, size_t inp_misalign, int frag) in cipher_test_enc() argument
886 if (!frag) { in cipher_test_enc()
947 if (!frag) { in cipher_test_enc()
1036 int rv, frag = 0; in cipher_test_run() local
1063 frag ? "" : "not "); in cipher_test_run()
1069 frag ? "" : "not "); in cipher_test_run()
1072 rv = cipher_test_enc(t, 1, out_misalign, inp_misalign, frag); in cipher_test_run()
1081 rv = cipher_test_enc(t, 0, out_misalign, inp_misalign, frag); in cipher_test_run()
1091 if (out_misalign == 1 && frag == 0) { in cipher_test_run()
1107 frag++; in cipher_test_run()
/openssl/ssl/
H A Dd1_lib.c122 hm_fragment *frag = NULL; in dtls1_clear_received_buffer() local
125 frag = (hm_fragment *)item->data; in dtls1_clear_received_buffer()
126 dtls1_hm_fragment_free(frag); in dtls1_clear_received_buffer()
134 hm_fragment *frag = NULL; in dtls1_clear_sent_buffer() local
137 frag = (hm_fragment *)item->data; in dtls1_clear_sent_buffer()
138 dtls1_hm_fragment_free(frag); in dtls1_clear_sent_buffer()
H A Dssl_local.h2661 void dtls1_hm_fragment_free(hm_fragment *frag);
/openssl/crypto/x509/
H A Dv3_crld.c485 STACK_OF(X509_NAME_ENTRY) *frag; in DIST_POINT_set_dpname()
490 frag = dpn->name.relativename; in DIST_POINT_set_dpname()
495 for (i = 0; i < sk_X509_NAME_ENTRY_num(frag); i++) { in DIST_POINT_set_dpname()
496 ne = sk_X509_NAME_ENTRY_value(frag, i); in DIST_POINT_set_dpname()
/openssl/test/recipes/30-test_evp_data/
H A Devppkey_ecdh.txt1037 MEgwEAYHKoZIzj0CAQYFK4EEABkDNAAEADtKDcwL660+Mm11Vl254GI3TnD+frag
/openssl/
H A DCHANGES.md9792 * Keep a copy of frag->msg_header.frag_len so it can be used after the

Completed in 125 milliseconds