CmGetPioDataKey
Description
CmGetPioDataKey calculates the Product Item Option Data Key (PIODK) from the Product Item Option Encryption Key (PIOEK) and the Product Item Option Core Key (PIOCK).
Syntax
int CMAPIENTRY CmGetPioDataKey( CMBYTE* pabPiodkDest, CMUINT cbPiodkDest, CMBYTE* pabPioCk, CMUINT cbPioCk, CMBYTE* pabPioEk, CMUINT cbPioEk)
Parameter
pabPiodkDest points to a memory block of 16 bytes which receives the calculated PIODK.
cbPiodkDest contains the length of pabPiodkDest.Usually the length is 16.
pabPioCk points to the input PIOCK.
cbPioCk contains the length of pabPioCk. Usually the length is 16.
pabPioEk points to the input PIOEK.
cbPioEk contains the length of pabPioEk. Usually the length is 16.
Return
TRUE is returned, if the calculation executed successfully - FALSE if not.