Developer Reference for Intel® Integrated Performance Primitives Cryptography 2018

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

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.