diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-10-16 12:50:56 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-10-16 12:50:56 +0100 |
commit | 006ac63208cdba554688083ecd1a5fc4031ba987 (patch) | |
tree | c77324d34d44ea41fea433c33f3df56432427b62 /src/libutil/keypair_private.h | |
parent | fb2c15a39a8fc4321a3658c6fec96f6f8bee64a8 (diff) | |
download | rspamd-006ac63208cdba554688083ecd1a5fc4031ba987.tar.gz rspamd-006ac63208cdba554688083ecd1a5fc4031ba987.zip |
Slightly optimize alignment
Diffstat (limited to 'src/libutil/keypair_private.h')
-rw-r--r-- | src/libutil/keypair_private.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libutil/keypair_private.h b/src/libutil/keypair_private.h index ac70f25e6..757dabb6b 100644 --- a/src/libutil/keypair_private.h +++ b/src/libutil/keypair_private.h @@ -30,11 +30,11 @@ #include "blake2.h" #include "cryptobox.h" -struct rspamd_http_keypair { +struct RSPAMD_ALIGNED(32) rspamd_http_keypair { guchar pk[rspamd_cryptobox_PKBYTES]; - guchar sk[rspamd_cryptobox_SKBYTES]; + guchar RSPAMD_ALIGNED(32) sk[rspamd_cryptobox_SKBYTES]; guchar id[BLAKE2B_OUTBYTES]; - guchar nm[rspamd_cryptobox_NMBYTES]; + guchar RSPAMD_ALIGNED(32) nm[rspamd_cryptobox_NMBYTES]; gboolean has_nm; ref_entry_t ref; }; |