Lines Matching refs:mbedtls_chachapoly_context
63 static int chachapoly_pad_aad( mbedtls_chachapoly_context *ctx ) in chachapoly_pad_aad()
83 static int chachapoly_pad_ciphertext( mbedtls_chachapoly_context *ctx ) in chachapoly_pad_ciphertext()
97 void mbedtls_chachapoly_init( mbedtls_chachapoly_context *ctx ) in mbedtls_chachapoly_init()
109 void mbedtls_chachapoly_free( mbedtls_chachapoly_context *ctx ) in mbedtls_chachapoly_free()
122 int mbedtls_chachapoly_setkey( mbedtls_chachapoly_context *ctx, in mbedtls_chachapoly_setkey()
134 int mbedtls_chachapoly_starts( mbedtls_chachapoly_context *ctx, in mbedtls_chachapoly_starts()
174 int mbedtls_chachapoly_update_aad( mbedtls_chachapoly_context *ctx, in mbedtls_chachapoly_update_aad()
189 int mbedtls_chachapoly_update( mbedtls_chachapoly_context *ctx, in mbedtls_chachapoly_update()
240 int mbedtls_chachapoly_finish( mbedtls_chachapoly_context *ctx, in mbedtls_chachapoly_finish()
297 static int chachapoly_crypt_and_tag( mbedtls_chachapoly_context *ctx, in chachapoly_crypt_and_tag()
327 int mbedtls_chachapoly_encrypt_and_tag( mbedtls_chachapoly_context *ctx, in mbedtls_chachapoly_encrypt_and_tag()
348 int mbedtls_chachapoly_auth_decrypt( mbedtls_chachapoly_context *ctx, in mbedtls_chachapoly_auth_decrypt()
493 mbedtls_chachapoly_context ctx; in mbedtls_chachapoly_self_test()