Home
last modified time | relevance | path

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

/mbedtls/include/mbedtls/
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 *ctx,
[all …]
/mbedtls/tests/suites/
A Dtest_suite_gcm.function186 mbedtls_gcm_context ctx;
215 mbedtls_gcm_context ctx;
263 mbedtls_gcm_context ctx;
322 mbedtls_gcm_context ctx;
346 mbedtls_gcm_context ctx;
367 mbedtls_gcm_context ctx;
389 mbedtls_gcm_context ctx;
414 mbedtls_gcm_context ctx;
436 mbedtls_gcm_context ctx;
453 mbedtls_gcm_context ctx;
[all …]
/mbedtls/library/
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()
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()
377 int mbedtls_gcm_starts(mbedtls_gcm_context *ctx, in mbedtls_gcm_starts()
467 int mbedtls_gcm_update_ad(mbedtls_gcm_context *ctx, in mbedtls_gcm_update_ad()
534 static int gcm_mask(mbedtls_gcm_context *ctx, in gcm_mask()
564 int mbedtls_gcm_update(mbedtls_gcm_context *ctx, in mbedtls_gcm_update()
650 int mbedtls_gcm_finish(mbedtls_gcm_context *ctx, in mbedtls_gcm_finish()
770 void mbedtls_gcm_free(mbedtls_gcm_context *ctx) in mbedtls_gcm_free()
[all …]
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()
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()
/mbedtls/tests/include/alt-dummy/
A Dgcm_alt.h10 typedef struct mbedtls_gcm_context { struct
13 mbedtls_gcm_context; argument
/mbedtls/include/psa/
A Dcrypto_builtin_composites.h93 mbedtls_gcm_context MBEDTLS_PRIVATE(gcm);
/mbedtls/programs/test/
A Dbenchmark.c826 mbedtls_gcm_context gcm; in main()

Completed in 17 milliseconds