Skip to content

Commit

Permalink
Merge pull request #2877 from vipocenka/fix/typos
Browse files Browse the repository at this point in the history
Fix typos and grammar issues in documentation files
  • Loading branch information
dannywillems authored Dec 16, 2024
2 parents 767ea96 + bfe057d commit 6c674bd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion book/specifications/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ The idea is to keep as much of the specification close to the source, so that mo

The specifications are built into the Mina book, and deployed to Github pages, via [this Github Action](/.github/workflows/website.yml).

The Github Action ensures that the generated specifications that are pushed to the remote repository are also up to date.
The Github Action ensures that the generated specifications that are pushed to the remote repository are also up-to-date.
4 changes: 2 additions & 2 deletions book/src/fundamentals/zkbook_2pc/pap.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The point-and-permute optimization of garbled circuit in [BMR90](https://www.cs.
|$(\one,\zero,\one)$|$\enc_{X_a^1,X_b^1}(X_c^1)$|
|$(\one,\one,\zero)$|$\enc_{X_a^1,X_b^0}(X_c^0)$|

- When the evaluator gets the input label, say $X_a^1,X_b^1$, the evaluator first extracts the `color` bits $(\lsb(X_a^1),\lsb(X_b^1)) = (\one,\zero)$ and decrypts the corresponding ciphertext (the third one in the above example) to get a output label.
- When the evaluator gets the input label, say $X_a^1,X_b^1$, the evaluator first extracts the `color` bits $(\lsb(X_a^1),\lsb(X_b^1)) = (\one,\zero)$ and decrypts the corresponding ciphertext (the third one in the above example) to get an output label.

## Encryption Instantiation
The encryption algorithm is instantiated with hash function (modeled as random oracle) and one-time pad.
Expand All @@ -44,4 +44,4 @@ For security and efficiency reasons, one usually uses tweakable hash functions:
|$(\zero,\zero,\zero)$|$\sH(\gid,X_a^0,X_b^1)\oplus X_c^0$|
|$(\zero,\one,\zero)$|$\sH(\gid,X_a^0,X_b^0)\oplus X_c^0$|
|$(\one,\zero,\one)$|$\sH(\gid,X_a^1,X_b^1)\oplus X_c^1$|
|$(\one,\one,\zero)$|$\sH(\gid,X_a^1,X_b^0)\oplus X_c^0$|
|$(\one,\one,\zero)$|$\sH(\gid,X_a^1,X_b^0)\oplus X_c^0$|
2 changes: 1 addition & 1 deletion book/src/kimchi/final_check.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ $$
\end{align}
$$

So at the end, when we have to check for the identity $f(\zeta) = Z_H(\zeta) t(\zeta)$ we'll actually have to check something like this (I colored the missing parts on the left hand side of the equation):
So at the end, when we have to check for the identity $f(\zeta) = Z_H(\zeta) t(\zeta)$ we'll actually have to check something like this (I colored the missing parts on the left-hand side of the equation):

$$
\begin{align}
Expand Down

0 comments on commit 6c674bd

Please sign in to comment.