parent
d5115e26c8
commit
9e625a0b2a
@ -365,7 +365,7 @@ do { \
|
|||||||
*/ \
|
*/ \
|
||||||
MAKE4(RED_MUL_MID); \
|
MAKE4(RED_MUL_MID); \
|
||||||
\
|
\
|
||||||
/* substracts x1*h1 and x0*h0 */ \
|
/* subtracts x1*h1 and x0*h0 */ \
|
||||||
tmp0 = _mm_xor_si128(tmp0, lo); \
|
tmp0 = _mm_xor_si128(tmp0, lo); \
|
||||||
tmp0 = _mm_xor_si128(tmp0, hi); \
|
tmp0 = _mm_xor_si128(tmp0, hi); \
|
||||||
tmp0 = _mm_xor_si128(tmp1, tmp0); \
|
tmp0 = _mm_xor_si128(tmp1, tmp0); \
|
||||||
|
@ -134,7 +134,7 @@ int sodium_munlock(void * const addr, const size_t len)
|
|||||||
* either 357 or 361 bytes. For this reason, when using sodium_malloc() to
|
* either 357 or 361 bytes. For this reason, when using sodium_malloc() to
|
||||||
* allocate a crypto_generichash_state structure, padding must be added in
|
* allocate a crypto_generichash_state structure, padding must be added in
|
||||||
* order to ensure proper alignment. crypto_generichash_statebytes()
|
* order to ensure proper alignment. crypto_generichash_statebytes()
|
||||||
* returns the rounded up structure size, and should be prefered to sizeof():
|
* returns the rounded up structure size, and should be preferred to sizeof():
|
||||||
* state = sodium_malloc(crypto_generichash_statebytes());
|
* state = sodium_malloc(crypto_generichash_statebytes());
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user