CryptoHMACVerify (FUN)
FUNCTION CryptoHMACVerify : RTS_IEC_RESULT
Verify a recieved hashed message authentication code (HMAC).
- InOut:
Scope
Name
Type
Comment
Return
CryptoHMACVerifyRTS_IEC_RESULTFunction returns ERR_OK if the HMAC is valid.
Input
hAlgoRTS_IEC_HANDLEHandle to the algorithm.
pDataPOINTER TO RtsByteString
Data to calculate the HMAC.
keyRtsCryptoKeyKey to be used for the HMAC calcuation
pSignaturePOINTER TO RtsByteString
Recieved HMAC