Home
last modified time | relevance | path

Searched refs:aad (Results 1 – 3 of 3) sorted by relevance

/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_chachapoly.function84 unsigned char aad[1];
89 size_t aad_len = sizeof(aad);
94 memset(aad, 0x00, sizeof(aad));
106 TEST_ASSERT(mbedtls_chachapoly_update_aad(&ctx, aad, aad_len)
117 TEST_ASSERT(mbedtls_chachapoly_update_aad(&ctx, aad, aad_len)
129 TEST_ASSERT(mbedtls_chachapoly_update_aad(&ctx, aad, aad_len)
141 TEST_ASSERT(mbedtls_chachapoly_update_aad(&ctx, aad, aad_len)
147 TEST_ASSERT(mbedtls_chachapoly_update_aad(&ctx, aad, aad_len)
149 TEST_ASSERT(mbedtls_chachapoly_update_aad(&ctx, aad, aad_len)
/openthread-latest/third_party/mbedtls/repo/library/
Dchachapoly.c144 const unsigned char *aad, in mbedtls_chachapoly_update_aad() argument
153 return mbedtls_poly1305_update(&ctx->poly1305_ctx, aad, aad_len); in mbedtls_chachapoly_update_aad()
248 const unsigned char *aad, in chachapoly_crypt_and_tag() argument
261 ret = mbedtls_chachapoly_update_aad(ctx, aad, aad_len); in chachapoly_crypt_and_tag()
280 const unsigned char *aad, in mbedtls_chachapoly_encrypt_and_tag() argument
287 length, nonce, aad, aad_len, in mbedtls_chachapoly_encrypt_and_tag()
294 const unsigned char *aad, in mbedtls_chachapoly_auth_decrypt() argument
306 aad, aad_len, input, output, check_tag)) != 0) { in mbedtls_chachapoly_auth_decrypt()
/openthread-latest/third_party/mbedtls/repo/include/mbedtls/
Dchachapoly.h198 const unsigned char *aad,
288 const unsigned char *aad,
322 const unsigned char *aad,