X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fsha1-ssse3.asm;h=c3b07abbb32c20b85bc0cb5790d6ffcade82beb0;hp=45f7062faf4dc8a962701435af3b160b7d47610a;hb=8a1b5f46145cc8be56ce09eec1513db079b86bc7;hpb=19ce03addb8071555d951a965fa0bd7e3ae7224b diff --git a/src/sha1-ssse3.asm b/src/sha1-ssse3.asm index 45f7062f..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