Home
last modified time | relevance | path

Searched refs:ctx_soft (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-latest/components/mbedtls/port/aes/
Desp_aes_gcm.c264 if (ctx->ctx_soft != NULL) { in esp_aes_gcm_setkey()
265 mbedtls_gcm_free_soft(ctx->ctx_soft); in esp_aes_gcm_setkey()
266 free(ctx->ctx_soft); in esp_aes_gcm_setkey()
267 ctx->ctx_soft = NULL; in esp_aes_gcm_setkey()
271 ctx->ctx_soft = (mbedtls_gcm_context_soft*) malloc(sizeof(mbedtls_gcm_context_soft)); in esp_aes_gcm_setkey()
272 if (ctx->ctx_soft == NULL) { in esp_aes_gcm_setkey()
275 mbedtls_gcm_init_soft(ctx->ctx_soft); in esp_aes_gcm_setkey()
276 return mbedtls_gcm_setkey_soft(ctx->ctx_soft, cipher, key, keybits); in esp_aes_gcm_setkey()
362 if (ctx->ctx_soft != NULL) { in esp_aes_gcm_free()
363 mbedtls_gcm_free_soft(ctx->ctx_soft); in esp_aes_gcm_free()
[all …]
/hal_espressif-latest/components/mbedtls/port/include/aes/
Desp_aes_gcm.h46 void *ctx_soft; member