diff options
author | lloyd <[email protected]> | 2008-11-24 18:33:58 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-11-24 18:33:58 +0000 |
commit | b2fb5410917afe6126d8326c7c09766395c9819d (patch) | |
tree | dba49f8caba6e933c733e863989a8f6fa4a287ad /src/hash | |
parent | a35c7f3f51a36977a9b39142edad648c450f5573 (diff) |
Wrap code and struct definitions internal to sha1_sse2_imp.cpp in an
anonymous namespace (in particular this should prevent Doxygen for
generating documentation about the v4si union declared there).
Diffstat (limited to 'src/hash')
-rw-r--r-- | src/hash/sha1_sse2/sha1_sse2_imp.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/hash/sha1_sse2/sha1_sse2_imp.cpp b/src/hash/sha1_sse2/sha1_sse2_imp.cpp index 0c48b5de0..b736938c8 100644 --- a/src/hash/sha1_sse2/sha1_sse2_imp.cpp +++ b/src/hash/sha1_sse2/sha1_sse2_imp.cpp @@ -25,6 +25,8 @@ namespace Botan { +namespace { + typedef union { u32bit u32[4]; __m128i u128; @@ -188,6 +190,8 @@ static inline u32bit f60_79(u32bit x, u32bit y, u32bit z) (xt) += ((xe) + rol((xa), 5)); \ } while(0) +} + extern "C" void botan_sha1_sse2_compress(u32bit H[5], const u32bit* inputu) { |