Lines Matching defs:padding
537 * in DTLS 1.2 + CID and within TLS 1.3 to allow flexible padding and to protect
600 /* Determine length of padding by skipping zeroes from the back. */
722 * ENC(content + padding + padding_length)
982 size_t padding =
989 padding) != 0) {
1006 size_t padding =
1020 padding) != 0) {
1127 "including %d bytes of padding",
1190 "including 0 bytes of padding",
1258 /* Currently we're always using minimal padding
1265 /* Check there's enough space in the buffer for the padding. */
1307 " bytes of IV and %" MBEDTLS_PRINTF_SIZET " bytes of padding",
1381 /* MAC(MAC_write_key, add_data, IV, ENC(content + padding + padding_length))
1697 * because there is at least the padding length byte.
1938 /* Regardless of the validity of the padding,
1942 /* The padding check involves a series of up to 256
1945 * validity of the padding, always perform exactly
1947 * only the last `padlen` bytes for the padding check). */
1951 /* Index of first padding byte; it has been ensured above
1972 MBEDTLS_SSL_DEBUG_MSG(1, ("bad padding byte detected"));
1979 /* If the padding was found to be invalid, padlen == 0
1980 * and the subtraction is safe. If the padding was found valid,
1998 * Compute the MAC regardless of the padding result (RFC4346, CBCTIME).
2014 * subtracted either padlen + 1 (if the padding was correct)
2015 * or 0 (if the padding was incorrect) since then,
2101 /* Remove inner padding and infer true content type. */
5478 /* Expansion due to the addition of CBC padding;
5510 /* Expansion due to the addition of CBC padding;