Home
last modified time | relevance | path

Searched refs:plaintext_len (Results 1 – 3 of 3) sorted by relevance

/mbedtls-3.6.0/library/
Dccm.c149 ctx->plaintext_len = 0; in ccm_calculate_first_block_if_ready()
171 for (i = 0, len_left = ctx->plaintext_len; i < ctx->q; i++, len_left >>= 8) { in ccm_calculate_first_block_if_ready()
229 size_t plaintext_len, in mbedtls_ccm_set_lengths() argument
247 ctx->plaintext_len = plaintext_len; in mbedtls_ccm_set_lengths()
336 if (ctx->tag_len != 0 && ctx->processed + input_len > ctx->plaintext_len) { in mbedtls_ccm_update()
362 if (use_len + offset == 16 || ctx->processed == ctx->plaintext_len) { in mbedtls_ccm_update()
393 if (use_len + offset == 16 || ctx->processed == ctx->plaintext_len) { in mbedtls_ccm_update()
402 if (use_len + offset == 16 || ctx->processed == ctx->plaintext_len) { in mbedtls_ccm_update()
435 if (ctx->plaintext_len > 0 && ctx->processed != ctx->plaintext_len) { in mbedtls_ccm_finish()
/mbedtls-3.6.0/include/mbedtls/
Dccm.h68 size_t MBEDTLS_PRIVATE(plaintext_len); /*!< Total plaintext length */
365 size_t plaintext_len,
/mbedtls-3.6.0/tests/suites/
Dtest_suite_ssl_decrypt.function148 size_t plaintext_len, block_size, i;
171 plaintext_len = 0;
186 plaintext_len = block_size - (padlen + t0.maclen + 1) % block_size;
191 + plaintext_len
210 rec.data_len = plaintext_len;