Skip to main content

bee_crypto/ternary/sponge/
kind.rs

1// Copyright 2020-2021 IOTA Stiftung
2// SPDX-License-Identifier: Apache-2.0
3
4/// The different kinds of Sponges.
5#[derive(Copy, Clone, Debug, Eq, PartialEq)]
6pub enum SpongeKind {
7    /// Kerl.
8    Kerl,
9    /// CurlP with 27 rounds.
10    CurlP27,
11    /// CurlP with 81 rounds.
12    CurlP81,
13    /// Unrolled CurlP with 81 rounds.
14    UnrolledCurlP81,
15}