| /external/mbedtls/include/mbedtls/ |
| D | gcm.h | 60 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/ |
| D | gcm.h | 66 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 );
|
| D | compat-1.3.h | 1955 #define gcm_context mbedtls_gcm_context
|
| /external/mbedtls/tests/suites/ |
| D | test_suite_gcm.function | 7 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/ |
| D | gcm.c | 50 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 …]
|
| D | cipher_wrap.c | 77 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()
|
| D | cipher.c | 398 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/ |
| D | gcm.c | 64 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 …]
|
| D | cipher_wrap.c | 91 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()
|
| D | cipher.c | 449 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()
|
| D | psa_crypto_aead.c | 44 mbedtls_gcm_context gcm;
|
| /external/mbedtls/tests/include/alt-dummy/ |
| D | gcm_alt.h | 22 typedef struct mbedtls_gcm_context struct 26 mbedtls_gcm_context; typedef
|
| /external/openthread/third_party/mbedtls/repo/tests/suites/ |
| D | test_suite_gcm.function | 18 mbedtls_gcm_context ctx; 44 mbedtls_gcm_context ctx; 77 mbedtls_gcm_context ctx; 113 mbedtls_gcm_context ctx;
|
| /external/mbedtls/include/psa/ |
| D | crypto_builtin_composites.h | 103 mbedtls_gcm_context MBEDTLS_PRIVATE(gcm);
|
| /external/libwebsockets/include/libwebsockets/ |
| D | lws-genaes.h | 75 mbedtls_gcm_context ctx_gcm;
|
| /external/arm-trusted-firmware/drivers/auth/mbedtls/ |
| D | mbedtls_crypto.c | 245 mbedtls_gcm_context ctx; in aes_gcm_decrypt()
|
| /external/mbedtls/programs/test/ |
| D | benchmark.c | 743 mbedtls_gcm_context gcm; in main()
|
| /external/openthread/third_party/mbedtls/repo/programs/test/ |
| D | benchmark.c | 537 mbedtls_gcm_context gcm; in main()
|
| /external/openthread/third_party/mbedtls/repo/scripts/data_files/ |
| D | rename-1.3-2.0.txt | 1543 gcm_context mbedtls_gcm_context
|