VERIFY HMAC

Verify an HMAC.

Description

Verify a generated HMAC.

Shell Example

N/A

Protocol Details

Command

Tc = 0x5c

Lc = 2 + LH + LD

Vc = I || H || D

I := Object ID of the HMAC Key (2 bytes)

H := HMAC (20, 32, 48 or 64 bytes)

D := Data

Response

Tr = 0xdc

Lr = 1

Vr = V

V := Verified (1 byte)

V will have the value 1 if verification succeeded and 0 otherwise.