Lines Matching refs:total_len
361 size_t length = length_val, outlen, total_len, i, block_size, iv_len;
447 total_len = outlen;
449 TEST_ASSERT(total_len == length ||
450 (total_len % block_size == 0 &&
451 total_len < length &&
452 total_len + block_size > length));
455 total_len += outlen;
461 TEST_ASSERT(total_len == length ||
462 (total_len % block_size == 0 &&
463 total_len > length &&
464 total_len <= length + block_size));
467 TEST_ASSERT(0 == mbedtls_cipher_update(&ctx_dec, encbuf, total_len, decbuf, &outlen));
468 total_len = outlen;
470 TEST_ASSERT(total_len == length ||
471 (total_len % block_size == 0 &&
472 total_len < length &&
473 total_len + block_size >= length));
476 total_len += outlen;
483 TEST_ASSERT(total_len == length);
777 size_t outlen, total_len;
810 total_len = 0;
812 total_len += outlen;
815 total_len += outlen;
826 TEST_ASSERT(total_len == clear->len);