In this project you will implement HMAC (Keyed-hash Message Authentication Code) using SHA-512 as the building block. HMAC with key K of a input message M can be expressed as:
where is the key padded out to block size, which is 1024 bits when we use SHA-512. Here, opad, ipad are specified padding constants, which is specified as follows: ipad:00110110 (36 in hexidecimal) repeated by 1024/8=128 times; opad:01011100 (5C in hexidecimal) repeated by 1024/8=128. You do not need to implement SHA-512 yourself. For an implementation of SHA-512, you can use an existing crypto library.
Can you help me with the process (or psuedocode) of how to calcluate the HMAC value?