Cryptography for Intel(R) Integrated Performance Primitives Developer Reference

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


Returns a pointer to a pre-defined hash algorithm.


const IppsHashMethod* ippsHashMethod_SHA1(void);

const IppsHashMethod* ippsHashMethod_SHA1_NI(void);

const IppsHashMethod* ippsHashMethod_SHA1_TT(void);

const IppsHashMethod* ippsHashMethod_SHA256(void);

const IppsHashMethod* ippsHashMethod_SHA256_NI(void);

const IppsHashMethod* ippsHashMethod_SHA256_TT(void);

const IppsHashMethod* ippsHashMethod_SHA224(void);

const IppsHashMethod* ippsHashMethod_SHA224_NI(void);

const IppsHashMethod* ippsHashMethod_SHA224_TT(void);

const IppsHashMethod* ippsHashMethod_SHA512(void);

const IppsHashMethod* ippsHashMethod_SHA384(void);

const IppsHashMethod* ippsHashMethod_SHA512_224(void);

const IppsHashMethod* ippsHashMethod_SHA512_256(void);

const IppsHashMethod* ippsHashMethod_MD5(void);

const IppsHashMethod* ippsHashMethod_SM3(void);

Include Files



The ippsHashMethod_MD5 function is deprecated. The MD5 algorithm is considered weak due to known attacks on it. The functionality remains in the library, but the implementation will no longer be optimized and no security patches will be applied.

Each of these functions returns a pointer to a method-defined implementation of a particular hash algorithm. Use these functions in calls to HashInit and HashMessage. See table HashMethod Functions for an explanation of the values returned by the HashMethod functions.

Return Values

const ippsHashMethod*

Pointer to the particular hash method.

Did you find the information on this page useful?

Characters remaining:

Feedback Message