Home
last modified time | relevance | path

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

/mbedtls-3.4.0/library/
Dccm.c160 ctx->plaintext_len = 0; in ccm_calculate_first_block_if_ready()
184 for( i = 0, len_left = ctx->plaintext_len; i < ctx->q; i++, len_left >>= 8 ) in ccm_calculate_first_block_if_ready()
242 size_t plaintext_len, in mbedtls_ccm_set_lengths() argument
258 ctx->plaintext_len = plaintext_len; in mbedtls_ccm_set_lengths()
359 if( ctx->tag_len != 0 && ctx->processed + input_len > ctx->plaintext_len ) in mbedtls_ccm_update()
387 if( use_len + offset == 16 || ctx->processed == ctx->plaintext_len ) in mbedtls_ccm_update()
420 if( use_len + offset == 16 || ctx->processed == ctx->plaintext_len ) in mbedtls_ccm_update()
430 if( use_len + offset == 16 || ctx->processed == ctx->plaintext_len ) in mbedtls_ccm_update()
464 if( ctx->plaintext_len > 0 && ctx->processed != ctx->plaintext_len ) in mbedtls_ccm_finish()
/mbedtls-3.4.0/include/mbedtls/
Dccm.h82 size_t MBEDTLS_PRIVATE(plaintext_len); /*!< Total plaintext length */
379 size_t plaintext_len,
/mbedtls-3.4.0/tests/suites/
Dtest_suite_ssl.function4035 size_t plaintext_len, block_size, i;
4068 plaintext_len = 0;
4084 plaintext_len = block_size - ( padlen + t0.maclen + 1 ) % block_size;
4089 + plaintext_len
4108 rec.data_len = plaintext_len;