a Secarta project ...

HTTPsec Authentication Protocol


Preamble

6.7.1. MAC Keys

The MAC keys for computing mac directives are produced as follows:

request-mac-key  = H(H( shared-secret || "request MAC key"  ))

response-mac-key = H(H( shared-secret || "response MAC key" ))

where the following apply:

  • String literals are ASCII without length or zero-termination;
  • shared-secret is computed according to the Shared Secret section.
  • H(H()) is the Hash Algorithm iteratively applied twice.