aboutsummaryrefslogtreecommitdiff
path: root/docs/megolm.md
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2019-11-08 14:09:12 +0000
committerRichard van der Hoff <richard@matrix.org>2019-11-08 14:09:12 +0000
commit04690658558fd84cd635ee8dd34b163cccfcf420 (patch)
tree6a00e91781d2efe8dfb112fa6ac64ee12b424986 /docs/megolm.md
parentbaaf00266314487f831726d7cb34ee2649f99e22 (diff)
parent5bcfeaffe3d465a16e472e98c99d6970e8dc80d8 (diff)
Merge branch 'rav/fix_math' into 'master'
Fix some math blocks See merge request matrix-org/olm!10
Diffstat (limited to 'docs/megolm.md')
-rw-r--r--docs/megolm.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/megolm.md b/docs/megolm.md
index eaae7e0..baf4c5e 100644
--- a/docs/megolm.md
+++ b/docs/megolm.md
@@ -161,10 +161,10 @@ described in [The Megolm ratchet algorithm](#the-megolm-ratchet-algorithm), usin
```math
\begin{aligned}
- H_0(A) &\equiv \operatorname{HMAC}(A,\text{"\x00"}) \\
- H_1(A) &\equiv \operatorname{HMAC}(A,\text{"\x01"}) \\
- H_2(A) &\equiv \operatorname{HMAC}(A,\text{"\x02"}) \\
- H_3(A) &\equiv \operatorname{HMAC}(A,\text{"\x03"}) \\
+ H_0(A) &\equiv \operatorname{HMAC}(A,\text{``\char`\\x00"}) \\
+ H_1(A) &\equiv \operatorname{HMAC}(A,\text{``\char`\\x01"}) \\
+ H_2(A) &\equiv \operatorname{HMAC}(A,\text{``\char`\\x02"}) \\
+ H_3(A) &\equiv \operatorname{HMAC}(A,\text{``\char`\\x03"}) \\
\end{aligned}
```