floodyberry / chacha-opt

Optimized block functions for the ChaCha stream cipher
47 stars 16 forks source link

Fix instruction sizes for yasm 1.3.0 #12

Open chocolacula opened 4 years ago

chocolacula commented 4 years ago

Hello. I added the VS2019 project and fixed yasm 1.3.0 compilation errors. These errors about wrong size instructions with r9 register: r9 is quad word size but vmovd is double word size instruction. I just changed instructions and am not sure that is good or not, but the compiled lib has been tested on few CPU.