aboutsummaryrefslogtreecommitdiffstats
path: root/src/hash
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-07-07 20:37:27 +0000
committerlloyd <[email protected]>2009-07-07 20:37:27 +0000
commit5dd07b73e4e5c8f88f9b64273e8e4ab0862a0db8 (patch)
tree5416756616765df2f091905410724f3c66725caf /src/hash
parent431223161669026caf687c6fd69625546a4c46fa (diff)
CPU-specific engines are now only loaded if something depends on them,
and all CPU-specific implementations now depend on the appropriate engine module. The most common problem before with this was that the SSE2 module was built, but the sole SSE2 code (SHA-1) was not (for instance, on an i686). This would cause a compile warning about the unused request object. Preventing unused engines from being built will also (very slightly) speed up the lookup process on most system.
Diffstat (limited to 'src/hash')
-rw-r--r--src/hash/md4_ia32/info.txt1
-rw-r--r--src/hash/md5_ia32/info.txt1
-rw-r--r--src/hash/sha1_amd64/info.txt1
-rw-r--r--src/hash/sha1_ia32/info.txt1
-rw-r--r--src/hash/sha1_sse2/info.txt1
5 files changed, 5 insertions, 0 deletions
diff --git a/src/hash/md4_ia32/info.txt b/src/hash/md4_ia32/info.txt
index b2ad76ca3..e7249ad5f 100644
--- a/src/hash/md4_ia32/info.txt
+++ b/src/hash/md4_ia32/info.txt
@@ -11,6 +11,7 @@ md4_ia32.h
</add>
<requires>
+ia32_eng
asm_ia32
md4
</requires>
diff --git a/src/hash/md5_ia32/info.txt b/src/hash/md5_ia32/info.txt
index 652b50a16..7133e1ddd 100644
--- a/src/hash/md5_ia32/info.txt
+++ b/src/hash/md5_ia32/info.txt
@@ -11,6 +11,7 @@ md5_ia32.h
</add>
<requires>
+ia32_eng
asm_ia32
mdx_hash
utils
diff --git a/src/hash/sha1_amd64/info.txt b/src/hash/sha1_amd64/info.txt
index ad473369a..99435ee7b 100644
--- a/src/hash/sha1_amd64/info.txt
+++ b/src/hash/sha1_amd64/info.txt
@@ -11,6 +11,7 @@ sha1_amd64.h
</add>
<requires>
+amd64_eng
asm_amd64
sha1
utils
diff --git a/src/hash/sha1_ia32/info.txt b/src/hash/sha1_ia32/info.txt
index 45903f2d6..a3e2e878a 100644
--- a/src/hash/sha1_ia32/info.txt
+++ b/src/hash/sha1_ia32/info.txt
@@ -11,6 +11,7 @@ sha1_ia32.h
</add>
<requires>
+ia32_eng
asm_ia32
sha1
utils
diff --git a/src/hash/sha1_sse2/info.txt b/src/hash/sha1_sse2/info.txt
index ac3a98c9f..e33bb1859 100644
--- a/src/hash/sha1_sse2/info.txt
+++ b/src/hash/sha1_sse2/info.txt
@@ -11,6 +11,7 @@ sha1_sse2.h
</add>
<requires>
+sse2_eng
sha1
utils
</requires>