chacha-opt
chacha-opt copied to clipboard
Fix {x,}chacha_{armv6,neon} to follow arm calling convention
xchacha_{armv6,neon} corrupts callee-saved register r7. {x,}chacha_{armv6,neon} (temporarily) stores data below %sp, then moves %sp down and expect data to be intact.
I believe this fixes #10 and #6; Changes in chacha_armv6-32.inc and chacha_neon-32.inc are exactly same.