Home
last modified time | relevance | path

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

/openssl-master/ssl/statem/
A Dstatem_dtls.c62 if ((frag = OPENSSL_malloc(sizeof(*frag))) == NULL) { in dtls1_hm_fragment_new()
76 frag->fragment = buf; in dtls1_hm_fragment_new()
91 return frag; in dtls1_hm_fragment_new()
96 if (!frag) in dtls1_hm_fragment_free()
105 OPENSSL_free(frag); in dtls1_hm_fragment_free()
494 hm_fragment *frag; in dtls1_retrieve_buffered_fragment() local
528 memcpy(&p[frag->msg_header.frag_off], frag->fragment, in dtls1_retrieve_buffered_fragment()
577 frag->msg_header.frag_len = frag->msg_header.msg_len; in dtls1_reassemble_fragment()
1020 hm_fragment *frag; in dtls1_retransmit_buffered_messages() local
1040 hm_fragment *frag; in dtls1_buffer_message() local
[all …]
/openssl-master/providers/implementations/ciphers/
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 …]
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-master/crypto/evp/
A De_aes_cbc_hmac_sha1.c188 frag = (unsigned int)inp_len >> (1 + n4x); in tls1_1_multi_block_encrypt()
189 last = (unsigned int)inp_len + frag - (frag << (1 + n4x)); in tls1_1_multi_block_encrypt()
191 frag++; in tls1_1_multi_block_encrypt()
195 packlen = 5 + 16 + ((frag + 20 + 16) & -16); in tls1_1_multi_block_encrypt()
219 unsigned int len = (i == (x4 - 1) ? last : frag); in tls1_1_multi_block_encrypt()
265 minblocks = ((frag <= last ? frag : last) - (64 - 13)) / 64; in tls1_1_multi_block_encrypt()
396 inp += frag; in tls1_1_multi_block_encrypt()
847 unsigned int frag, last, packlen, inp_len; in aesni_cbc_hmac_sha1_ctrl() local
875 frag = inp_len >> n4x; in aesni_cbc_hmac_sha1_ctrl()
876 last = inp_len + frag - (frag << n4x); in aesni_cbc_hmac_sha1_ctrl()
[all …]
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-master/test/
A Dhttp_test.c206 char *user, *host, *port, *path, *query, *frag; in test_http_url_ok() local
213 &path, &query, &frag)) in test_http_url_ok()
221 if (res && *frag != '\0') in test_http_url_ok()
222 res = TEST_str_eq(frag, "fr"); in test_http_url_ok()
230 OPENSSL_free(frag); in test_http_url_ok()
A Devp_test.c690 size_t out_misalign, size_t inp_misalign, int frag) in cipher_test_enc() argument
865 if (!frag) { in cipher_test_enc()
926 if (!frag) { in cipher_test_enc()
1015 int rv, frag = 0; in cipher_test_run() local
1042 frag ? "" : "not "); in cipher_test_run()
1048 frag ? "" : "not "); in cipher_test_run()
1051 rv = cipher_test_enc(t, 1, out_misalign, inp_misalign, frag); in cipher_test_run()
1060 rv = cipher_test_enc(t, 0, out_misalign, inp_misalign, frag); in cipher_test_run()
1070 if (out_misalign == 1 && frag == 0) { in cipher_test_run()
1085 frag++; in cipher_test_run()
/openssl-master/crypto/http/
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-master/ssl/
A Dd1_lib.c117 hm_fragment *frag = NULL; in dtls1_clear_received_buffer() local
120 frag = (hm_fragment *)item->data; in dtls1_clear_received_buffer()
121 dtls1_hm_fragment_free(frag); in dtls1_clear_received_buffer()
129 hm_fragment *frag = NULL; in dtls1_clear_sent_buffer() local
132 frag = (hm_fragment *)item->data; in dtls1_clear_sent_buffer()
133 dtls1_hm_fragment_free(frag); in dtls1_clear_sent_buffer()
A Dssl_local.h2569 void dtls1_hm_fragment_free(hm_fragment *frag);
/openssl-master/crypto/x509/
A Dv3_crld.c484 STACK_OF(X509_NAME_ENTRY) *frag; in DIST_POINT_set_dpname()
489 frag = dpn->name.relativename; in DIST_POINT_set_dpname()
494 for (i = 0; i < sk_X509_NAME_ENTRY_num(frag); i++) { in DIST_POINT_set_dpname()
495 ne = sk_X509_NAME_ENTRY_value(frag, i); in DIST_POINT_set_dpname()
/openssl-master/test/recipes/30-test_evp_data/
A Devppkey_ecdh.txt1037 MEgwEAYHKoZIzj0CAQYFK4EEABkDNAAEADtKDcwL660+Mm11Vl254GI3TnD+frag
/openssl-master/
A DCHANGES.md9395 * Keep a copy of frag->msg_header.frag_len so it can be used after the

Completed in 60 milliseconds