---
title: 安全OS哈希计算性能
description: "| 用例编号 | 4.3.6 |"
url: https://www.hikunpeng.com/document/detail/zh/kunpengboostkithistory/230RC2/confidt/kunpengtrustzone_08_0034.html
sourcePath: /source/zh/kunpengboostkithistory/230RC2/confidt/kunpengtrustzone_08_0034.html
indexId: 0b34e62a916e3f0c7085460fea92ffaaeb8d8f938e19ff9c14d20ba779f434aa78
---
# 安全OS哈希计算性能

| 用例编号 | 4.3.6 |
| --- | --- |
| 测试目的 | 测试安全OS哈希计算性能。 |
| 测试组网 | 请参见测试组网。 |
| 预置条件 | 服务器已烧写TrustZone套件，并配有TrustZone License。 服务器已加载REE Patch，CA/TA应用可正常加载通信。 |
| 测试步骤 | 登录REE OS，加载TrustZone REE Patch tzdriver，预期结果1。 insmod tzdriver /usr/bin/teecd & 编写CA/TA，CA/TA代码做如下要求，预期结果2。 统计从command发出，到执行成功返回（HASH值不需要返回REE），分别统计对：1K，2K，4K，16K，256K，512KB，1MB数据进行摘要的运算时间。数据由TA预先生成，不需要统计在内。 涵盖算法SHA\-256、SM3\-256。 |
| 预期结果 | REE Patch加载成功，无异常信息。 性能数据可获取。 |
| 测试结果 |  |
| 备注 |  |
