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

Delta Between Two Patch Sets: Modules/_blake2/impl/blake2-impl.h

Issue 26798: add BLAKE2 to hashlib
Left Patch Set: Created 3 years, 2 months ago
Right Patch Set: Created 3 years, 1 month 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/blake2.h ('k') | Modules/_blake2/impl/blake2s.c » ('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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 130
131 /* prevents compiler optimizing out memset() */ 131 /* prevents compiler optimizing out memset() */
132 BLAKE2_LOCAL_INLINE(void) secure_zero_memory(void *v, size_t n) 132 BLAKE2_LOCAL_INLINE(void) secure_zero_memory(void *v, size_t n)
133 { 133 {
134 static void *(*const volatile memset_v)(void *, int, size_t) = &memset; 134 static void *(*const volatile memset_v)(void *, int, size_t) = &memset;
135 memset_v(v, 0, n); 135 memset_v(v, 0, n);
136 } 136 }
137 137
138 #endif 138 #endif
139 139
LEFTRIGHT

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