Skip to content

Commit

Permalink
removed commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
jotabulacios committed Nov 4, 2024
1 parent 8ee7116 commit c385cbb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions crypto/src/hash/rescue_prime/rescue_prime_optimized.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ impl Default for RescuePrimeOptimized {
impl RescuePrimeOptimized {
/// Creates a new instance of `RescuePrimeOptimized` with corresponding Security level and the specified MDS method.
pub fn new(security_level: SecurityLevel, mds_method: MdsMethod) -> Result<Self, &'static str> {
/*let (m, capacity) = match security_level {
SecurityLevel::Sec128 => (12, 4),
SecurityLevel::Sec160 => (16, 6),
};*/
let m = get_state_size(&security_level);
let capacity = get_capacity(&security_level);
let rate = m - capacity;
Expand Down

0 comments on commit c385cbb

Please sign in to comment.