23 #ifndef __NIST_KDF_HEADER__ 24 #define __NIST_KDF_HEADER__ 55 ubyte4 counterSize,
void* prfContext,
57 const ubyte* label, ubyte4 labelSize,
58 const ubyte* context, ubyte4 contextSize,
59 ubyte4 keyMaterialEncodingSize, ubyte4 littleEndian,
60 ubyte* keyMaterial, ubyte4 keyMaterialSize);
90 ubyte4 counterSize,
void* prfContext,
92 const ubyte* iv, ubyte4 ivSize,
93 const ubyte* label, ubyte4 labelSize,
94 const ubyte* context, ubyte4 contextSize,
95 ubyte4 keyMaterialEncodingSize, ubyte4 littleEndian,
96 ubyte* keyMaterial, ubyte4 keyMaterialSize);
124 ubyte4 counterSize,
void* prfContext,
126 const ubyte* label, ubyte4 labelSize,
127 const ubyte* context, ubyte4 contextSize,
128 ubyte4 keyMaterialEncodingSize, ubyte4 littleEndian,
129 ubyte* keyMaterial, ubyte4 keyMaterialSize);
Structure that holds a trio of function pointers to the PRF implementations.
Definition: nist_prf.h:123
MOC_EXTERN MSTATUS KDF_NIST_FeedbackMode(MOC_SYM(hwAccelDescr hwAccelCtx) ubyte4 counterSize, void *prfContext, const PRF_NIST_108 *prfAlgo, const ubyte *iv, ubyte4 ivSize, const ubyte *label, ubyte4 labelSize, const ubyte *context, ubyte4 contextSize, ubyte4 keyMaterialEncodingSize, ubyte4 littleEndian, ubyte *keyMaterial, ubyte4 keyMaterialSize)
Performs the NIST key derivation function in Feedback Mode.
MOC_EXTERN MSTATUS KDF_NIST_CounterMode(MOC_SYM(hwAccelDescr hwAccelCtx) ubyte4 counterSize, void *prfContext, const PRF_NIST_108 *prfAlgo, const ubyte *label, ubyte4 labelSize, const ubyte *context, ubyte4 contextSize, ubyte4 keyMaterialEncodingSize, ubyte4 littleEndian, ubyte *keyMaterial, ubyte4 keyMaterialSize)
Performs the NIST key derivation function in Counter Mode.
MOC_EXTERN MSTATUS KDF_NIST_DoublePipelineMode(MOC_SYM(hwAccelDescr hwAccelCtx) ubyte4 counterSize, void *prfContext, const PRF_NIST_108 *prfAlgo, const ubyte *label, ubyte4 labelSize, const ubyte *context, ubyte4 contextSize, ubyte4 keyMaterialEncodingSize, ubyte4 littleEndian, ubyte *keyMaterial, ubyte4 keyMaterialSize)
Performs the NIST key derivation function in Double Pipeline Mode.