/openssl/ssl/statem/ |
H A D | statem_dtls.c | 67 if ((frag = OPENSSL_zalloc(sizeof(*frag))) == NULL) in dtls1_hm_fragment_new() 78 frag->fragment = buf; in dtls1_hm_fragment_new() 92 return frag; in dtls1_hm_fragment_new() 97 if (!frag) in dtls1_hm_fragment_free() 102 OPENSSL_free(frag); in dtls1_hm_fragment_free() 490 hm_fragment *frag; in dtls1_retrieve_buffered_fragment() local 564 memcpy(&p[frag->msg_header.frag_off], frag->fragment, in dtls1_retrieve_buffered_fragment() 624 frag->msg_header.frag_len = frag->msg_header.msg_len; in dtls1_reassemble_fragment() 1096 hm_fragment *frag; in dtls1_retransmit_buffered_messages() local 1116 hm_fragment *frag; in dtls1_buffer_message() local [all …]
|
/openssl/providers/implementations/ciphers/ |
H A D | cipher_aes_cbc_hmac_sha1_hw.c | 137 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 D | cipher_aes_cbc_hmac_sha256_hw.c | 141 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 D | e_aes_cbc_hmac_sha1.c | 189 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 D | e_aes_cbc_hmac_sha256.c | 184 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/ssl/ |
H A D | d1_lib.c | 118 hm_fragment *frag = NULL; in dtls1_clear_received_buffer() local 121 frag = (hm_fragment *)item->data; in dtls1_clear_received_buffer() 122 dtls1_hm_fragment_free(frag); in dtls1_clear_received_buffer() 130 hm_fragment *frag = NULL; in dtls1_clear_sent_buffer() local 133 frag = (hm_fragment *)item->data; in dtls1_clear_sent_buffer() 135 if (frag->msg_header.is_ccs in dtls1_clear_sent_buffer() 136 && frag->msg_header.saved_retransmit_state.wrlmethod != NULL in dtls1_clear_sent_buffer() 137 && s->rlayer.wrl != frag->msg_header.saved_retransmit_state.wrl) { in dtls1_clear_sent_buffer() 142 …frag->msg_header.saved_retransmit_state.wrlmethod->free(frag->msg_header.saved_retransmit_state.wr… in dtls1_clear_sent_buffer() 145 dtls1_hm_fragment_free(frag); in dtls1_clear_sent_buffer()
|
H A D | ssl_local.h | 2703 void dtls1_hm_fragment_free(hm_fragment *frag);
|
/openssl/crypto/http/ |
H A D | http_lib.c | 65 const char *frag, *frag_end; in OSSL_parse_url() local 143 path_end = query = query_end = frag = frag_end = path + strlen(path); in OSSL_parse_url() 161 frag = tmp + 1; in OSSL_parse_url() 169 || !copy_substring(pfrag, frag, frag_end)) in OSSL_parse_url()
|
/openssl/test/ |
H A D | http_test.c | 255 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 D | evp_test.c | 1076 size_t inp_misalign, int frag, int in_place, in cipher_test_enc() argument 1277 if (!frag) { in cipher_test_enc() 1360 if (!frag) { in cipher_test_enc() 1464 int rv, frag, fragmax, in_place; in cipher_test_run() local 1501 for (frag = 0; frag <= fragmax; frag++) { in cipher_test_run() 1502 if (frag == 1 && data_chunk_size != 0) in cipher_test_run() 1513 frag ? "" : "not "); in cipher_test_run() 1519 frag ? "" : "not "); in cipher_test_run() 1523 frag, in_place, initparams); in cipher_test_run() 1529 frag, in_place, initparams); in cipher_test_run()
|
/openssl/crypto/x509/ |
H A D | v3_crld.c | 488 STACK_OF(X509_NAME_ENTRY) *frag; in DIST_POINT_set_dpname() 493 frag = dpn->name.relativename; in DIST_POINT_set_dpname() 498 for (i = 0; i < sk_X509_NAME_ENTRY_num(frag); i++) { in DIST_POINT_set_dpname() 499 ne = sk_X509_NAME_ENTRY_value(frag, i); in DIST_POINT_set_dpname()
|
/openssl/test/recipes/30-test_evp_data/ |
H A D | evppkey_ecdh.txt | 1037 MEgwEAYHKoZIzj0CAQYFK4EEABkDNAAEADtKDcwL660+Mm11Vl254GI3TnD+frag
|
/openssl/ |
H A D | CHANGES.md | 11340 * Keep a copy of frag->msg_header.frag_len so it can be used after the
|