HMAC_SHA384 overload (2) - 2023.2 English

Vitis Libraries

Release Date
2023-12-20
Version
2023.2 English
#include "xf_security/sha512_t.hpp"
void HMAC_SHA384 (
    bool isHMAC,
    hls::stream <ap_uint <32>>& msg_key_strm,
    hls::stream <ap_uint <4>>& len_strm,
    ap_uint <384>& res
    )

SHA384 + HMAC-SHA384.

Each all of HMAC_SHA384 could performce HMAC or SHA384 on one message.

Parameters:

isHMAC flag to identify actual function, true for HMAC-SHA384 processingg, false for SHA384 processing.
msg_key_strm Stream to input message packs.
len_strm Stream to input message packs effective length.
res Digest of SHA384 or HMAC-SHA384