Home
last modified time | relevance | path

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

/aosp_15_r20/external/mbedtls/tests/suites/
H A Dtest_suite_gcm.function53 TEST_EQUAL(0, mbedtls_gcm_finish(ctx, NULL, 0, &olen, output, tag->len));
99 TEST_EQUAL(0, mbedtls_gcm_finish(ctx, NULL, 0, &olen, output, tag->len));
128 TEST_EQUAL(0, mbedtls_gcm_finish(ctx, NULL, 0, &olen,
148 TEST_EQUAL(0, mbedtls_gcm_finish(ctx, NULL, 0, &olen, output, tag->len));
/aosp_15_r20/external/mbedtls/library/
H A Dgcm.c495 int mbedtls_gcm_finish(mbedtls_gcm_context *ctx, in mbedtls_gcm_finish() function
573 if ((ret = mbedtls_gcm_finish(ctx, NULL, 0, &olen, tag, tag_len)) != 0) { in mbedtls_gcm_crypt_and_tag()
1049 ret = mbedtls_gcm_finish(&ctx, NULL, 0, &olen, tag_buf, 16); in mbedtls_gcm_self_test()
1129 ret = mbedtls_gcm_finish(&ctx, NULL, 0, &olen, tag_buf, 16); in mbedtls_gcm_self_test()
H A Dcipher.c1188 return mbedtls_gcm_finish((mbedtls_gcm_context *) ctx->cipher_ctx, in mbedtls_cipher_write_tag()
1245 if (0 != (ret = mbedtls_gcm_finish( in mbedtls_cipher_check_tag()
H A Dpsa_crypto_aead.c572 mbedtls_gcm_finish(&operation->ctx.gcm, in mbedtls_psa_aead_finish()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/library/
H A Dgcm.c650 int mbedtls_gcm_finish(mbedtls_gcm_context *ctx, in mbedtls_gcm_finish() function
731 if ((ret = mbedtls_gcm_finish(ctx, NULL, 0, &olen, tag, tag_len)) != 0) { in mbedtls_gcm_crypt_and_tag()
1211 ret = mbedtls_gcm_finish(&ctx, NULL, 0, &olen, tag_buf, 16); in mbedtls_gcm_self_test()
1291 ret = mbedtls_gcm_finish(&ctx, NULL, 0, &olen, tag_buf, 16); in mbedtls_gcm_self_test()
H A Dcipher.c1204 return mbedtls_gcm_finish((mbedtls_gcm_context *) ctx->cipher_ctx, in mbedtls_cipher_write_tag()
1261 if (0 != (ret = mbedtls_gcm_finish( in mbedtls_cipher_check_tag()
H A Dpsa_crypto_aead.c568 mbedtls_gcm_finish(&operation->ctx.gcm, in mbedtls_psa_aead_finish()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/suites/
H A Dtest_suite_gcm.function53 TEST_EQUAL(0, mbedtls_gcm_finish(ctx, NULL, 0, &olen, output, tag->len));
99 TEST_EQUAL(0, mbedtls_gcm_finish(ctx, NULL, 0, &olen, output, tag->len));
128 TEST_EQUAL(0, mbedtls_gcm_finish(ctx, NULL, 0, &olen,
148 TEST_EQUAL(0, mbedtls_gcm_finish(ctx, NULL, 0, &olen, output, tag->len));
/aosp_15_r20/external/trusty/arm-trusted-firmware/drivers/auth/mbedtls/
Dmbedtls_crypto.c353 rc = mbedtls_gcm_finish(&ctx, tag_buf, sizeof(tag_buf)); in aes_gcm_decrypt()
355 rc = mbedtls_gcm_finish(&ctx, NULL, 0, &output_length, tag_buf, sizeof(tag_buf)); in aes_gcm_decrypt()
Dmbedtls_psa_crypto.c681 rc = mbedtls_gcm_finish(&ctx, tag_buf, sizeof(tag_buf)); in aes_gcm_decrypt()
683 rc = mbedtls_gcm_finish(&ctx, NULL, 0, &output_length, tag_buf, sizeof(tag_buf)); in aes_gcm_decrypt()
/aosp_15_r20/external/libwebsockets/lib/tls/mbedtls/
H A Dlws-genaes.c142 n = mbedtls_gcm_finish(&ctx->u.ctx_gcm, last, sizeof(last), in lws_genaes_destroy()
145 n = mbedtls_gcm_finish(&ctx->u.ctx_gcm, tag, tlen); in lws_genaes_destroy()
/aosp_15_r20/external/mbedtls/include/mbedtls/
H A Dgcm.h339 int mbedtls_gcm_finish(mbedtls_gcm_context *ctx,
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/include/mbedtls/
H A Dgcm.h353 int mbedtls_gcm_finish(mbedtls_gcm_context *ctx,
/aosp_15_r20/external/arm-trusted-firmware/drivers/auth/mbedtls/
H A Dmbedtls_crypto.c281 rc = mbedtls_gcm_finish(&ctx, tag_buf, sizeof(tag_buf)); in aes_gcm_decrypt()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/docs/
H A D3.0-migration-guide.md241 … implementations may return the last partial block in the call to `mbedtls_gcm_finish()` instead o…
242 * `mbedtls_gcm_finish()` now takes an extra output buffer for the last partial block. This is neede…
251 …partial block, to be returned in the next call to `mbedtls_gcm_update()` or `mbedtls_gcm_finish()`.
252 * `mbedtls_gcm_finish()` now takes an extra output buffer for the last partial block if needed.
/aosp_15_r20/external/mbedtls/docs/
H A D3.0-migration-guide.md241 … implementations may return the last partial block in the call to `mbedtls_gcm_finish()` instead o…
242 * `mbedtls_gcm_finish()` now takes an extra output buffer for the last partial block. This is neede…
251 …partial block, to be returned in the next call to `mbedtls_gcm_update()` or `mbedtls_gcm_finish()`.
252 * `mbedtls_gcm_finish()` now takes an extra output buffer for the last partial block if needed.
/aosp_15_r20/external/mbedtls/
H A DChangeLog1250 how the input to multipart operations is broken down. mbedtls_gcm_finish()
1256 mbedtls_gcm_update() or mbedtls_gcm_finish(). Furthermore, applications
3828 mbedtls_gcm_finish(). Found by cmiatpaar. #602
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/
H A DChangeLog1510 how the input to multipart operations is broken down. mbedtls_gcm_finish()
1516 mbedtls_gcm_update() or mbedtls_gcm_finish(). Furthermore, applications
4088 mbedtls_gcm_finish(). Found by cmiatpaar. #602