Hacker News new | past | comments | ask | show | jobs | submit login

I wonder if a non-hardware accelerated encryption algorithm is good enough for a FS that also has checksums. The CPU is already busy with checksimming, so doesn't this considerably slow down writes?



Both Chacha20 and Poly1305 are optimized (by design) for running on general purpose CPUs. AES-GCM using AES-NI instructions is still faster, but not that much [0].

[0] https://community.qualys.com/thread/16005


Somewhat counterintuitively, Chacha-Poly is as fast as AES-NI. You could probably go even faster using QuickAssist but most people don't have that.


Depends on your CPU. Desktop/server CPUs are plenty fast enough, but a home NAS might slow down.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: