shake128 - 2023.2 English

Vitis Libraries

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

Top function of SHAKE-128.

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.