Home
last modified time | relevance | path

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

/reactos/sdk/include/reactos/libs/mbedtls/
H A Dgcm.h90 typedef struct mbedtls_gcm_context struct
104 mbedtls_gcm_context; argument
121 void mbedtls_gcm_init( mbedtls_gcm_context *ctx );
139 int mbedtls_gcm_setkey( mbedtls_gcm_context *ctx,
195 int mbedtls_gcm_crypt_and_tag( mbedtls_gcm_context *ctx,
240 int mbedtls_gcm_auth_decrypt( mbedtls_gcm_context *ctx,
268 int mbedtls_gcm_starts( mbedtls_gcm_context *ctx,
300 int mbedtls_gcm_update( mbedtls_gcm_context *ctx,
321 int mbedtls_gcm_finish( mbedtls_gcm_context *ctx,
332 void mbedtls_gcm_free( mbedtls_gcm_context *ctx );
H A Dcompat-1.3.h1982 #define gcm_context mbedtls_gcm_context
/reactos/dll/3rdparty/mbedtls/
H A Dgcm.c117 void mbedtls_gcm_init( mbedtls_gcm_context *ctx ) in mbedtls_gcm_init()
120 memset( ctx, 0, sizeof( mbedtls_gcm_context ) ); in mbedtls_gcm_init()
131 static int gcm_gen_table( mbedtls_gcm_context *ctx ) in gcm_gen_table()
191 int mbedtls_gcm_setkey( mbedtls_gcm_context *ctx, in mbedtls_gcm_setkey()
300 int mbedtls_gcm_starts( mbedtls_gcm_context *ctx, in mbedtls_gcm_starts()
387 int mbedtls_gcm_update( mbedtls_gcm_context *ctx, in mbedtls_gcm_update()
450 int mbedtls_gcm_finish( mbedtls_gcm_context *ctx, in mbedtls_gcm_finish()
491 int mbedtls_gcm_crypt_and_tag( mbedtls_gcm_context *ctx, in mbedtls_gcm_crypt_and_tag()
524 int mbedtls_gcm_auth_decrypt( mbedtls_gcm_context *ctx, in mbedtls_gcm_auth_decrypt()
567 void mbedtls_gcm_free( mbedtls_gcm_context *ctx ) in mbedtls_gcm_free()
[all …]
H A Dcipher_wrap.c117 void *ctx = mbedtls_calloc( 1, sizeof( mbedtls_gcm_context ) ); in gcm_ctx_alloc()
120 mbedtls_gcm_init( (mbedtls_gcm_context *) ctx ); in gcm_ctx_alloc()
544 return mbedtls_gcm_setkey( (mbedtls_gcm_context *) ctx, MBEDTLS_CIPHER_ID_AES, in gcm_aes_setkey_wrap()
919 return mbedtls_gcm_setkey( (mbedtls_gcm_context *) ctx, MBEDTLS_CIPHER_ID_CAMELLIA, in gcm_camellia_setkey_wrap()
1295 return mbedtls_gcm_setkey( (mbedtls_gcm_context *) ctx, MBEDTLS_CIPHER_ID_ARIA, in gcm_aria_setkey_wrap()
H A Dcipher.c344 return( mbedtls_gcm_starts( (mbedtls_gcm_context *) ctx->cipher_ctx, ctx->operation, in mbedtls_cipher_update_ad()
414 return( mbedtls_gcm_update( (mbedtls_gcm_context *) ctx->cipher_ctx, ilen, input, in mbedtls_cipher_update()
935 return( mbedtls_gcm_finish( (mbedtls_gcm_context *) ctx->cipher_ctx, in mbedtls_cipher_write_tag()
976 if( 0 != ( ret = mbedtls_gcm_finish( (mbedtls_gcm_context *) ctx->cipher_ctx, in mbedtls_cipher_check_tag()