Searched refs:plaintext_len (Results 1 – 3 of 3) sorted by relevance
149 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() argument247 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()
68 size_t MBEDTLS_PRIVATE(plaintext_len); /*!< Total plaintext length */365 size_t plaintext_len,
148 size_t plaintext_len, block_size, i;171 plaintext_len = 0;186 plaintext_len = block_size - (padlen + t0.maclen + 1) % block_size;191 + plaintext_len210 rec.data_len = plaintext_len;