diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-08 12:01:40 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-08 12:01:40 +0100 |
commit | 3ca23c0c0ac6a1b649ebf7bd8bf776e19cbb607e (patch) | |
tree | 24fec3f511ee2c510befec88365ee2a91f728b2d /src/libcryptobox/siphash | |
parent | a11b0abee850775231485d478a8f6e0d963ff6d1 (diff) | |
download | rspamd-3ca23c0c0ac6a1b649ebf7bd8bf776e19cbb607e.tar.gz rspamd-3ca23c0c0ac6a1b649ebf7bd8bf776e19cbb607e.zip |
Check for SSE3, SSSE3 and SSE4.1 instructions.
Diffstat (limited to 'src/libcryptobox/siphash')
-rw-r--r-- | src/libcryptobox/siphash/siphash.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/libcryptobox/siphash/siphash.c b/src/libcryptobox/siphash/siphash.c index 68c4ba1cc..f4c8a1854 100644 --- a/src/libcryptobox/siphash/siphash.c +++ b/src/libcryptobox/siphash/siphash.c @@ -144,10 +144,11 @@ siphash24_test (void) { { 0x72, 0x45, 0x06, 0xeb, 0x4c, 0x32, 0x8a, 0x95, } }; unsigned char in[64]; - static const unsigned char k[] = - {'\000', '\001', '\002', '\003', '\004', - '\005', '\006', '\007', '\010', '\011', - '\012', '\013', '\014', '\015', '\016', '\017'}; + static const unsigned char k[] ={ + '\000', '\001', '\002', '\003', '\004', + '\005', '\006', '\007', '\010', '\011', + '\012', '\013', '\014', '\015', '\016', '\017' + }; size_t i, cycles; union { guint64 m; |