Home
last modified time | relevance | path

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

/mbedtls-latest/include/mbedtls/
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-latest/tests/suites/
Dtest_suite_gcm.function7 static int check_multipart(mbedtls_gcm_context *ctx,
65 static void check_cipher_with_empty_ad(mbedtls_gcm_context *ctx,
107 static void check_empty_cipher_with_ad(mbedtls_gcm_context *ctx,
137 static void check_no_cipher_no_ad(mbedtls_gcm_context *ctx,
156 static void gcm_reset_ctx(mbedtls_gcm_context *ctx, const uint8_t *key,
186 mbedtls_gcm_context ctx;
215 mbedtls_gcm_context ctx;
263 mbedtls_gcm_context ctx;
322 mbedtls_gcm_context ctx;
346 mbedtls_gcm_context ctx;
[all …]
/mbedtls-latest/library/
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()
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()
[all …]
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()
1207 return mbedtls_gcm_finish((mbedtls_gcm_context *) ctx->cipher_ctx, in mbedtls_cipher_write_tag()
1265 (mbedtls_gcm_context *) ctx->cipher_ctx, in mbedtls_cipher_check_tag()
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-latest/tests/include/alt-dummy/
Dgcm_alt.h10 typedef struct mbedtls_gcm_context { struct
13 mbedtls_gcm_context; argument
/mbedtls-latest/include/psa/
Dcrypto_builtin_composites.h93 mbedtls_gcm_context MBEDTLS_PRIVATE(gcm);
/mbedtls-latest/programs/test/
Dbenchmark.c826 mbedtls_gcm_context gcm; in main()