Lines Matching defs:check

136      * check the return status properly. */
240 * check the return status properly. */
412 /* Double-check that the write-index hasn't gone
1610 /* Because of the check above, we know that there are
1657 /* Double-check that AEAD decryption doesn't change content length. */
1701 * we test for in the second check below.
1730 * The subtraction is safe because of the previous check
1828 * so the following check in particular implies that
1900 /* Double-check that length hasn't changed during decryption. */
1942 /* The padding check involves a series of up to 256
1947 * only the last `padlen` bytes for the padding check). */
1949 volatile unsigned char * const check = data;
1960 * (check[idx] == padlen - 1);
1964 const mbedtls_ct_condition_t b = mbedtls_ct_uint_eq(check[idx], padlen - 1);
2007 * got reset to 1, and the initial check
2086 * Finally check the correct flag
2795 * HelloRequest we should be in a handshake - double check. */
2812 /* Double-check that we did not exceed the bounds
2818 * Note: We deliberately do not check for the MTU or MFL here.
3009 /* In case of DTLS, double-check that we don't exceed
3483 * and expected values. We don't need to check a lot, more checks will be
3507 MBEDTLS_SSL_DEBUG_MSG(4, ("check cookie: in_len=%u",
3511 MBEDTLS_SSL_DEBUG_MSG(4, ("check cookie: record too short"));
3520 MBEDTLS_SSL_DEBUG_MSG(4, ("check cookie: not a good ClientHello"));
3529 MBEDTLS_SSL_DEBUG_MSG(4, ("check cookie: sid_len=%u > %u",
3539 MBEDTLS_SSL_DEBUG_MSG(4, ("check cookie: cookie_len=%u > %u",
3550 MBEDTLS_SSL_DEBUG_MSG(4, ("check cookie: valid"));
3637 "can't check reconnect validity"));
3654 /* Don't check write errors as we can't do anything here.
3913 /* For records from the correct epoch, check whether their
3970 * check the length and content and ignore them.
4061 * might change during decryption, re-check the record
4203 /* We only check for buffered messages if the
4335 /* Double-check that we haven't accidentally buffered
4435 * message - double-check nonetheless. */
4467 * after reassembly, so check that it's not too large.
4658 * The following check is therefore mandatory, and
4760 /* Double-check that the record is not too large */
5226 * so we don't need to check this here. */
5881 * - For 1), the next iteration will read a new record and check