enceve / crypto

The crypto repository contains some additional cryptographic packages for Go
GNU Lesser General Public License v3.0
25 stars 9 forks source link

ChaCha20Poly1305: performance of Seal and Open #15

Open enceve opened 8 years ago

enceve commented 8 years ago

The bottleneck is currently poly1305 (about 400-500 MB/s compared to ChaCha20 with 900 MB/s) The poly1305 Write uses slow non-asm code - So an asm verson for write would speed up the AEAD

enceve commented 8 years ago

The performance for the poly1305.Hash is now quite okay - so remove it from milestone 0.4 and revisit later...