Searched refs:kapi_hash_get_ctx (Results 1 – 1 of 1) sorted by relevance
140 static kapi_hash_ctx *kapi_hash_get_ctx(hi_u32 id) in kapi_hash_get_ctx() function397 ctx = kapi_hash_get_ctx(*soft_hash_id); in kapi_hash_chk_ctx()400 hi_log_print_func_err(kapi_hash_get_ctx, HI_ERR_CIPHER_INVALID_POINT); in kapi_hash_chk_ctx()516 ctx = kapi_hash_get_ctx(soft_hash_id); in kapi_hash_start()518 hi_log_print_func_err(kapi_hash_get_ctx, HI_ERR_CIPHER_FAILED_MEM); in kapi_hash_start()560 ctx = kapi_hash_get_ctx(soft_hash_id); in kapi_hash_update()604 ctx = kapi_hash_get_ctx(soft_hash_id); in kapi_hash_finish()653 ctx = kapi_hash_get_ctx(i); in kapi_hash_release()