diff options
author | Samanta Navarro <ferivoz@riseup.net> | 2020-11-11 11:38:19 +0000 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2020-11-12 11:44:09 -0500 |
commit | 4a0cd79588d2a472ab81e4f1d0e1e1bf6f2b390c (patch) | |
tree | 482e652a53ead4b26e8d97a4854671cdc0df0d61 /src/ext/ed25519 | |
parent | e2d3c9c5f82a1369385dd99765c31ba479ba8f23 (diff) | |
download | tor-4a0cd79588d2a472ab81e4f1d0e1e1bf6f2b390c.tar.gz tor-4a0cd79588d2a472ab81e4f1d0e1e1bf6f2b390c.zip |
Fix typos.
Typos found with codespell.
Please keep in mind that this should have impact on actual code
and must be carefully evaluated:
src/core/or/lttng_circuit.inc
- ctf_enum_value("CONTROLER", CIRCUIT_PURPOSE_CONTROLLER)
+ ctf_enum_value("CONTROLLER", CIRCUIT_PURPOSE_CONTROLLER)
Diffstat (limited to 'src/ext/ed25519')
-rw-r--r-- | src/ext/ed25519/donna/README.md | 10 | ||||
-rw-r--r-- | src/ext/ed25519/donna/fuzz/build-nix.php | 2 | ||||
-rw-r--r-- | src/ext/ed25519/donna/test-internals.c | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/ext/ed25519/donna/README.md b/src/ext/ed25519/donna/README.md index e09fc27e31..aa77651bf4 100644 --- a/src/ext/ed25519/donna/README.md +++ b/src/ext/ed25519/donna/README.md @@ -1,5 +1,5 @@ [ed25519](http://ed25519.cr.yp.to/) is an -[Elliptic Curve Digital Signature Algortithm](http://en.wikipedia.org/wiki/Elliptic_Curve_DSA), +[Elliptic Curve Digital Signature Algorithm](http://en.wikipedia.org/wiki/Elliptic_Curve_DSA), developed by [Dan Bernstein](http://cr.yp.to/djb.html), [Niels Duif](http://www.nielsduif.nl/), [Tanja Lange](http://hyperelliptic.org/tanja), @@ -56,7 +56,7 @@ No configuration is needed **if you are compiling against OpenSSL**. ##### Hash Options -If you are not compiling aginst OpenSSL, you will need a hash function. +If you are not compiling against OpenSSL, you will need a hash function. To use a simple/**slow** implementation of SHA-512, use `-DED25519_REFHASH` when compiling `ed25519.c`. This should never be used except to verify the code works when OpenSSL is not available. @@ -73,7 +73,7 @@ custom hash implementation in ed25519-hash-custom.h. The hash must have a 512bit ##### Random Options -If you are not compiling aginst OpenSSL, you will need a random function for batch verification. +If you are not compiling against OpenSSL, you will need a random function for batch verification. To use a custom random function, use `-DED25519_CUSTOMRANDOM` when compiling `ed25519.c` and put your custom hash implementation in ed25519-randombytes-custom.h. The random function must implement: @@ -170,7 +170,7 @@ signing due to both using the same code for the scalar multiply. #### Testing -Fuzzing against reference implemenations is now available. See [fuzz/README](fuzz/README.md). +Fuzzing against reference implementations is now available. See [fuzz/README](fuzz/README.md). Building `ed25519.c` with `-DED25519_TEST` and linking with `test.c` will run basic sanity tests and benchmark each function. `test-batch.c` has been incorporated in to `test.c`. @@ -180,4 +180,4 @@ with extreme values to ensure they function correctly. SSE2 is now supported. #### Papers -[Available on the Ed25519 website](http://ed25519.cr.yp.to/papers.html)
\ No newline at end of file +[Available on the Ed25519 website](http://ed25519.cr.yp.to/papers.html) diff --git a/src/ext/ed25519/donna/fuzz/build-nix.php b/src/ext/ed25519/donna/fuzz/build-nix.php index c69144ebc9..7f068922d6 100644 --- a/src/ext/ed25519/donna/fuzz/build-nix.php +++ b/src/ext/ed25519/donna/fuzz/build-nix.php @@ -6,7 +6,7 @@ function usage($reason) { echoln("Usage: php build-nix.php [flags]"); - echoln("Flags in parantheses are optional"); + echoln("Flags in parentheses are optional"); echoln(""); echoln(" --bits=[32,64]"); echoln(" --function=[curve25519,ed25519]"); diff --git a/src/ext/ed25519/donna/test-internals.c b/src/ext/ed25519/donna/test-internals.c index fe9db9d669..8afe89d5ed 100644 --- a/src/ext/ed25519/donna/test-internals.c +++ b/src/ext/ed25519/donna/test-internals.c @@ -1,4 +1,4 @@ -/* Tor: Removed, file is inclued in ed25519.c instead. */ +/* Tor: Removed, file is included in ed25519.c instead. */ /* #include <stdio.h> */ /* #include "ed25519-donna.h" */ |