Skip to main content

sm2_hash_e

Function sm2_hash_e 

Source
pub fn sm2_hash_e(z: &[u8; 32], msg: &[u8]) -> Result<[u8; 32], TEE_Result>
Expand description

计算 SM2 消息摘要 E = SM3(Z || M)。