diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-02-09 10:20:03 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-02-09 10:20:03 +0000 |
commit | f4d4c9b6484379be6aaba9ac2b7bc5c39d8a3dc7 (patch) | |
tree | 51ef1707785d9f3eb7668570634b88c10dbc62b2 /src/libcryptobox | |
parent | 369799644bb0536ce104e84eefde3938d4a0abd0 (diff) | |
download | rspamd-f4d4c9b6484379be6aaba9ac2b7bc5c39d8a3dc7.tar.gz rspamd-f4d4c9b6484379be6aaba9ac2b7bc5c39d8a3dc7.zip |
Some more BSD fixes.
Diffstat (limited to 'src/libcryptobox')
-rw-r--r-- | src/libcryptobox/cryptobox.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libcryptobox/cryptobox.c b/src/libcryptobox/cryptobox.c index b99368c5a..d115f79c6 100644 --- a/src/libcryptobox/cryptobox.c +++ b/src/libcryptobox/cryptobox.c @@ -145,8 +145,8 @@ void rspamd_cryptobox_encrypt_nm_inplace (guchar *data, gsize len, const rspamd_nm_t nm, rspamd_sig_t sig) { poly1305_state mac_ctx; - ALIGN(64) guchar subkey[CHACHA_BLOCKBYTES]; - ALIGN(64) chacha_state s; + guchar subkey[CHACHA_BLOCKBYTES]; + chacha_state s; gsize r; xchacha_init (&s, (const chacha_key *)nm, (const chacha_iv24 *)nonce, 20); @@ -168,10 +168,10 @@ gboolean rspamd_cryptobox_decrypt_nm_inplace (guchar *data, gsize len, const rspamd_nonce_t nonce, const rspamd_nm_t nm, const rspamd_sig_t sig) { - ALIGN(64) poly1305_state mac_ctx; - ALIGN(64) guchar subkey[CHACHA_BLOCKBYTES]; + poly1305_state mac_ctx; + guchar subkey[CHACHA_BLOCKBYTES]; rspamd_sig_t mac; - ALIGN(64) chacha_state s; + chacha_state s; gsize r; gboolean ret = TRUE; |