diff --git a/.github/workflows/workspace.yml b/.github/workflows/workspace.yml index b440d32f..2a2b6cc6 100644 --- a/.github/workflows/workspace.yml +++ b/.github/workflows/workspace.yml @@ -35,3 +35,9 @@ jobs: - name: Run cargo fmt run: cargo fmt --all -- --check + + typos: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: crate-ci/typos@v1.29.4 diff --git a/.typos.toml b/.typos.toml new file mode 100644 index 00000000..ca943cde --- /dev/null +++ b/.typos.toml @@ -0,0 +1,8 @@ +[files] +extend-exclude = [ + ".git/" +] + +[default.extend-words] +"GOST" = "GOST" + diff --git a/blake2/tests/mod.rs b/blake2/tests/mod.rs index 01078800..fc394743 100644 --- a/blake2/tests/mod.rs +++ b/blake2/tests/mod.rs @@ -1,19 +1,24 @@ #[cfg(feature = "reset")] -use digest::dev::{fixed_reset_test as fixed_fn, variable_reset_test as varaible_fn}; +use digest::dev::{fixed_reset_test as fixed_test, variable_reset_test as variable_test}; #[cfg(not(feature = "reset"))] -use digest::dev::{fixed_test as fixed_fn, variable_test as varaible_fn}; +use digest::dev::{fixed_test, variable_test}; use digest::new_test; -new_test!(blake2b_fixed, "blake2b/fixed", blake2::Blake2b512, fixed_fn,); +new_test!( + blake2b_fixed, + "blake2b/fixed", + blake2::Blake2b512, + fixed_test, +); new_test!( blake2b_variable, "blake2b/variable", blake2::Blake2bVar, - varaible_fn, + variable_test, ); new_test!( blake2s_variable, "blake2s/variable", blake2::Blake2sVar, - varaible_fn, + variable_test, ); diff --git a/sha2/CHANGELOG.md b/sha2/CHANGELOG.md index b0d906d6..bc303070 100644 --- a/sha2/CHANGELOG.md +++ b/sha2/CHANGELOG.md @@ -131,7 +131,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## 0.9.1 (2020-06-24) ### Added -- x86 hardware acceleration of SHA-256 via SHA extension instrinsics. ([#167]) +- x86 hardware acceleration of SHA-256 via SHA extension intrinsics. ([#167]) [#167]: https://github.com/RustCrypto/hashes/pull/167