Skip to content

Commit

Permalink
Changing the typo in section 8.4 hmac (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
lynajiang authored Jan 25, 2024
1 parent 5d07918 commit 5b1709e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/macs.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ There are a number of schemes out there, but one good one is AES-CMAC, an algori
In AES-EMAC, the key $$K$$ is 256 bits, viewed as a pair of 128-bit AES keys: $$K=\langle K_1,K_2 \rangle$$. The message $$M$$ is decomposed into a sequence of 128-bit blocks: $$M = P_1 \Vert P_2 \Vert ... \Vert P_n$$. We set $$S_0 = 0$$ and compute

$$
S_i = \textrm{AES}_{K_1}(S*{i-1} \oplus P_i),\qquad
S_i = \textrm{AES}_{K_1}(S_{i-1} \oplus P_i),\qquad
\text{for $i=1,2,\dots,n$.}
$$

Expand Down

0 comments on commit 5b1709e

Please sign in to comment.