Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(42125)

Delta Between Two Patch Sets: Modules/_blake2/impl/blake2s-load-sse41.h

Issue 26798: add BLAKE2 to hashlib
Left Patch Set: Created 3 years, 1 month ago
Right Patch Set: Created 3 years ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Modules/_blake2/impl/blake2s-load-sse2.h ('k') | Modules/_blake2/impl/blake2s-load-xop.h » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
1 /* 1 /*
2 BLAKE2 reference source code package - optimized C implementations 2 BLAKE2 reference source code package - optimized C implementations
3 3
4 Copyright 2012, Samuel Neves <sneves@dei.uc.pt>. You may use this under the 4 Copyright 2012, Samuel Neves <sneves@dei.uc.pt>. You may use this under the
5 terms of the CC0, the OpenSSL Licence, or the Apache Public License 2.0, at 5 terms of the CC0, the OpenSSL Licence, or the Apache Public License 2.0, at
6 your option. The terms of these licenses can be found at: 6 your option. The terms of these licenses can be found at:
7 7
8 - CC0 1.0 Universal : http://creativecommons.org/publicdomain/zero/1.0 8 - CC0 1.0 Universal : http://creativecommons.org/publicdomain/zero/1.0
9 - OpenSSL license : https://www.openssl.org/source/license.html 9 - OpenSSL license : https://www.openssl.org/source/license.html
10 - Apache 2.0 : http://www.apache.org/licenses/LICENSE-2.0 10 - Apache 2.0 : http://www.apache.org/licenses/LICENSE-2.0
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 buf = _mm_shuffle_epi32(t2,_MM_SHUFFLE(3,0,2,1)); 222 buf = _mm_shuffle_epi32(t2,_MM_SHUFFLE(3,0,2,1));
223 223
224 #define LOAD_MSG_9_4(buf) \ 224 #define LOAD_MSG_9_4(buf) \
225 t0 = _mm_blend_epi16(m3,m2,0xC0); \ 225 t0 = _mm_blend_epi16(m3,m2,0xC0); \
226 t1 = _mm_unpacklo_epi32(m0,m3); \ 226 t1 = _mm_unpacklo_epi32(m0,m3); \
227 t2 = _mm_blend_epi16(t0,t1,0x0F); \ 227 t2 = _mm_blend_epi16(t0,t1,0x0F); \
228 buf = _mm_shuffle_epi32(t2,_MM_SHUFFLE(0,1,2,3)); 228 buf = _mm_shuffle_epi32(t2,_MM_SHUFFLE(0,1,2,3));
229 229
230 #endif 230 #endif
231 231
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+