Browse Source

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>
kris/onging/CECPQ3_patch15
Brian Smith 8 years ago
committed by David Benjamin
parent
commit
f547007332
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      crypto/chacha/chacha_vec.c

+ 1
- 1
crypto/chacha/chacha_vec.c View File

@@ -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…
Cancel
Save