aboutsummaryrefslogtreecommitdiff
path: root/docs/megolm.md
diff options
context:
space:
mode:
authorHubert Chathi <hubert@uhoreg.ca>2020-09-17 17:43:00 -0400
committerHubert Chathi <hubert@uhoreg.ca>2020-09-17 17:43:00 -0400
commit84841a19e21f23a4ae0ea804156a318a112c691c (patch)
tree4cfb0c995a7a59078c866286b923e8c313bcc86a /docs/megolm.md
parent3cd6b15853923fff512138ebb5e8ba390cfb38e2 (diff)
fix exponents in megolm spec
Diffstat (limited to 'docs/megolm.md')
-rw-r--r--docs/megolm.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/megolm.md b/docs/megolm.md
index baf4c5e..d2372a2 100644
--- a/docs/megolm.md
+++ b/docs/megolm.md
@@ -41,26 +41,26 @@ advanced as follows:
\begin{aligned}
R_{i,0} &=
\begin{cases}
- H_0\left(R_{2^24(n-1),0}\right) &\text{if }\exists n | i = 2^24n\\
+ H_0\left(R_{2^{24}(n-1),0}\right) &\text{if }\exists n | i = 2^{24}n\\
R_{i-1,0} &\text{otherwise}
\end{cases}\\
R_{i,1} &=
\begin{cases}
- H_1\left(R_{2^24(n-1),0}\right) &\text{if }\exists n | i = 2^24n\\
- H_1\left(R_{2^16(m-1),1}\right) &\text{if }\exists m | i = 2^16m\\
+ H_1\left(R_{2^{24}(n-1),0}\right) &\text{if }\exists n | i = 2^{24}n\\
+ H_1\left(R_{2^{16}(m-1),1}\right) &\text{if }\exists m | i = 2^{16}m\\
R_{i-1,1} &\text{otherwise}
\end{cases}\\
R_{i,2} &=
\begin{cases}
- H_2\left(R_{2^24(n-1),0}\right) &\text{if }\exists n | i = 2^24n\\
- H_2\left(R_{2^16(m-1),1}\right) &\text{if }\exists m | i = 2^16m\\
+ H_2\left(R_{2^{24}(n-1),0}\right) &\text{if }\exists n | i = 2^{24}n\\
+ H_2\left(R_{2^{16}(m-1),1}\right) &\text{if }\exists m | i = 2^{16}m\\
H_2\left(R_{2^8(p-1),2}\right) &\text{if }\exists p | i = 2^8p\\
R_{i-1,2} &\text{otherwise}
\end{cases}\\
R_{i,3} &=
\begin{cases}
- H_3\left(R_{2^24(n-1),0}\right) &\text{if }\exists n | i = 2^24n\\
- H_3\left(R_{2^16(m-1),1}\right) &\text{if }\exists m | i = 2^16m\\
+ H_3\left(R_{2^{24}(n-1),0}\right) &\text{if }\exists n | i = 2^{24}n\\
+ H_3\left(R_{2^{16}(m-1),1}\right) &\text{if }\exists m | i = 2^{16}m\\
H_3\left(R_{2^8(p-1),2}\right) &\text{if }\exists p | i = 2^8p\\
H_3\left(R_{i-1,3}\right) &\text{otherwise}
\end{cases}