mirror of
https://github.com/openharmony/third_party_openhitls.git
synced 2026-07-21 16:45:28 -04:00
a456310fcd
- Reinit: restore key-derived init state instead of zeroing - FreeCtx: cleanse context before free - Deinit: cleanse entire context, preserve algorithm config - Init: reset runtime state for safe repeated calls Cherry-picked from: https://gitcode.com/openHiTLS/openhitls/merge_requests/1341 Signed-off-by: Dongjianwei001 <dongjianwei1@huawei.com>