Searched refs:reclen (Results 1 – 5 of 5) sorted by relevance
/openssl/ssl/record/methods/ |
H A D | tls_pad.c | 26 static int ssl3_cbc_copy_mac(size_t *reclen, 68 if (overhead > *reclen) in ssl3_cbc_remove_padding_and_mac() 71 padding_length = recdata[*reclen - 1]; in ssl3_cbc_remove_padding_and_mac() 75 *reclen -= good & (padding_length + 1); in ssl3_cbc_remove_padding_and_mac() 116 if (overhead > *reclen) in tls1_cbc_remove_padding_and_mac() 140 if (to_check > *reclen) in tls1_cbc_remove_padding_and_mac() 141 to_check = *reclen; in tls1_cbc_remove_padding_and_mac() 182 static int ssl3_cbc_copy_mac(size_t *reclen, in ssl3_cbc_copy_mac() argument 205 size_t mac_end = *reclen; in ssl3_cbc_copy_mac() 228 *reclen -= mac_size; in ssl3_cbc_copy_mac() [all …]
|
H A D | tls1_meth.c | 172 size_t reclen[SSL_MAX_PIPELINES]; in tls1_cipher() local 249 reclen[ctr] = recs[ctr].length; in tls1_cipher() 284 reclen[ctr] += pad; in tls1_cipher() 292 padnum = bs - (reclen[ctr] % bs); in tls1_cipher() 302 for (loop = reclen[ctr]; loop < reclen[ctr] + padnum; loop++) in tls1_cipher() 304 reclen[ctr] += padnum; in tls1_cipher() 309 if (reclen[ctr] == 0 || reclen[ctr] % bs != 0) { in tls1_cipher() 332 (int)n_recs, reclen) <= 0) { in tls1_cipher() 367 (unsigned int)reclen[0])) in tls1_cipher() 413 (unsigned int)reclen[0]); in tls1_cipher()
|
/openssl/test/ |
H A D | dtls_mtu_test.c | 102 size_t reclen; in mtu_test() local 106 reclen = BIO_read(sc_bio, buf, sizeof(buf)); in mtu_test() 108 TEST_info("record %zu for payload %zu", reclen, s); in mtu_test() 113 if (!TEST_false(s <= mtus[i] && reclen > (size_t)(500 + i))) { in mtu_test() 120 (unsigned long)reclen, 500 + i); in mtu_test() 123 if (!TEST_false(s > mtus[i] && reclen <= (size_t)(500 + i))) { in mtu_test() 131 (unsigned long)reclen, 500 + i); in mtu_test()
|
/openssl/include/internal/ |
H A D | ssl3_cbc.h | 13 int ssl3_cbc_remove_padding_and_mac(size_t *reclen, 21 int tls1_cbc_remove_padding_and_mac(size_t *reclen,
|
/openssl/test/helpers/ |
H A D | ssltestlib.c | 126 int rem, i, content, reclen, msglen, fragoff, fraglen, epoch; in dump_data() local 151 reclen = (rec[RECORD_LEN_HI] << 8) | rec[RECORD_LEN_LO]; in dump_data() 152 printf("\n** Record Length: %d\n", reclen); in dump_data() 162 || reclen < DTLS1_HM_HEADER_LENGTH) { in dump_data() 181 else if (reclen < fraglen) in dump_data() 187 if (rem < reclen) { in dump_data() 191 rec += reclen; in dump_data() 192 rem -= reclen; in dump_data()
|
Completed in 22 milliseconds