mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-09-13 21:59:57 +00:00
psa: aead: Add missing chachapoly context free
Signed-off-by: Ronald Cron <[email protected]>
This commit is contained in:
@@ -65,6 +65,11 @@ static void psa_aead_abort_internal( aead_operation_t *operation )
|
|||||||
mbedtls_gcm_free( &operation->ctx.gcm );
|
mbedtls_gcm_free( &operation->ctx.gcm );
|
||||||
break;
|
break;
|
||||||
#endif /* MBEDTLS_PSA_BUILTIN_ALG_GCM */
|
#endif /* MBEDTLS_PSA_BUILTIN_ALG_GCM */
|
||||||
|
#if defined(MBEDTLS_PSA_BUILTIN_ALG_CHACHA20_POLY1305)
|
||||||
|
case PSA_ALG_CHACHA20_POLY1305:
|
||||||
|
mbedtls_chachapoly_free( &operation->ctx.chachapoly );
|
||||||
|
break;
|
||||||
|
#endif /* MBEDTLS_PSA_BUILTIN_ALG_CHACHA20_POLY1305 */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user