Home
last modified time | relevance | path

Searched refs:mbedtls_gcm_update_ad (Results 1 – 7 of 7) sorted by relevance

/mbedtls-latest/tests/suites/
Dtest_suite_gcm.function30 TEST_EQUAL(0, mbedtls_gcm_update_ad(ctx, add->x, n1_add));
31 TEST_EQUAL(0, mbedtls_gcm_update_ad(ctx, add->x + n1_add, n2_add));
84 TEST_EQUAL(0, mbedtls_gcm_update_ad(ctx, NULL, 0));
119 TEST_EQUAL(0, mbedtls_gcm_update_ad(ctx, add->x, add->len));
541 TEST_EQUAL(mbedtls_gcm_update_ad(&ctx, b16, len_max),
547 TEST_EQUAL(mbedtls_gcm_update_ad(&ctx, b16, 1), 0);
548 TEST_EQUAL(mbedtls_gcm_update_ad(&ctx, b16, len_max - 1),
554 TEST_EQUAL(mbedtls_gcm_update_ad(&ctx, b16, 1), 0);
555 TEST_EQUAL(mbedtls_gcm_update_ad(&ctx, b16, UINT64_MAX), MBEDTLS_ERR_GCM_BAD_INPUT);
/mbedtls-latest/library/
Dgcm.c467 int mbedtls_gcm_update_ad(mbedtls_gcm_context *ctx, in mbedtls_gcm_update_ad() function
722 if ((ret = mbedtls_gcm_update_ad(ctx, add, add_len)) != 0) { in mbedtls_gcm_crypt_and_tag()
1168 ret = mbedtls_gcm_update_ad(&ctx, in mbedtls_gcm_self_test()
1249 ret = mbedtls_gcm_update_ad(&ctx, in mbedtls_gcm_self_test()
Dpsa_crypto_aead.c454 mbedtls_gcm_update_ad(&operation->ctx.gcm, input, input_length)); in mbedtls_psa_aead_update_ad()
Dcipher.c549 return mbedtls_gcm_update_ad((mbedtls_gcm_context *) ctx->cipher_ctx, in mbedtls_cipher_update_ad()
/mbedtls-latest/include/mbedtls/
Dgcm.h260 int mbedtls_gcm_update_ad(mbedtls_gcm_context *ctx,
/mbedtls-latest/docs/
D3.0-migration-guide.md238 …now only sets the mode and the nonce (IV). Call the new function `mbedtls_gcm_update_ad()` to pass…
248 …s()` now only sets the mode and the nonce (IV). The new function `mbedtls_gcm_update_ad()` receive…
/mbedtls-latest/
DChangeLog1713 new function mbedtls_gcm_update_ad().
1931 multiple calls to mbedtls_gcm_update_ad().