Skip to content

Fixing misspellings in test vectors and other files #124

Open
@niooss-ledger

Description

@niooss-ledger

Hello,

While searching possible misspellings in some project (secp256k1), I encountered:

src/wycheproof/ecdsa_secp256k1_sha256_bitcoin_test.json:13: occurences ==> occurrences
src/wycheproof/ecdsa_secp256k1_sha256_bitcoin_test.json:50: knowning ==> knowing
src/wycheproof/ecdsa_secp256k1_sha256_bitcoin_test.json:60: knowning ==> knowing
src/wycheproof/ecdsa_secp256k1_sha256_bitcoin_test.json:98: implemenation ==> implementation

This file was copied from the Wycheproof project (testvectors_v1/ecdsa_secp256k1_sha256_bitcoin_test.json) so I am opening an issue here to get the misspellings fixed.

While at it, I ran codespell on the whole project and found some similar misspellings in several test vector files:

testvectors_v1/aes_wrap_test.json:13: becames ==> becomes, became
testvectors_v1/aria_wrap_test.json:13: becames ==> becomes, became
testvectors_v1/camellia_wrap_test.json:13: becames ==> becomes, became
testvectors_v1/dsa_2048_224_sha224_p1363_test.json:12: occurences ==> occurrences
testvectors_v1/dsa_2048_224_sha224_p1363_test.json:22: knowning ==> knowing
testvectors_v1/dsa_2048_224_sha224_test.json:11: occurences ==> occurrences
testvectors_v1/dsa_2048_224_sha224_test.json:37: knowning ==> knowing
testvectors_v1/dsa_2048_224_sha224_test.json:47: knowning ==> knowing
testvectors_v1/dsa_2048_224_sha256_p1363_test.json:12: occurences ==> occurrences
testvectors_v1/dsa_2048_224_sha256_p1363_test.json:22: knowning ==> knowing
testvectors_v1/dsa_2048_224_sha256_test.json:11: occurences ==> occurrences
testvectors_v1/dsa_2048_224_sha256_test.json:37: knowning ==> knowing
testvectors_v1/dsa_2048_224_sha256_test.json:47: knowning ==> knowing

This tool also identified several misspellings in documentation and other files:

BUILD.bazel:67: specifing ==> specifying
BUILD.bazel:87: specifing ==> specifying
BUILD.bazel:140: specifing ==> specifying
BUILD.bazel:160: specifing ==> specifying
doc/aesgcm.md:13: featur ==> feature
doc/aesgcm.md:15: authencation ==> authentication
doc/aesgcm.md:77: returing ==> returning
doc/bib.md:4: thrid ==> third
doc/bib.md:196: condidtions ==> conditions
doc/dh.md:69: possiblity ==> possibility
doc/dh.md:71: chould ==> should, could
doc/ecdh.md:95: compuatation ==> computation
doc/ecdh.md:97: compuation ==> computation
doc/ecdsa.md:22: messag ==> message
doc/files.md:601: inlcude ==> include
doc/formats.md:105: verion ==> version
doc/index.md:9: individial ==> individual
doc/json_web_crypto.md:73: stringly ==> strongly, stringy
doc/rsa.md:23: initalization ==> initialization
doc/rsa.md:296: certifiates ==> certificates
doc/rsa.md:297: distinguised ==> distinguished
doc/rsa.md:432: makeing ==> making
doc/spongycastle.md:18: possbile ==> possible, possibly
doc/spongycastle.md:33: sepcify ==> specify
doc/spongycastle.md:36: initialze ==> initialize
doc/spongycastle.md:37: resuse ==> reuse, refuse, resume
doc/spongycastle.md:125: taht ==> that
doc/types.md:236: unamed ==> unnamed
doc/types.md:886: hasing ==> hashing
doc/types.md:922: ore ==> or
doc/types.md:923: ore ==> or
doc/types.md:931: alternatve ==> alternative
doc/types.md:943: corretly ==> correctly
java/com/google/security/wycheproof/AccpAllTests.java:28: accidential ==> accidental
java/com/google/security/wycheproof/EcUtil.java:56: becuase ==> because
java/com/google/security/wycheproof/EcUtil.java:240: explicitely ==> explicitly
java/com/google/security/wycheproof/EcUtil.java:340: alogorithm ==> algorithm
java/com/google/security/wycheproof/EcUtil.java:340: preferrable ==> preferable
java/com/google/security/wycheproof/EcUtil.java:547: genrator ==> generator
java/com/google/security/wycheproof/TestResult.java:67: compuation ==> computation
java/com/google/security/wycheproof/TestUtil.java:126: acces ==> access
java/com/google/security/wycheproof/TestVectors.java:55: intentially ==> intentionally
...

What would be the best approach to get these misspellings fixed? If it helps, I can submit a Pull Request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions