Home
last modified time | relevance | path

Searched refs:mbedtls_gcm_context (Results 1 - 8 of 8) sorted by relevance

/third_party/mbedtls/include/mbedtls/
H A Dgcm.h58 typedef struct mbedtls_gcm_context { struct
75 mbedtls_gcm_context; typedef
92 void mbedtls_gcm_init(mbedtls_gcm_context *ctx);
110 int mbedtls_gcm_setkey(mbedtls_gcm_context *ctx,
166 int mbedtls_gcm_crypt_and_tag(mbedtls_gcm_context *ctx,
211 int mbedtls_gcm_auth_decrypt(mbedtls_gcm_context *ctx,
235 int mbedtls_gcm_starts(mbedtls_gcm_context *ctx,
260 int mbedtls_gcm_update_ad(mbedtls_gcm_context *ctx,
315 int mbedtls_gcm_update(mbedtls_gcm_context *ctx,
353 int mbedtls_gcm_finish(mbedtls_gcm_context *ct
[all...]
/third_party/mbedtls/tests/include/alt-dummy/
H A Dgcm_alt.h22 typedef struct mbedtls_gcm_context { struct
25 mbedtls_gcm_context; typedef
/third_party/mbedtls/library/
H A Dgcm.c53 void mbedtls_gcm_init(mbedtls_gcm_context *ctx) in mbedtls_gcm_init()
55 memset(ctx, 0, sizeof(mbedtls_gcm_context)); in mbedtls_gcm_init()
58 static inline void gcm_set_acceleration(mbedtls_gcm_context *ctx) in gcm_set_acceleration()
99 static int gcm_gen_table(mbedtls_gcm_context *ctx) in gcm_gen_table()
162 int mbedtls_gcm_setkey(mbedtls_gcm_context *ctx, in mbedtls_gcm_setkey()
347 static void gcm_mult(mbedtls_gcm_context *ctx, const unsigned char x[16], in gcm_mult()
377 int mbedtls_gcm_starts(mbedtls_gcm_context *ctx, in mbedtls_gcm_starts()
451 * mbedtls_gcm_context::buf contains the partial state of the computation of
453 * mbedtls_gcm_context::add_len and mbedtls_gcm_context
[all...]
H A Dcipher_wrap.c123 void *ctx = mbedtls_calloc(1, sizeof(mbedtls_gcm_context)); in gcm_ctx_alloc()
126 mbedtls_gcm_init((mbedtls_gcm_context *) ctx); in gcm_ctx_alloc()
573 return mbedtls_gcm_setkey((mbedtls_gcm_context *) ctx, MBEDTLS_CIPHER_ID_AES, in gcm_aes_setkey_wrap()
1019 return mbedtls_gcm_setkey((mbedtls_gcm_context *) ctx, MBEDTLS_CIPHER_ID_CAMELLIA, in gcm_camellia_setkey_wrap()
1437 return mbedtls_gcm_setkey((mbedtls_gcm_context *) ctx, MBEDTLS_CIPHER_ID_ARIA, in gcm_aria_setkey_wrap()
H A Dcipher.c471 return mbedtls_gcm_starts((mbedtls_gcm_context *) ctx->cipher_ctx, in mbedtls_cipher_set_iv()
549 return mbedtls_gcm_update_ad((mbedtls_gcm_context *) ctx->cipher_ctx, in mbedtls_cipher_update_ad()
622 return mbedtls_gcm_update((mbedtls_gcm_context *) ctx->cipher_ctx, in mbedtls_cipher_update()
1204 return mbedtls_gcm_finish((mbedtls_gcm_context *) ctx->cipher_ctx, in mbedtls_cipher_write_tag()
1262 (mbedtls_gcm_context *) ctx->cipher_ctx, in mbedtls_cipher_check_tag()
/third_party/libwebsockets/include/libwebsockets/
H A Dlws-genaes.h75 mbedtls_gcm_context ctx_gcm;
/third_party/mbedtls/include/psa/
H A Dcrypto_builtin_composites.h93 mbedtls_gcm_context MBEDTLS_PRIVATE(gcm);
/third_party/mbedtls/programs/test/
H A Dbenchmark.c826 mbedtls_gcm_context gcm; in main()

Completed in 9 milliseconds