Skip to content

Commit

Permalink
sha3: rename Keccak module #132
Browse files Browse the repository at this point in the history
  • Loading branch information
marsella committed Oct 17, 2024
1 parent d1115ad commit bb8cd97
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* @author Marcella Hastings <marcella@galois.com>
*
*/
module Primitive::Keyless::Hash::keccak where
module Primitive::Keyless::Hash::Keccak where

parameter
/**
Expand Down
4 changes: 2 additions & 2 deletions Primitive/Keyless/Hash/SHA3/SHA3.cry
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/
module Primitive::Keyless::Hash::SHA3::SHA3 where
import Primitive::Keyless::Hash::KeccakBitOrdering as KBO
import Primitive::Keyless::Hash::keccak where
import Primitive::Keyless::Hash::Keccak where
type b = 1600
type nr = 24
type c = 2 * digest
Expand All @@ -27,7 +27,7 @@ parameter
* [FIPS-202] Section 6.1.
*
* Note that the specification of `c` is above, in the instantiation of the
* `keccak` module.
* `Keccak` module.
*
* This expects input and produces output in the bit ordering used by the
* `Keccak` spec, where bytes are in MSB order and the bits in each byte are
Expand Down
2 changes: 1 addition & 1 deletion Primitive/Keyless/Hash/SHAKE/SHAKE128.cry
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
*/
module Primitive::Keyless::Hash::SHAKE::SHAKE128 where
import Primitive::Keyless::Hash::keccak where
import Primitive::Keyless::Hash::Keccak where
type b = 1600
type nr = 24
// The capacity is double the security level, so this provides a security
Expand Down
2 changes: 1 addition & 1 deletion Primitive/Keyless/Hash/SHAKE/SHAKE256.cry
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
*/
module Primitive::Keyless::Hash::SHAKE::SHAKE256 where
import Primitive::Keyless::Hash::keccak where
import Primitive::Keyless::Hash::Keccak where
type b = 1600
type nr = 24
// The capacity is double the security level, so this provides a security
Expand Down

0 comments on commit bb8cd97

Please sign in to comment.