Skip to content

Commit

Permalink
save work, refactor and solved some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jotabulacios committed Oct 21, 2024
1 parent fd293b2 commit cbd20dd
Show file tree
Hide file tree
Showing 6 changed files with 1,447 additions and 813 deletions.
2 changes: 1 addition & 1 deletion crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ criterion = "0.4"
iai-callgrind.workspace = true
rand = "0.8.5"
rand_chacha = "0.3.1"
proptest = "1.5.0"

[features]
default = ["asm", "std"]
asm = ["sha3/asm"]
Expand Down
10 changes: 10 additions & 0 deletions crypto/src/hash/rescue_prime/mds_method.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#[derive(Clone)]
#[allow(dead_code)]
pub enum MdsMethod {
/// Use standard matrix multiplication.
MatrixMultiplication,
/// Use Number Theoretic Transform for multiplication.
Ntt,
/// Use Karatsuba algorithm for multiplication.
Karatsuba,
}
Loading

0 comments on commit cbd20dd

Please sign in to comment.