keccak_256 - 2023.2 English

Vitis Libraries

Release Date
2023-12-20
Version
2023.2 English
#include "xf_security/keccak256.hpp"
static void keccak_256 (
    hls::stream <ap_uint <64>>& msgStrm,
    hls::stream <ap_uint <128>>& msgLenStrm,
    hls::stream <bool>& endMsgLenStrm,
    hls::stream <ap_uint <256>>& digestStrm,
    hls::stream <bool>& endDigestStrm
    )

Top function of KECCAK-256.

The algorithm reference is : “The KECCAK SHA-3 submission-Version 3”.

Parameters:

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.