Home
last modified time | relevance | path

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

/AliOS-Things-master/components/mbedtls/include/mbedtls/
A Dgcm.h59 typedef struct mbedtls_gcm_context struct
73 mbedtls_gcm_context; typedef
90 void mbedtls_gcm_init( mbedtls_gcm_context *ctx );
108 int mbedtls_gcm_setkey( mbedtls_gcm_context *ctx,
164 int mbedtls_gcm_crypt_and_tag( mbedtls_gcm_context *ctx,
209 int mbedtls_gcm_auth_decrypt( mbedtls_gcm_context *ctx,
237 int mbedtls_gcm_starts( mbedtls_gcm_context *ctx,
269 int mbedtls_gcm_update( mbedtls_gcm_context *ctx,
290 int mbedtls_gcm_finish( mbedtls_gcm_context *ctx,
301 void mbedtls_gcm_free( mbedtls_gcm_context *ctx );
A Dcompat-1.3.h1951 #define gcm_context mbedtls_gcm_context
/AliOS-Things-master/components/mbedtls/library/
A Dgcm.c92 void mbedtls_gcm_init( mbedtls_gcm_context *ctx ) in mbedtls_gcm_init()
95 memset( ctx, 0, sizeof( mbedtls_gcm_context ) ); in mbedtls_gcm_init()
106 static int gcm_gen_table( mbedtls_gcm_context *ctx ) in gcm_gen_table()
166 int mbedtls_gcm_setkey( mbedtls_gcm_context *ctx, in mbedtls_gcm_setkey()
275 int mbedtls_gcm_starts( mbedtls_gcm_context *ctx, in mbedtls_gcm_starts()
362 int mbedtls_gcm_update( mbedtls_gcm_context *ctx, in mbedtls_gcm_update()
425 int mbedtls_gcm_finish( mbedtls_gcm_context *ctx, in mbedtls_gcm_finish()
466 int mbedtls_gcm_crypt_and_tag( mbedtls_gcm_context *ctx, in mbedtls_gcm_crypt_and_tag()
499 int mbedtls_gcm_auth_decrypt( mbedtls_gcm_context *ctx, in mbedtls_gcm_auth_decrypt()
542 void mbedtls_gcm_free( mbedtls_gcm_context *ctx ) in mbedtls_gcm_free()
[all …]
A Dcipher_wrap.c92 void *ctx = mbedtls_calloc( 1, sizeof( mbedtls_gcm_context ) ); in gcm_ctx_alloc()
95 mbedtls_gcm_init( (mbedtls_gcm_context *) ctx ); in gcm_ctx_alloc()
519 return mbedtls_gcm_setkey( (mbedtls_gcm_context *) ctx, MBEDTLS_CIPHER_ID_AES, in gcm_aes_setkey_wrap()
894 return mbedtls_gcm_setkey( (mbedtls_gcm_context *) ctx, MBEDTLS_CIPHER_ID_CAMELLIA, in gcm_camellia_setkey_wrap()
1270 return mbedtls_gcm_setkey( (mbedtls_gcm_context *) ctx, MBEDTLS_CIPHER_ID_ARIA, in gcm_aria_setkey_wrap()
A Dcipher.c319 return( mbedtls_gcm_starts( (mbedtls_gcm_context *) ctx->cipher_ctx, ctx->operation, in mbedtls_cipher_update_ad()
385 return( mbedtls_gcm_update( (mbedtls_gcm_context *) ctx->cipher_ctx, ilen, input, in mbedtls_cipher_update()
916 return( mbedtls_gcm_finish( (mbedtls_gcm_context *) ctx->cipher_ctx, in mbedtls_cipher_write_tag()
957 if( 0 != ( ret = mbedtls_gcm_finish( (mbedtls_gcm_context *) ctx->cipher_ctx, in mbedtls_cipher_check_tag()
/AliOS-Things-master/components/mbedtls/programs/test/
A Dbenchmark.c495 mbedtls_gcm_context gcm; in main()

Completed in 30 milliseconds