where

H is a cryptographic hash function,

K is the secret key,

m is the message to be authenticated,

Kâ is another secret key, derived from the original key K (by padding K to the right with extra zeroes to the input block size of the hash function, or by hashing K if it is longer than that block size), || denotes concatenation,

â denotes exclusive or (XOR), opad is the outer padding (0x5c5c5c...5c5c, one-block-long hexadecimal constant), and ipad is the inner padding (0x363636...3636, one-block-long hexadecimal constant).