X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Fsha1-ssse3.asm;h=c3b07abbb32c20b85bc0cb5790d6ffcade82beb0;hb=1286732b50846a3bd4ebde0903e446683503bec3;hp=f8df3e3bbb069a52f43d29d0a9a35e917215bf88;hpb=885632f08c75c1d7bb5d25436231c78f6ad7e0c0;p=wimlib diff --git a/src/sha1-ssse3.asm b/src/sha1-ssse3.asm index f8df3e3b..c3b07abb 100644 --- a/src/sha1-ssse3.asm +++ b/src/sha1-ssse3.asm @@ -8,7 +8,7 @@ ; C++ prototypes of implemented functions are below: ; ; #ifndef INTEL_SHA1_SINGLEBLOCK -; // Updates 20-byte SHA-1 record in 'hash' for 'num_blocks' consequtive 64-byte blocks +; // Updates 20-byte SHA-1 record in 'hash' for 'num_blocks' consecutive 64-byte blocks ; extern "C" void sha1_update_intel(int *hash, const char* input, size_t num_blocks ); ; #else ; // Updates 20-byte SHA-1 record in 'hash' for one 64-byte block pointed by 'input' @@ -493,7 +493,8 @@ rol %1, 30 ;;---------------------- -section .data align=128 +section .data +align 128 %xdefine K1 0x5a827999 %xdefine K2 0x6ed9eba1 @@ -519,7 +520,8 @@ sha1_update_intel_dispatched: DQ sha1_update_intel_init_ ;;---------------------- -section .text align=4096 +section .text +align 4096 SHA1_VECTOR_ASM sha1_update_intel_ssse3_, multiblock @@ -566,4 +568,4 @@ ud2 ;; in the case no default SHA-1 was provided non-SSSE3 CPUs safely fail ret ; END -;---------------------- \ No newline at end of file +;----------------------