Searched refs:poly1305_ctx (Results 1 – 2 of 2) sorted by relevance
/AliOS-Things-master/components/mbedtls/library/ |
A D | chachapoly.c | 73 return( mbedtls_poly1305_update( &ctx->poly1305_ctx, in chachapoly_pad_aad() 92 return( mbedtls_poly1305_update( &ctx->poly1305_ctx, in chachapoly_pad_ciphertext() 102 mbedtls_poly1305_init( &ctx->poly1305_ctx ); in mbedtls_chachapoly_init() 115 mbedtls_poly1305_free( &ctx->poly1305_ctx ); in mbedtls_chachapoly_free() 159 ret = mbedtls_poly1305_starts( &ctx->poly1305_ctx, poly1305_key ); in mbedtls_chachapoly_starts() 186 return( mbedtls_poly1305_update( &ctx->poly1305_ctx, aad, aad_len ) ); in mbedtls_chachapoly_update_aad() 222 ret = mbedtls_poly1305_update( &ctx->poly1305_ctx, output, len ); in mbedtls_chachapoly_update() 228 ret = mbedtls_poly1305_update( &ctx->poly1305_ctx, input, len ); in mbedtls_chachapoly_update() 288 ret = mbedtls_poly1305_update( &ctx->poly1305_ctx, len_block, 16U ); in mbedtls_chachapoly_finish() 292 ret = mbedtls_poly1305_finish( &ctx->poly1305_ctx, mac ); in mbedtls_chachapoly_finish()
|
/AliOS-Things-master/components/mbedtls/include/mbedtls/ |
A D | chachapoly.h | 66 mbedtls_poly1305_context poly1305_ctx; /**< The Poly1305 context. */ member
|
Completed in 4 milliseconds