ica_aes_gcm_kma_ctx_new
Purpose
Allocate a GCM context for all other KMA-related GCM functions and return a pointer to this context. The context buffer is used by all other ica_aes_gcm_kma functions as a working area and must not be changed by the application. It must be freed by ica_aes_gcm_kma_ctx_free() when no longer needed.
Format
kma_ctx* ica_aes_gcm_kma_ctx_new();
Parameters
None.
Return codes
- NULL
- Returns a NULL pointer if no memory could be allocated. Returns a pointer to a GCM context if successful.