Switch nonce type in chacha_vec.c to uint32_t.
This was suggested in https://boringssl-review.googlesource.com/#/c/3460 but I forgot to upload the change before submitting in Gerrit. Change-Id: I3a333fe2e8880603a9027638dd013f21d8270638
This commit is contained in:
parent
d306f165a4
commit
26c2b929ba
@ -159,7 +159,7 @@ void CRYPTO_chacha_20(
|
|||||||
{
|
{
|
||||||
unsigned iters, i, *op=(unsigned *)out, *ip=(unsigned *)in, *kp;
|
unsigned iters, i, *op=(unsigned *)out, *ip=(unsigned *)in, *kp;
|
||||||
#if defined(__ARM_NEON__)
|
#if defined(__ARM_NEON__)
|
||||||
unsigned np[2];
|
uint32_t np[2];
|
||||||
uint8_t alignment_buffer[16] __attribute__((aligned(16)));
|
uint8_t alignment_buffer[16] __attribute__((aligned(16)));
|
||||||
#endif
|
#endif
|
||||||
vec s0, s1, s2, s3;
|
vec s0, s1, s2, s3;
|
||||||
|
Loading…
Reference in New Issue
Block a user