From 0eecb81466953d2cbf6af89377f65802dac3ffef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Gallou=C3=ABt?= Date: Wed, 11 Sep 2019 13:14:32 +0000 Subject: [PATCH] aegis256: Remove restrict MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Adrien Gallouët --- .../aegis256/aesni/aead_aegis256_aesni.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/libsodium/crypto_aead/aegis256/aesni/aead_aegis256_aesni.c b/src/libsodium/crypto_aead/aegis256/aesni/aead_aegis256_aesni.c index f85269df..93a37539 100644 --- a/src/libsodium/crypto_aead/aegis256/aesni/aead_aegis256_aesni.c +++ b/src/libsodium/crypto_aead/aegis256/aesni/aead_aegis256_aesni.c @@ -31,7 +31,7 @@ #include static inline void -crypto_aead_aegis256_update(__m128i *const restrict state, +crypto_aead_aegis256_update(__m128i *const state, const __m128i data) { __m128i tmp; @@ -48,7 +48,7 @@ crypto_aead_aegis256_update(__m128i *const restrict state, static void crypto_aead_aegis256_init(const unsigned char *key, const unsigned char *iv, - __m128i *const restrict state) + __m128i *const state) { int i; __m128i k1; @@ -82,7 +82,7 @@ static void crypto_aead_aegis256_tag(unsigned char *mac, unsigned long long mlen, unsigned long long adlen, - __m128i *const restrict state) + __m128i *const state) { int i; __m128i tmp; @@ -104,9 +104,9 @@ crypto_aead_aegis256_tag(unsigned char *mac, } static void -crypto_aead_aegis256_enc(unsigned char *const restrict dst, - const unsigned char *const restrict src, - __m128i *const restrict state) +crypto_aead_aegis256_enc(unsigned char *const dst, + const unsigned char *const src, + __m128i *const state) { __m128i msg; __m128i tmp; @@ -122,9 +122,9 @@ crypto_aead_aegis256_enc(unsigned char *const restrict dst, } static void -crypto_aead_aegis256_dec(unsigned char *const restrict dst, - const unsigned char *const restrict src, - __m128i *const restrict state) +crypto_aead_aegis256_dec(unsigned char *const dst, + const unsigned char *const src, + __m128i *const state) { __m128i msg;