Cargo Features
gmssl-src has no features set by default.
[dependencies]
gmssl-src = { version = "0.1.0", features = ["legacy", "weak-crypto", "camellia", "idea", "seed"] }
- 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.