HRESULT SLS_CreateChallenge( The SLS_CreateChallenge function creates a challenge from the input data stream.
Parameters
pSecretArray
Points to an array of product secrets.
nSecretSize
Size of the secret array.
pbStream
Points to the buffer of input data stream.
nStreamSize
Size in byte of the input data stream buffer.
Challenge
Points to a challenge structure in which the challenge will be created.
Return Values
SLS_SUCCESS if the function is successful. Otherwise an error status code is returned to indicate the cause of the error. |