Home
last modified time | relevance | path

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

/aosp_15_r20/external/mbedtls/include/mbedtls/
H A Dgcm.h48 typedef struct mbedtls_gcm_context { struct
61 mbedtls_gcm_context; typedef
78 void mbedtls_gcm_init(mbedtls_gcm_context *ctx);
96 int mbedtls_gcm_setkey(mbedtls_gcm_context *ctx,
152 int mbedtls_gcm_crypt_and_tag(mbedtls_gcm_context *ctx,
197 int mbedtls_gcm_auth_decrypt(mbedtls_gcm_context *ctx,
221 int mbedtls_gcm_starts(mbedtls_gcm_context *ctx,
246 int mbedtls_gcm_update_ad(mbedtls_gcm_context *ctx,
301 int mbedtls_gcm_update(mbedtls_gcm_context *ctx,
339 int mbedtls_gcm_finish(mbedtls_gcm_context *ctx,
[all …]
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/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 *ctx,
[all …]
/aosp_15_r20/external/mbedtls/tests/suites/
H A 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,
171 mbedtls_gcm_context ctx;
198 mbedtls_gcm_context ctx;
244 mbedtls_gcm_context ctx;
301 mbedtls_gcm_context ctx;
323 mbedtls_gcm_context ctx;
342 mbedtls_gcm_context ctx;
[all …]
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/suites/
H A 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 …]
/aosp_15_r20/external/mbedtls/library/
H A Dgcm.c43 void mbedtls_gcm_init(mbedtls_gcm_context *ctx) in mbedtls_gcm_init()
45 memset(ctx, 0, sizeof(mbedtls_gcm_context)); in mbedtls_gcm_init()
56 static int gcm_gen_table(mbedtls_gcm_context *ctx) in gcm_gen_table()
121 int mbedtls_gcm_setkey(mbedtls_gcm_context *ctx, in mbedtls_gcm_setkey()
178 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()
321 int mbedtls_gcm_update_ad(mbedtls_gcm_context *ctx, in mbedtls_gcm_update_ad()
383 static int gcm_mask(mbedtls_gcm_context *ctx, in gcm_mask()
409 int mbedtls_gcm_update(mbedtls_gcm_context *ctx, in mbedtls_gcm_update()
495 int mbedtls_gcm_finish(mbedtls_gcm_context *ctx, in mbedtls_gcm_finish()
[all …]
H A Dcipher.c455 return mbedtls_gcm_starts((mbedtls_gcm_context *) ctx->cipher_ctx, in mbedtls_cipher_set_iv()
533 return mbedtls_gcm_update_ad((mbedtls_gcm_context *) ctx->cipher_ctx, in mbedtls_cipher_update_ad()
606 return mbedtls_gcm_update((mbedtls_gcm_context *) ctx->cipher_ctx, in mbedtls_cipher_update()
1188 return mbedtls_gcm_finish((mbedtls_gcm_context *) ctx->cipher_ctx, in mbedtls_cipher_write_tag()
1246 (mbedtls_gcm_context *) ctx->cipher_ctx, in mbedtls_cipher_check_tag()
H A Dcipher_wrap.c121 void *ctx = mbedtls_calloc(1, sizeof(mbedtls_gcm_context)); in gcm_ctx_alloc()
124 mbedtls_gcm_init((mbedtls_gcm_context *) ctx); in gcm_ctx_alloc()
564 return mbedtls_gcm_setkey((mbedtls_gcm_context *) ctx, MBEDTLS_CIPHER_ID_AES, in gcm_aes_setkey_wrap()
979 return mbedtls_gcm_setkey((mbedtls_gcm_context *) ctx, MBEDTLS_CIPHER_ID_CAMELLIA, in gcm_camellia_setkey_wrap()
1389 return mbedtls_gcm_setkey((mbedtls_gcm_context *) ctx, MBEDTLS_CIPHER_ID_ARIA, in gcm_aria_setkey_wrap()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/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()
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 …]
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()
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()
/aosp_15_r20/external/mbedtls/tests/include/alt-dummy/
H A Dgcm_alt.h10 typedef struct mbedtls_gcm_context { struct
13 mbedtls_gcm_context; argument
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/include/alt-dummy/
H A Dgcm_alt.h10 typedef struct mbedtls_gcm_context { struct
13 mbedtls_gcm_context; argument
/aosp_15_r20/external/libwebsockets/include/libwebsockets/
H A Dlws-genaes.h75 mbedtls_gcm_context ctx_gcm;
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/include/psa/
H A Dcrypto_builtin_composites.h93 mbedtls_gcm_context MBEDTLS_PRIVATE(gcm);
/aosp_15_r20/external/mbedtls/include/psa/
H A Dcrypto_builtin_composites.h89 mbedtls_gcm_context MBEDTLS_PRIVATE(gcm);
/aosp_15_r20/external/arm-trusted-firmware/drivers/auth/mbedtls/
H A Dmbedtls_crypto.c245 mbedtls_gcm_context ctx; in aes_gcm_decrypt()
/aosp_15_r20/external/trusty/arm-trusted-firmware/drivers/auth/mbedtls/
Dmbedtls_crypto.c306 mbedtls_gcm_context ctx; in aes_gcm_decrypt()
Dmbedtls_psa_crypto.c634 mbedtls_gcm_context ctx; in aes_gcm_decrypt()
/aosp_15_r20/external/mbedtls/programs/test/
H A Dbenchmark.c747 mbedtls_gcm_context gcm; in main()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/programs/test/
H A Dbenchmark.c826 mbedtls_gcm_context gcm; in main()