mbedtls_gcm_init() is only used within mbedTLS.
 
Symbols
loading...
Files
loading...

mbedtls_gcm_init() function

This function initializes the specified GCM context, to make references valid, and prepares the context for mbedtls_gcm_setkey() or mbedtls_gcm_free(). The function does not bind the GCM context to a particular cipher, nor set the key. For this purpose, use mbedtls_gcm_setkey().

Syntax

void mbedtls_gcm_init( mbedtls_gcm_context *ctx );
Implemented in gcm.c:93

Arguments

ctx

The GCM context to initialize. This must not be \c NULL.

References

LocationReferrerText
gcm.c:93
void mbedtls_gcm_init( mbedtls_gcm_context *ctx )
gcm.h:96
void mbedtls_gcm_init( mbedtls_gcm_context *ctx );
cipher_wrap.c:95gcm_ctx_alloc()
mbedtls_gcm_init( (mbedtls_gcm_context *) ctx );

Call Tree

Functions calling mbedtls_gcm_init()
Functions called by mbedtls_gcm_init()
all items filtered out
mbedtls_gcm_init()
memset()
all items filtered out
Data read by mbedtls_gcm_init()
all items filtered out
mbedtls_gcm_init()