Cargo Features

openssl-src has no features set by default.

[dependencies]
openssl-src = { version = "300.4.1+3.4.0", features = ["legacy", "weak-crypto", "camellia", "idea", "seed", "force-engine", "ktls", "no-dso"] }
legacy

Enables compilation of the legacy provider, which must be loaded at runtime to use various uncommon or insecure algorithms.

weak-crypto

Enables compilation of some older algorithms: md2 (hash), rc5 (block cypher) and enabled use of some weaker algorithms in SSL connections. These are generally not recommended for use.

camellia

Enables compilation of the Camellia symmetric key block cypher. Since hardware acceleration for it is not available on most systems, this is not as used as AES.

idea

Enables compilation of International Data Encryption Algorithm (IDEA), a symmetric key block cypher sometimes used as an AES128 alternative.

seed

Enables compilation of SEED, a symmetric key block cypher mostly used in South Korea, but otherwise not widely supported.

force-engine

Forces configuring Engine module support.

ktls

Enable kTLS support

no-dso

Disable DSO API support