17 #ifndef __CRYPTO_INTERFACE_HMAC_KDF_HEADER__ 18 #define __CRYPTO_INTERFACE_HMAC_KDF_HEADER__ 57 MOC_HASH(hwAccelDescr hwAccelCtx)
58 const BulkHashAlgo *pDigest,
61 ubyte *pInputKeyMaterial,
62 ubyte4 inputKeyMaterialLen,
101 MOC_HASH(hwAccelDescr hwAccelCtx)
102 const BulkHashAlgo *pDigest,
105 ubyte *pInputKeyMaterial,
106 ubyte4 inputKeyMaterialLen,
140 MOC_HASH(hwAccelDescr hwAccelCtx)
141 const BulkHashAlgo *pDigest,
142 ubyte *pPseudoRandomKey,
143 ubyte4 pseudoRandomKeyLen,
180 MOC_HASH(hwAccelDescr hwAccelCtx)
181 const BulkHashAlgo *pDigest,
182 ubyte *pPseudoRandomKey,
183 ubyte4 pseudoRandomKeyLen,
MOC_EXTERN MSTATUS CRYPTO_INTERFACE_HmacKdfExpandExt(MOC_HASH(hwAccelDescr hwAccelCtx) const BulkHashAlgo *pDigest, ubyte *pPseudoRandomKey, ubyte4 pseudoRandomKeyLen, ubyte *pContext, ubyte4 contextLen, ubyte *pIv, ubyte4 ivLen, ubyte *pOutput, ubyte4 keyLength, void *pExtCtx)
Perform the expand operation for Hmac KDF.
MOC_EXTERN MSTATUS CRYPTO_INTERFACE_HmacKdfExtractExt(MOC_HASH(hwAccelDescr hwAccelCtx) const BulkHashAlgo *pDigest, ubyte *pSalt, ubyte4 saltLen, ubyte *pInputKeyMaterial, ubyte4 inputKeyMaterialLen, ubyte *pOutput, ubyte4 outputLen, void *pExtCtx)
Perform the extract operation for Hmac KDF.
MOC_EXTERN MSTATUS CRYPTO_INTERFACE_HmacKdfExpand(MOC_HASH(hwAccelDescr hwAccelCtx) const BulkHashAlgo *pDigest, ubyte *pPseudoRandomKey, ubyte4 pseudoRandomKeyLen, ubyte *pContext, ubyte4 contextLen, ubyte *pIv, ubyte4 ivLen, ubyte *pOutput, ubyte4 keyLength)
Perform the expand operation for Hmac KDF.
MOC_EXTERN MSTATUS CRYPTO_INTERFACE_HmacKdfExtract(MOC_HASH(hwAccelDescr hwAccelCtx) const BulkHashAlgo *pDigest, ubyte *pSalt, ubyte4 saltLen, ubyte *pInputKeyMaterial, ubyte4 inputKeyMaterialLen, ubyte *pOutput, ubyte4 outputLen)
Perform the extract operation for Hmac KDF.