Developer Reference

Contents

HashMethod

Returns a pointer to a pre-defined hash algorithm.

Syntax

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
ippcp.h
Description
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.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.