Searched refs:mbedtls_gcm_context (Results 1 – 9 of 9) sorted by relevance
/third_party/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 …]
|
/third_party/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 …]
|
/third_party/mbedtls/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() 331 int mbedtls_gcm_update_ad( mbedtls_gcm_context *ctx, in mbedtls_gcm_update_ad() 396 static int gcm_mask( mbedtls_gcm_context *ctx, in gcm_mask() 424 int mbedtls_gcm_update( mbedtls_gcm_context *ctx, in mbedtls_gcm_update() 512 int mbedtls_gcm_finish( mbedtls_gcm_context *ctx, in mbedtls_gcm_finish() [all …]
|
D | cipher_wrap.c | 83 void *ctx = mbedtls_calloc( 1, sizeof( mbedtls_gcm_context ) ); in gcm_ctx_alloc() 86 mbedtls_gcm_init( (mbedtls_gcm_context *) ctx ); in gcm_ctx_alloc() 510 return mbedtls_gcm_setkey( (mbedtls_gcm_context *) ctx, MBEDTLS_CIPHER_ID_AES, in gcm_aes_setkey_wrap() 918 return mbedtls_gcm_setkey( (mbedtls_gcm_context *) ctx, MBEDTLS_CIPHER_ID_CAMELLIA, in gcm_camellia_setkey_wrap() 1327 return mbedtls_gcm_setkey( (mbedtls_gcm_context *) ctx, MBEDTLS_CIPHER_ID_ARIA, in gcm_aria_setkey_wrap()
|
D | cipher.c | 401 return( mbedtls_gcm_starts( (mbedtls_gcm_context *) ctx->cipher_ctx, in mbedtls_cipher_set_iv() 483 return( mbedtls_gcm_update_ad( (mbedtls_gcm_context *) ctx->cipher_ctx, in mbedtls_cipher_update_ad() 562 return( mbedtls_gcm_update( (mbedtls_gcm_context *) ctx->cipher_ctx, in mbedtls_cipher_update() 1131 return( mbedtls_gcm_finish( (mbedtls_gcm_context *) ctx->cipher_ctx, in mbedtls_cipher_write_tag() 1195 (mbedtls_gcm_context *) ctx->cipher_ctx, in mbedtls_cipher_check_tag()
|
/third_party/mbedtls/tests/include/alt-dummy/ |
D | gcm_alt.h | 22 typedef struct mbedtls_gcm_context struct 26 mbedtls_gcm_context; typedef
|
/third_party/mbedtls/include/psa/ |
D | crypto_builtin_composites.h | 103 mbedtls_gcm_context MBEDTLS_PRIVATE(gcm);
|
/third_party/libwebsockets/include/libwebsockets/ |
D | lws-genaes.h | 75 mbedtls_gcm_context ctx_gcm;
|
/third_party/mbedtls/programs/test/ |
D | benchmark.c | 762 mbedtls_gcm_context gcm; in main()
|