-
Notifications
You must be signed in to change notification settings - Fork 262
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
25 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[files] | ||
extend-exclude = [ | ||
".git/" | ||
] | ||
|
||
[default.extend-words] | ||
"GOST" = "GOST" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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, | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters