chacha-opt icon indicating copy to clipboard operation
chacha-opt copied to clipboard

Fix {x,}chacha_{armv6,neon} to follow arm calling convention

Open yumkam opened this issue 5 years ago • 0 comments

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.

yumkam avatar Mar 16 '19 21:03 yumkam