CryptoHMACSign (FUN)

FUNCTION CryptoHMACSign : RTS_IEC_RESULT

Generate a hashed message authentication code (HMAC) OF the given data AND key.

InOut:

Scope

Name

Type

Comment

Return

CryptoHMACSign

RTS_IEC_RESULT

Result of the operation

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

Calculated HMAC