1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// SPDX-FileCopyrightText: 2026 Shun Sakai
//
// SPDX-License-Identifier: Apache-2.0 OR MIT
//! Utilities for the [KCipher-2] stream cipher.
//!
//! [KCipher-2]: https://en.wikipedia.org/wiki/KCipher-2
use crateconsts;
/// The operation mode.
/// A non-linear function as defined in [RFC 7008 Section 2.4.1].
///
/// [RFC 7008 Section 2.4.1]: https://datatracker.ietf.org/doc/html/rfc7008#section-2.4.1
pub const
/// A substitution function as defined in [RFC 7008 Section 2.4.2].
///
/// [RFC 7008 Section 2.4.2]: https://datatracker.ietf.org/doc/html/rfc7008#section-2.4.2