Use |alignas| more in crypto/chacha/chacha_vec.c.
Commit 75a64c08fc
missed one case where
the GCC syntax should have been replaced with |alignas|.
Change-Id: Iebdaa9c9a2c0aff171f0b5d4daac607e351a4b7e
Reviewed-on: https://boringssl-review.googlesource.com/6974
Reviewed-by: David Benjamin <davidben@google.com>
This commit is contained in:
parent
9333d6df11
commit
f547007332
@ -291,7 +291,7 @@ void CRYPTO_chacha_20(
|
||||
inlen = inlen % 64;
|
||||
if (inlen)
|
||||
{
|
||||
__attribute__ ((aligned (16))) vec buf[4];
|
||||
alignas(16) vec buf[4];
|
||||
vec v0,v1,v2,v3;
|
||||
v0 = s0; v1 = s1; v2 = s2; v3 = s3;
|
||||
for (i = CHACHA_RNDS/2; i; i--)
|
||||
|
Loading…
Reference in New Issue
Block a user