sha3_512 - 2023.2 English

Vitis Libraries

Release Date
2023.2 English
#include "xf_security/sha3.hpp"
static void sha3_512 (
    hls::stream <ap_uint <64>>& msgStrm,
    hls::stream <ap_uint <128>>& msgLenStrm,
    hls::stream <bool>& endMsgLenStrm,
    hls::stream <ap_uint <512>>& digestStrm,
    hls::stream <bool>& endDigestStrm

Top function of SHA3-512.

The algorithm reference is : “SHA-3 Standard : Permutation-Based Hash and Extendable-Output Functions”.


msgStrm The message being hashed.
msgLenStrm Message length in byte.
endMsgLenStrm The flag to signal end of input message stream.
digestStrm Output digest stream.
endDigestStrm End flag for output digest stream.