Home
last modified time | relevance | path

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

/external/mbedtls/include/mbedtls/
Dgcm.h60 typedef struct mbedtls_gcm_context struct
74 mbedtls_gcm_context; typedef
91 void mbedtls_gcm_init( mbedtls_gcm_context *ctx );
109 int mbedtls_gcm_setkey( mbedtls_gcm_context *ctx,
165 int mbedtls_gcm_crypt_and_tag( mbedtls_gcm_context *ctx,
210 int mbedtls_gcm_auth_decrypt( mbedtls_gcm_context *ctx,
234 int mbedtls_gcm_starts( mbedtls_gcm_context *ctx,
259 int mbedtls_gcm_update_ad( mbedtls_gcm_context *ctx,
314 int mbedtls_gcm_update( mbedtls_gcm_context *ctx,
352 int mbedtls_gcm_finish( mbedtls_gcm_context *ctx,
[all …]
/external/openthread/third_party/mbedtls/repo/include/mbedtls/
Dgcm.h66 typedef struct mbedtls_gcm_context struct
80 mbedtls_gcm_context; argument
97 void mbedtls_gcm_init( mbedtls_gcm_context *ctx );
115 int mbedtls_gcm_setkey( mbedtls_gcm_context *ctx,
171 int mbedtls_gcm_crypt_and_tag( mbedtls_gcm_context *ctx,
216 int mbedtls_gcm_auth_decrypt( mbedtls_gcm_context *ctx,
244 int mbedtls_gcm_starts( mbedtls_gcm_context *ctx,
276 int mbedtls_gcm_update( mbedtls_gcm_context *ctx,
297 int mbedtls_gcm_finish( mbedtls_gcm_context *ctx,
308 void mbedtls_gcm_free( mbedtls_gcm_context *ctx );
Dcompat-1.3.h1955 #define gcm_context mbedtls_gcm_context
/external/mbedtls/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,
108 static void check_empty_cipher_with_ad( mbedtls_gcm_context *ctx,
139 static void check_no_cipher_no_ad( mbedtls_gcm_context *ctx,
173 mbedtls_gcm_context ctx;
199 mbedtls_gcm_context ctx;
245 mbedtls_gcm_context ctx;
298 mbedtls_gcm_context ctx;
320 mbedtls_gcm_context ctx;
339 mbedtls_gcm_context ctx;
[all …]
/external/mbedtls/library/
Dgcm.c50 void mbedtls_gcm_init( mbedtls_gcm_context *ctx ) in mbedtls_gcm_init()
52 memset( ctx, 0, sizeof( mbedtls_gcm_context ) ); in mbedtls_gcm_init()
63 static int gcm_gen_table( mbedtls_gcm_context *ctx ) in gcm_gen_table()
123 int mbedtls_gcm_setkey( mbedtls_gcm_context *ctx, in mbedtls_gcm_setkey()
176 static void gcm_mult( mbedtls_gcm_context *ctx, const unsigned char x[16], in gcm_mult()
232 int mbedtls_gcm_starts( mbedtls_gcm_context *ctx, in mbedtls_gcm_starts()
312 int mbedtls_gcm_update_ad( mbedtls_gcm_context *ctx, in mbedtls_gcm_update_ad()
375 static int gcm_mask( mbedtls_gcm_context *ctx, in gcm_mask()
403 int mbedtls_gcm_update( mbedtls_gcm_context *ctx, in mbedtls_gcm_update()
486 int mbedtls_gcm_finish( mbedtls_gcm_context *ctx, in mbedtls_gcm_finish()
[all …]
Dcipher_wrap.c77 void *ctx = mbedtls_calloc( 1, sizeof( mbedtls_gcm_context ) ); in gcm_ctx_alloc()
80 mbedtls_gcm_init( (mbedtls_gcm_context *) ctx ); in gcm_ctx_alloc()
504 return mbedtls_gcm_setkey( (mbedtls_gcm_context *) ctx, MBEDTLS_CIPHER_ID_AES, in gcm_aes_setkey_wrap()
912 return mbedtls_gcm_setkey( (mbedtls_gcm_context *) ctx, MBEDTLS_CIPHER_ID_CAMELLIA, in gcm_camellia_setkey_wrap()
1321 return mbedtls_gcm_setkey( (mbedtls_gcm_context *) ctx, MBEDTLS_CIPHER_ID_ARIA, in gcm_aria_setkey_wrap()
Dcipher.c398 return( mbedtls_gcm_starts( (mbedtls_gcm_context *) ctx->cipher_ctx, in mbedtls_cipher_set_iv()
477 return( mbedtls_gcm_update_ad( (mbedtls_gcm_context *) ctx->cipher_ctx, in mbedtls_cipher_update_ad()
552 return( mbedtls_gcm_update( (mbedtls_gcm_context *) ctx->cipher_ctx, in mbedtls_cipher_update()
1114 return( mbedtls_gcm_finish( (mbedtls_gcm_context *) ctx->cipher_ctx, in mbedtls_cipher_write_tag()
1173 (mbedtls_gcm_context *) ctx->cipher_ctx, in mbedtls_cipher_check_tag()
/external/openthread/third_party/mbedtls/repo/library/
Dgcm.c64 void mbedtls_gcm_init( mbedtls_gcm_context *ctx ) in mbedtls_gcm_init()
67 memset( ctx, 0, sizeof( mbedtls_gcm_context ) ); in mbedtls_gcm_init()
78 static int gcm_gen_table( mbedtls_gcm_context *ctx ) in gcm_gen_table()
138 int mbedtls_gcm_setkey( mbedtls_gcm_context *ctx, in mbedtls_gcm_setkey()
192 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()
337 int mbedtls_gcm_update( mbedtls_gcm_context *ctx, in mbedtls_gcm_update()
400 int mbedtls_gcm_finish( mbedtls_gcm_context *ctx, in mbedtls_gcm_finish()
441 int mbedtls_gcm_crypt_and_tag( mbedtls_gcm_context *ctx, in mbedtls_gcm_crypt_and_tag()
474 int mbedtls_gcm_auth_decrypt( mbedtls_gcm_context *ctx, in mbedtls_gcm_auth_decrypt()
[all …]
Dcipher_wrap.c91 void *ctx = mbedtls_calloc( 1, sizeof( mbedtls_gcm_context ) ); in gcm_ctx_alloc()
94 mbedtls_gcm_init( (mbedtls_gcm_context *) ctx ); in gcm_ctx_alloc()
518 return mbedtls_gcm_setkey( (mbedtls_gcm_context *) ctx, MBEDTLS_CIPHER_ID_AES, in gcm_aes_setkey_wrap()
893 return mbedtls_gcm_setkey( (mbedtls_gcm_context *) ctx, MBEDTLS_CIPHER_ID_CAMELLIA, in gcm_camellia_setkey_wrap()
1269 return mbedtls_gcm_setkey( (mbedtls_gcm_context *) ctx, MBEDTLS_CIPHER_ID_ARIA, in gcm_aria_setkey_wrap()
Dcipher.c449 return( mbedtls_gcm_starts( (mbedtls_gcm_context *) ctx->cipher_ctx, ctx->operation, in mbedtls_cipher_update_ad()
529 return( mbedtls_gcm_update( (mbedtls_gcm_context *) ctx->cipher_ctx, ilen, input, in mbedtls_cipher_update()
1083 return( mbedtls_gcm_finish( (mbedtls_gcm_context *) ctx->cipher_ctx, in mbedtls_cipher_write_tag()
1141 (mbedtls_gcm_context *) ctx->cipher_ctx, in mbedtls_cipher_check_tag()
Dpsa_crypto_aead.c44 mbedtls_gcm_context gcm;
/external/mbedtls/tests/include/alt-dummy/
Dgcm_alt.h22 typedef struct mbedtls_gcm_context struct
26 mbedtls_gcm_context; typedef
/external/openthread/third_party/mbedtls/repo/tests/suites/
Dtest_suite_gcm.function18 mbedtls_gcm_context ctx;
44 mbedtls_gcm_context ctx;
77 mbedtls_gcm_context ctx;
113 mbedtls_gcm_context ctx;
/external/mbedtls/include/psa/
Dcrypto_builtin_composites.h103 mbedtls_gcm_context MBEDTLS_PRIVATE(gcm);
/external/libwebsockets/include/libwebsockets/
Dlws-genaes.h75 mbedtls_gcm_context ctx_gcm;
/external/arm-trusted-firmware/drivers/auth/mbedtls/
Dmbedtls_crypto.c245 mbedtls_gcm_context ctx; in aes_gcm_decrypt()
/external/mbedtls/programs/test/
Dbenchmark.c743 mbedtls_gcm_context gcm; in main()
/external/openthread/third_party/mbedtls/repo/programs/test/
Dbenchmark.c537 mbedtls_gcm_context gcm; in main()
/external/openthread/third_party/mbedtls/repo/scripts/data_files/
Drename-1.3-2.0.txt1543 gcm_context mbedtls_gcm_context