sm3 - 2023.2 English

Vitis Libraries

Release Date
2023-12-20
Version
2023.2 English
#include "xf_security/sm234.hpp"
void sm3 (
    hls::stream <ap_uint <64>>& msgStrm,
    hls::stream <ap_uint <64>>& lenStrm,
    hls::stream <bool>& endLenStrm,
    hls::stream <ap_uint <256>>& hashStrm,
    hls::stream <bool>& endHashStrm
    )

SM3 function to genrate digest value for input messages.

Parameters:

msgStrm Stream to input messages to be signed.
lenStrm Stream to input length of input messages.
endLenStrm Stream of end flag of lenStrm.
hashStrm Stream to output digests of messges.
endHashStrm Stream of end flag of hashStrm.