Home
last modified time | relevance | path

Searched refs:mbedtls_gcm_update (Results 1 – 18 of 18) sorted by relevance

/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/suites/
H A Dtest_suite_gcm.function38 TEST_EQUAL(0, mbedtls_gcm_update(ctx, input->x, n1, output, n1, &olen));
46 TEST_EQUAL(0, mbedtls_gcm_update(ctx, input->x + n1, n2, output, n2, &olen));
92 TEST_EQUAL(0, mbedtls_gcm_update(ctx, input->x, input->len, output, input->len, &olen));
123 TEST_EQUAL(0, mbedtls_gcm_update(ctx, NULL, 0, NULL, 0, &olen));
487 mbedtls_gcm_update(&ctx, input->x, input->len, output, output_len, &olen));
582 TEST_EQUAL(mbedtls_gcm_update(&ctx, b16, len_max + 1, out, len_max + 1,
589 TEST_EQUAL(mbedtls_gcm_update(&ctx, b16, 1, out, 1, &out_len), 0);
590 TEST_EQUAL(mbedtls_gcm_update(&ctx, b16, len_max, out, len_max, &out_len),
596 TEST_EQUAL(mbedtls_gcm_update(&ctx, b16, 1, out, 1, &out_len), 0);
597 TEST_EQUAL(mbedtls_gcm_update(&ctx, b16, UINT64_MAX, out, UINT64_MAX,
/aosp_15_r20/external/mbedtls/library/
H A Dgcm.c409 int mbedtls_gcm_update(mbedtls_gcm_context *ctx, in mbedtls_gcm_update() function
568 if ((ret = mbedtls_gcm_update(ctx, input, length, in mbedtls_gcm_crypt_and_tag()
1015 ret = mbedtls_gcm_update(&ctx, in mbedtls_gcm_self_test()
1026 ret = mbedtls_gcm_update(&ctx, in mbedtls_gcm_self_test()
1037 ret = mbedtls_gcm_update(&ctx, in mbedtls_gcm_self_test()
1096 ret = mbedtls_gcm_update(&ctx, in mbedtls_gcm_self_test()
1106 ret = mbedtls_gcm_update(&ctx, in mbedtls_gcm_self_test()
1117 ret = mbedtls_gcm_update(&ctx, in mbedtls_gcm_self_test()
H A Dpsa_crypto_aead.c504 mbedtls_gcm_update(&operation->ctx.gcm, in mbedtls_psa_aead_update()
H A Dcipher.c606 return mbedtls_gcm_update((mbedtls_gcm_context *) ctx->cipher_ctx, in mbedtls_cipher_update()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/library/
H A Dgcm.c564 int mbedtls_gcm_update(mbedtls_gcm_context *ctx, in mbedtls_gcm_update() function
726 if ((ret = mbedtls_gcm_update(ctx, input, length, in mbedtls_gcm_crypt_and_tag()
1177 ret = mbedtls_gcm_update(&ctx, in mbedtls_gcm_self_test()
1188 ret = mbedtls_gcm_update(&ctx, in mbedtls_gcm_self_test()
1199 ret = mbedtls_gcm_update(&ctx, in mbedtls_gcm_self_test()
1258 ret = mbedtls_gcm_update(&ctx, in mbedtls_gcm_self_test()
1268 ret = mbedtls_gcm_update(&ctx, in mbedtls_gcm_self_test()
1279 ret = mbedtls_gcm_update(&ctx, in mbedtls_gcm_self_test()
H A Dpsa_crypto_aead.c500 mbedtls_gcm_update(&operation->ctx.gcm, in mbedtls_psa_aead_update()
H A Dcipher.c622 return mbedtls_gcm_update((mbedtls_gcm_context *) ctx->cipher_ctx, in mbedtls_cipher_update()
/aosp_15_r20/external/mbedtls/tests/suites/
H A Dtest_suite_gcm.function38 TEST_EQUAL(0, mbedtls_gcm_update(ctx, input->x, n1, output, n1, &olen));
46 TEST_EQUAL(0, mbedtls_gcm_update(ctx, input->x + n1, n2, output, n2, &olen));
92 TEST_EQUAL(0, mbedtls_gcm_update(ctx, input->x, input->len, output, input->len, &olen));
123 TEST_EQUAL(0, mbedtls_gcm_update(ctx, NULL, 0, NULL, 0, &olen));
453 mbedtls_gcm_update(&ctx, input->x, input->len, output, output_len, &olen));
/aosp_15_r20/external/trusty/arm-trusted-firmware/drivers/auth/mbedtls/
Dmbedtls_crypto.c337 rc = mbedtls_gcm_update(&ctx, dec_len, pt, buf); in aes_gcm_decrypt()
339 rc = mbedtls_gcm_update(&ctx, pt, dec_len, buf, sizeof(buf), &output_length); in aes_gcm_decrypt()
Dmbedtls_psa_crypto.c665 rc = mbedtls_gcm_update(&ctx, dec_len, pt, buf); in aes_gcm_decrypt()
667 rc = mbedtls_gcm_update(&ctx, pt, dec_len, buf, sizeof(buf), &output_length); in aes_gcm_decrypt()
/aosp_15_r20/external/libwebsockets/lib/tls/mbedtls/
H A Dlws-genaes.c426 n = mbedtls_gcm_update(&ctx->u.ctx_gcm, in, len, out, len, &al); in lws_genaes_crypt()
429 n = mbedtls_gcm_update(&ctx->u.ctx_gcm, len, in, out); in lws_genaes_crypt()
/aosp_15_r20/external/mbedtls/include/mbedtls/
H A Dgcm.h301 int mbedtls_gcm_update(mbedtls_gcm_context *ctx,
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/include/mbedtls/
H A Dgcm.h315 int mbedtls_gcm_update(mbedtls_gcm_context *ctx,
/aosp_15_r20/external/arm-trusted-firmware/drivers/auth/mbedtls/
H A Dmbedtls_crypto.c270 rc = mbedtls_gcm_update(&ctx, dec_len, pt, buf); in aes_gcm_decrypt()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/docs/
H A D3.0-migration-guide.md239 * `mbedtls_gcm_update()` now takes an extra parameter to indicate the actual output length. In Mbed…
241 … call to `mbedtls_gcm_finish()` instead of returning it in the last call to `mbedtls_gcm_update()`.
249 * `mbedtls_gcm_update()` now allows arbitrary-length inputs, takes an extra parameter to indicate t…
251 …ta for the last partial block, to be returned in the next call to `mbedtls_gcm_update()` or `mbedt…
/aosp_15_r20/external/mbedtls/docs/
H A D3.0-migration-guide.md239 * `mbedtls_gcm_update()` now takes an extra parameter to indicate the actual output length. In Mbed…
241 … call to `mbedtls_gcm_finish()` instead of returning it in the last call to `mbedtls_gcm_update()`.
249 * `mbedtls_gcm_update()` now allows arbitrary-length inputs, takes an extra parameter to indicate t…
251 …ta for the last partial block, to be returned in the next call to `mbedtls_gcm_update()` or `mbedt…
/aosp_15_r20/external/mbedtls/
H A DChangeLog1252 mbedtls_gcm_update() now takes extra parameters for the output length.
1254 call to mbedtls_gcm_update(), but alternative implementations activated
1256 mbedtls_gcm_update() or mbedtls_gcm_finish(). Furthermore, applications
1472 * The multi-part GCM interface (mbedtls_gcm_update() or
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/
H A DChangeLog1512 mbedtls_gcm_update() now takes extra parameters for the output length.
1514 call to mbedtls_gcm_update(), but alternative implementations activated
1516 mbedtls_gcm_update() or mbedtls_gcm_finish(). Furthermore, applications
1732 * The multi-part GCM interface (mbedtls_gcm_update() or