Lines Matching refs:mbedtls_gcm_context
64 void mbedtls_gcm_init( mbedtls_gcm_context *ctx ) in mbedtls_gcm_init()
67 memset( ctx, 0, sizeof( mbedtls_gcm_context ) ); in mbedtls_gcm_init()
78 static int gcm_gen_table( mbedtls_gcm_context *ctx ) in gcm_gen_table()
138 int mbedtls_gcm_setkey( mbedtls_gcm_context *ctx, in mbedtls_gcm_setkey()
192 static void gcm_mult( mbedtls_gcm_context *ctx, const unsigned char x[16], in gcm_mult()
248 int mbedtls_gcm_starts( mbedtls_gcm_context *ctx, in mbedtls_gcm_starts()
331 int mbedtls_gcm_update_ad( mbedtls_gcm_context *ctx, in mbedtls_gcm_update_ad()
396 static int gcm_mask( mbedtls_gcm_context *ctx, in gcm_mask()
424 int mbedtls_gcm_update( mbedtls_gcm_context *ctx, in mbedtls_gcm_update()
512 int mbedtls_gcm_finish( mbedtls_gcm_context *ctx, in mbedtls_gcm_finish()
568 int mbedtls_gcm_crypt_and_tag( mbedtls_gcm_context *ctx, in mbedtls_gcm_crypt_and_tag()
606 int mbedtls_gcm_auth_decrypt( mbedtls_gcm_context *ctx, in mbedtls_gcm_auth_decrypt()
649 void mbedtls_gcm_free( mbedtls_gcm_context *ctx ) in mbedtls_gcm_free()
654 mbedtls_platform_zeroize( ctx, sizeof( mbedtls_gcm_context ) ); in mbedtls_gcm_free()
889 mbedtls_gcm_context ctx; in mbedtls_gcm_self_test()