#include "xf_security/sha512_t.hpp"
void HMAC_SHA384 ( bool isHMAC, hls::stream <ap_uint <64>>& msg_key_strm, hls::stream <ap_uint <5>>& 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 |