Lines Matching refs:mbedtls_gcm_context
53 void mbedtls_gcm_init(mbedtls_gcm_context *ctx)
55 memset(ctx, 0, sizeof(mbedtls_gcm_context));
58 static inline void gcm_set_acceleration(mbedtls_gcm_context *ctx)
99 static int gcm_gen_table(mbedtls_gcm_context *ctx)
162 int mbedtls_gcm_setkey(mbedtls_gcm_context *ctx,
347 static void gcm_mult(mbedtls_gcm_context *ctx, const unsigned char x[16],
377 int mbedtls_gcm_starts(mbedtls_gcm_context *ctx,
451 * mbedtls_gcm_context::buf contains the partial state of the computation of
453 * mbedtls_gcm_context::add_len and mbedtls_gcm_context::len indicate
467 int mbedtls_gcm_update_ad(mbedtls_gcm_context *ctx,
534 static int gcm_mask(mbedtls_gcm_context *ctx,
564 int mbedtls_gcm_update(mbedtls_gcm_context *ctx,
650 int mbedtls_gcm_finish(mbedtls_gcm_context *ctx,
703 int mbedtls_gcm_crypt_and_tag(mbedtls_gcm_context *ctx,
738 int mbedtls_gcm_auth_decrypt(mbedtls_gcm_context *ctx,
770 void mbedtls_gcm_free(mbedtls_gcm_context *ctx)
780 mbedtls_platform_zeroize(ctx, sizeof(mbedtls_gcm_context));
1019 mbedtls_gcm_context ctx;