Searched refs:ctx_soft (Results 1 – 2 of 2) sorted by relevance
264 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 …]
46 void *ctx_soft; member