《GD32VW553硬件加速密码引擎开发》
《GD32VW553硬件加速密码引擎开发》[*]国密SM4性能测试# 性能测试脚本def test_sm4_throughput(): plain = os.urandom(16*100000)# 1MB数据 start = time.perf_counter() cipher = sm4_encrypt(plain) return len(plain)/(time.perf_counter()-start)
结果:1.2Gbps@200MHz
页:
[1]