Lines Matching refs:mbedtls_chachapoly_context
58 static int chachapoly_pad_aad( mbedtls_chachapoly_context *ctx ) in chachapoly_pad_aad()
78 static int chachapoly_pad_ciphertext( mbedtls_chachapoly_context *ctx ) in chachapoly_pad_ciphertext()
92 void mbedtls_chachapoly_init( mbedtls_chachapoly_context *ctx ) in mbedtls_chachapoly_init()
104 void mbedtls_chachapoly_free( mbedtls_chachapoly_context *ctx ) in mbedtls_chachapoly_free()
117 int mbedtls_chachapoly_setkey( mbedtls_chachapoly_context *ctx, in mbedtls_chachapoly_setkey()
129 int mbedtls_chachapoly_starts( mbedtls_chachapoly_context *ctx, in mbedtls_chachapoly_starts()
169 int mbedtls_chachapoly_update_aad( mbedtls_chachapoly_context *ctx, in mbedtls_chachapoly_update_aad()
184 int mbedtls_chachapoly_update( mbedtls_chachapoly_context *ctx, in mbedtls_chachapoly_update()
235 int mbedtls_chachapoly_finish( mbedtls_chachapoly_context *ctx, in mbedtls_chachapoly_finish()
278 static int chachapoly_crypt_and_tag( mbedtls_chachapoly_context *ctx, in chachapoly_crypt_and_tag()
308 int mbedtls_chachapoly_encrypt_and_tag( mbedtls_chachapoly_context *ctx, in mbedtls_chachapoly_encrypt_and_tag()
329 int mbedtls_chachapoly_auth_decrypt( mbedtls_chachapoly_context *ctx, in mbedtls_chachapoly_auth_decrypt()
477 mbedtls_chachapoly_context ctx; in mbedtls_chachapoly_self_test()