[package]
edition = "2024"
rust-version = "1.85"
name = "tc_block_modes"
version = "0.1.0"
build = false
include = [
"src/**",
"tests/**",
"README.md",
"CHANGELOG.md",
"LICENSE-MIT",
"LICENSE-APACHE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ECB, CBC, CFB, OFB and CTR block cipher modes of operation for engines implementing the tc_block_cipher traits."
documentation = "https://docs.rs/tc_block_modes"
readme = "README.md"
keywords = [
"block-cipher",
"cbc",
"ctr",
"cryptography",
"no-std",
]
categories = [
"cryptography",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/TomiCheng/tc_block_cipher"
[package.metadata.docs.rs]
all-features = true
[features]
alloc = ["tc_zeroize/alloc"]
default = []
[lib]
name = "tc_block_modes"
path = "src/lib.rs"
[[test]]
name = "cbc"
path = "tests/cbc.rs"
[[test]]
name = "cfb"
path = "tests/cfb.rs"
[[test]]
name = "common"
path = "tests/common.rs"
[[test]]
name = "ctr"
path = "tests/ctr.rs"
[[test]]
name = "documentation"
path = "tests/documentation.rs"
[[test]]
name = "ecb"
path = "tests/ecb.rs"
[[test]]
name = "ofb"
path = "tests/ofb.rs"
[dependencies.tc_block_cipher]
version = "0.1.0"
[dependencies.tc_zeroize]
version = "0.1.0"
[dev-dependencies.tc_aes]
version = "0.1.0"