Cryptography for Intel(R) Integrated Performance Primitives Developer Reference

ID 768738
Date 12/16/2022
Public
Document Table of Contents

<span class='option'>SHA512MessageDigest</span>

Computes SHA-512 digest value of the input message.

Syntax

IppStatus ippsSHA512MessageDigest(const Ipp8u *pMsg, int len, Ipp8u *pMD);

Include Files

ippcp.h

Parameters

pMsg

Pointer to the input message.

len

Message length in octets.

pMD

Pointer to the resultant digest.
Description

The function uses the selected hash algorithm to compute the digest value of the entire (non-streaming) input message.

Return Values

ippStsNoErr

Indicates no error. Any other value indicates an error or warning.

ippStsNullPtrErr

Indicates an error condition if any of the specified pointers is NULL.

ippStsLengthErr

Indicates an error condition if the input data stream length is less than zero.

Did you find the information on this page useful?

Characters remaining:

Feedback Message