Home
last modified time | relevance | path

Searched refs:mbedtls_cipher_update (Results 1 – 13 of 13) sorted by relevance

/mbedtls/tests/suites/
A Dtest_suite_cipher.function255 /* mbedtls_cipher_update() */
257 mbedtls_cipher_update(&invalid_ctx,
356 TEST_ASSERT(mbedtls_cipher_update(&ctx, input, 1, output, &olen)
453 TEST_ASSERT(0 == mbedtls_cipher_update(&ctx_enc, inbuf, length, encbuf, &outlen));
550 TEST_ASSERT(0 == mbedtls_cipher_update(&ctx, inbuf, length, encbuf, &outlen));
625 mbedtls_cipher_update(&ctx_dec, encbuf, 0, decbuf, &outlen));
732 TEST_ASSERT(0 == mbedtls_cipher_update(&ctx_enc, inbuf, first_length, encbuf, &outlen));
736 mbedtls_cipher_update(&ctx_enc, inbuf + first_length, second_length,
759 mbedtls_cipher_update(&ctx_dec, encbuf + first_length, second_length,
825 TEST_ASSERT(0 == mbedtls_cipher_update(&ctx, cipher->x, cipher->len, output, &outlen));
[all …]
/mbedtls/library/
A Dccm.c135 ret = mbedtls_cipher_update(&ctx->cipher_ctx, ctx->ctr, 16, tmp_buf, &olen); in mbedtls_ccm_crypt()
212 ret = mbedtls_cipher_update(&ctx->cipher_ctx, ctx->y, 16, ctx->y, &olen); in ccm_calculate_first_block_if_ready()
340 ret = mbedtls_cipher_update(&ctx->cipher_ctx, ctx->y, 16, ctx->y, &olen); in mbedtls_ccm_update_ad()
409 ret = mbedtls_cipher_update(&ctx->cipher_ctx, ctx->y, 16, ctx->y, &olen); in mbedtls_ccm_update()
444 ret = mbedtls_cipher_update(&ctx->cipher_ctx, ctx->y, 16, ctx->y, &olen); in mbedtls_ccm_update()
A Dnist_kw.c196 ret = mbedtls_cipher_update(&ctx->cipher_ctx, in mbedtls_nist_kw_wrap()
218 ret = mbedtls_cipher_update(&ctx->cipher_ctx, in mbedtls_nist_kw_wrap()
285 ret = mbedtls_cipher_update(&ctx->cipher_ctx, in unwrap()
378 ret = mbedtls_cipher_update(&ctx->cipher_ctx, in mbedtls_nist_kw_unwrap()
A Dcmac.c108 if ((ret = mbedtls_cipher_update(ctx, L, block_size, L, &olen)) != 0) { in cmac_generate_subkeys()
229 if ((ret = mbedtls_cipher_update(ctx, state, block_size, state, in mbedtls_cipher_cmac_update()
247 if ((ret = mbedtls_cipher_update(ctx, state, block_size, state, in mbedtls_cipher_cmac_update()
306 if ((ret = mbedtls_cipher_update(ctx, state, block_size, state, in mbedtls_cipher_cmac_finish()
A Dpsa_crypto_cipher.c452 mbedtls_cipher_update(ctx, in psa_cipher_update_ecb()
470 mbedtls_cipher_update(ctx, input, in psa_cipher_update_ecb()
541 mbedtls_cipher_update(&operation->ctx.cipher, input, in mbedtls_psa_cipher_update()
A Dgcm.c109 ret = mbedtls_cipher_update(&ctx->cipher_ctx, h, 16, h, &olen); in gcm_gen_table()
441 ret = mbedtls_cipher_update(&ctx->cipher_ctx, ctx->y, 16, ctx->base_ectr, &olen); in mbedtls_gcm_starts()
546 ret = mbedtls_cipher_update(&ctx->cipher_ctx, ctx->y, 16, ectr, &olen); in gcm_mask()
A Dcipher.c579 int mbedtls_cipher_update(mbedtls_cipher_context_t *ctx, const unsigned char *input, in mbedtls_cipher_update() function
1382 if ((ret = mbedtls_cipher_update(ctx, input, ilen, in mbedtls_cipher_crypt()
/mbedtls/programs/cipher/
A Dcipher_aead_demo.c191 CHK(mbedtls_cipher_update(ctx, part1, part1_len, p, &olen)); in aead_encrypt()
193 CHK(mbedtls_cipher_update(ctx, part2, part2_len, p, &olen)); in aead_encrypt()
/mbedtls/programs/aes/
A Dcrypt_and_hash.c339 if (mbedtls_cipher_update(&cipher_ctx, buffer, ilen, output, &olen) != 0) { in main()
498 if (mbedtls_cipher_update(&cipher_ctx, buffer, ilen, output, in main()
/mbedtls/include/mbedtls/
A Dcipher.h956 int mbedtls_cipher_update(mbedtls_cipher_context_t *ctx,
/mbedtls/docs/
A D3.0-migration-guide.md411 the last call to `mbedtls_cipher_update()` — that is, without calling
A Dpsa-transition.md366 …mbedtls_cipher_crypt`. To pass the input in multiple parts, call `mbedtls_cipher_update` as many t…
392 5. Call `mbedtls_cipher_update` as many times as necessary to pass the input plaintext or ciphertex…
/mbedtls/
A DChangeLog1733 mbedtls_cipher_update()) no longer requires the size of partial inputs to
3445 stated in the mbedtls_cipher_update() documentation. Contributed by
4005 * Fixed potential arithmetic overflows in mbedtls_cipher_update() that could

Completed in 111 milliseconds