6 releases (breaking)
0.4.1 | Feb 2, 2025 |
---|---|
0.4.0 | Jan 23, 2025 |
0.3.0 | Jan 9, 2025 |
0.2.0 | Dec 22, 2024 |
0.0.0 | Nov 22, 2024 |
#717 in Cryptography
281 downloads per month
73KB
1.5K
SLoC
ZUC
Documentation: https://docs.rs/zuc
Goals
- Correct: Our implementation exactly matches the specification.
- Fast: We are happy to make the performance as high as possible.
- Safe: No
unsafe
code by default, unless you enable corresponding features. - RustCrypto compatible: You can use it with RustCrypto trait definitions.
References
Standards
- ZUC 128: GB/T 33133.1-2016
- 128-EEA3: GB/T 33133.2-2021, EEA3-EIA3-specification
- 128-EIA3: GB/T 33133.3-2021, EEA3-EIA3-specification
- ZUC 256: ZUC256-version1.1
- ZUC 256 Addendum: ZUC256-addendum (unimplemented)
- ZUC 256 New Initialization: ZUC256-new-initialization (unimplemented)
Related Projects
- https://github.com/CrayfishGo/gm-rs
- https://github.com/guanzhi/GmSSL
- https://github.com/emmansun/gmsm
- https://github.com/intel/intel-ipsec-mb
- https://github.com/Tongsuo-Project/Tongsuo
Contributing
Dependencies
~1.1–1.7MB
~40K SLoC