summaryrefslogtreecommitdiffstats
path: root/src/crypto
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-12-01 03:18:27 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-12-01 03:18:27 +0100
commite8d93e2c7a95a61d433507947ae25a2b5f21cb73 (patch)
treeaf3b1786ca519629666f2f91170afe73c4acab46 /src/crypto
parent57d5ec7368773242a26bad69885d86a65af7b142 (diff)
downloadfastd-e8d93e2c7a95a61d433507947ae25a2b5f21cb73.tar
fastd-e8d93e2c7a95a61d433507947ae25a2b5f21cb73.zip
Remove a few `aligned' attributes that don't make sense
Diffstat (limited to 'src/crypto')
-rw-r--r--src/crypto/cipher/salsa20/nacl/salsa20_nacl.c2
-rw-r--r--src/crypto/cipher/salsa2012/nacl/salsa2012_nacl.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/crypto/cipher/salsa20/nacl/salsa20_nacl.c b/src/crypto/cipher/salsa20/nacl/salsa20_nacl.c
index fafc282..d2f1538 100644
--- a/src/crypto/cipher/salsa20/nacl/salsa20_nacl.c
+++ b/src/crypto/cipher/salsa20/nacl/salsa20_nacl.c
@@ -29,7 +29,7 @@
#include <crypto_stream_salsa20.h>
-struct __attribute__((aligned(16))) fastd_cipher_state {
+struct fastd_cipher_state {
uint8_t key[crypto_stream_salsa20_KEYBYTES];
};
diff --git a/src/crypto/cipher/salsa2012/nacl/salsa2012_nacl.c b/src/crypto/cipher/salsa2012/nacl/salsa2012_nacl.c
index 69862f7..2739f95 100644
--- a/src/crypto/cipher/salsa2012/nacl/salsa2012_nacl.c
+++ b/src/crypto/cipher/salsa2012/nacl/salsa2012_nacl.c
@@ -29,7 +29,7 @@
#include <crypto_stream_salsa2012.h>
-struct __attribute__((aligned(16))) fastd_cipher_state {
+struct fastd_cipher_state {
uint8_t key[crypto_stream_salsa2012_KEYBYTES];
};