sha224 - 2023.2 English

Vitis Libraries

Release Date
2023.2 English
#include "xf_security/sha224_256.hpp"
template <int m_width>
void sha224 (
    hls::stream <ap_uint <m_width>>& msg_strm,
    hls::stream <ap_uint <64>>& len_strm,
    hls::stream <bool>& end_len_strm,
    hls::stream <ap_uint <224>>& hash_strm,
    hls::stream <bool>& end_hash_strm

SHA-224 algorithm with ap_uint stream input and output.


m_width the input message stream width, currently only 32 allowed.
msg_strm the message being hashed.
len_strm the length message being hashed.
end_len_strm the flag for end of message length input.
hash_strm the result.
end_hash_strm the flag for end of hash output.