Searched refs:aad_len (Results 1 – 3 of 3) sorted by relevance
/openthread-latest/third_party/mbedtls/repo/library/ |
D | chachapoly.c | 36 uint32_t partial_block_len = (uint32_t) (ctx->aad_len % 16U); in chachapoly_pad_aad() 74 ctx->aad_len = 0U; in mbedtls_chachapoly_init() 88 ctx->aad_len = 0U; in mbedtls_chachapoly_free() 132 ctx->aad_len = 0U; in mbedtls_chachapoly_starts() 145 size_t aad_len) in mbedtls_chachapoly_update_aad() argument 151 ctx->aad_len += aad_len; in mbedtls_chachapoly_update_aad() 153 return mbedtls_poly1305_update(&ctx->poly1305_ctx, aad, aad_len); in mbedtls_chachapoly_update_aad() 231 MBEDTLS_PUT_UINT64_LE(ctx->aad_len, len_block, 0); in mbedtls_chachapoly_finish() 249 size_t aad_len, in chachapoly_crypt_and_tag() argument 261 ret = mbedtls_chachapoly_update_aad(ctx, aad, aad_len); in chachapoly_crypt_and_tag() [all …]
|
/openthread-latest/third_party/mbedtls/repo/include/mbedtls/ |
D | chachapoly.h | 51 …uint64_t MBEDTLS_PRIVATE(aad_len); /**< The length (bytes) of the Additional… 199 size_t aad_len); 289 size_t aad_len, 323 size_t aad_len,
|
/openthread-latest/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_chachapoly.function | 89 size_t aad_len = 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)
|