CryptoHMACVerify
(FUN)
FUNCTION CryptoHMACVerify : RTS_IEC_RESULT
Verify a recieved hashed message authentication code (HMAC).
- InOut:
Scope
Name
Type
Comment
Return
CryptoHMACVerify
RTS_IEC_RESULT
Function returns ERR_OK if the HMAC is valid.
Input
hAlgo
RTS_IEC_HANDLE
Handle to the algorithm.
pData
POINTER TO RtsByteString
Data to calculate the HMAC.
key
RtsCryptoKey
Key to be used for the HMAC calcuation
pSignature
POINTER TO RtsByteString
Recieved HMAC