brookman / rusty_chacha

Fast ChaCha20Poly1305 encryption for Flutter powered by Rust
MIT License
2 stars 1 forks source link

Investigate low performance on Apple M1 #8

Closed brookman closed 5 months ago

brookman commented 6 months ago

On MacOS with M1 CPU encryption/decryption is currently 4x slower compared to an Intel CPU system. 250 MiB/s vs. 1 GiB/s

brookman commented 6 months ago

See: https://github.com/RustCrypto/AEADs/issues/601

brookman commented 5 months ago

Thanks to enabling NEON on aarm64 it should now run faster on M1+ and mobile devices.