block-ciphers
block-ciphers copied to clipboard
Collection of block cipher algorithms written in pure Rust
Currently the `serpent` crate supports only 128 bit keys. Requested in #315. cc @Antidote1911
The crate `aes` has code conditionally disabled behind the feature `aes_armv8`, but that feature was removed from Cargo.toml [here](https://github.com/RustCrypto/block-ciphers/pull/284/commits/bf53411848d764748e39defb5fc0584360d9c42f#diff-fc5bfcfaef34d32bd387f520b95054a6d2af5f6fd776ed6f67dd549721af323fL31). Furthermore, the crate `aes_gcm`, also maintained by RustCrypto though not part...
Gift
This pull request contains a constant-time software fixslicing implementation of the [GIFT](https://eprint.iacr.org/2017/622.pdf) block cipher, based on the C implementation of the original authors found [here](https://github.com/aadomn/gift/tree/master/crypto_bc/gift128/opt32). Gift is a PRESENT based...
This PR adds support for using `VAES` intrinsics for the `ni` backend for the `aes` 8-fold operations. The change shows a nice speed up on Zen4 CPUs at least. Benchmarks...
Continued from https://github.com/RustCrypto/block-ciphers/pull/397. This PR implements AES for riscv64 using the scalar and vector crypto extensions. The scalar implementation is complete, sans hazmat support. The vector implementation is complete, sans...
This PR implements an AES backend for ARMv9 using the SVE2-AES feature. The overall design is similar to [RVV implementation](https://github.com/RustCrypto/block-ciphers/pull/399) since they are both VLA-style. Most of the comments I...
- x86_64: aesni, avx2 - armv8: crypto-extension, neon
This is inspired by https://github.com/rust-lang/miri/pull/3101 The reason why: People want to write software instruction emulators. They want to be able to run real code on them, not only toy programs....
Part of https://github.com/RustCrypto/block-ciphers/issues/1 Hi there. I implemented rc6. Implementation and documentation are aligned with rc5 implementation. I referred following document for key schedule, encryption and decryption algorithms. https://www.grc.com/r&d/rc6.pdf I checked...