Lines Matching refs:align
306 size_t len, left, align = 0; in tls_default_read_n() local
316 align = (size_t)rb->buf + SSL3_RT_HEADER_LENGTH; in tls_default_read_n()
317 align = SSL3_ALIGN_PAYLOAD - 1 - ((align - 1) % SSL3_ALIGN_PAYLOAD); in tls_default_read_n()
323 rb->offset = align; in tls_default_read_n()
337 pkt = rb->buf + align; in tls_default_read_n()
345 rb->offset = len + align; in tls_default_read_n()
1569 size_t j, align; in tls_initialise_write_packets_default() local
1579 align = (size_t)TLS_BUFFER_get_buf(wb); in tls_initialise_write_packets_default()
1580 align += rl->isdtls ? DTLS1_RT_HEADER_LENGTH : SSL3_RT_HEADER_LENGTH; in tls_initialise_write_packets_default()
1581 align = SSL3_ALIGN_PAYLOAD - 1 in tls_initialise_write_packets_default()
1582 - ((align - 1) % SSL3_ALIGN_PAYLOAD); in tls_initialise_write_packets_default()
1584 TLS_BUFFER_set_offset(wb, align); in tls_initialise_write_packets_default()
1592 if (!WPACKET_allocate_bytes(thispkt, align, NULL)) { in tls_initialise_write_packets_default()