summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-12-12 05:01:29 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2016-12-12 05:01:29 +0100
commit26e3b9b54fd2cb2dd5b7ca96c762e90d0bec65aa (patch)
treeb9a26c2452a1540b4acbbb4ae79043e999c7db6d
parent2af27f772b6a487bcb29673a9b3f8fd551acc34b (diff)
messages: remove unused constants
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--src/messages.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/messages.h b/src/messages.h
index 2a0c736..e39bdab 100644
--- a/src/messages.h
+++ b/src/messages.h
@@ -106,8 +106,6 @@ struct message_data {
#define message_data_len(plain_len) (noise_encrypted_len(plain_len) + sizeof(struct message_data))
enum message_alignments {
- MESSAGE_DATA_TARGET_OFFSET = sizeof(struct message_data),
- MESSAGE_DATA_TARGET_OPTIMAL_ALIGNMENT = 32, /* Per intel AVX recommendations */
MESSAGE_PADDING_MULTIPLE = 16,
MESSAGE_MINIMUM_LENGTH = message_data_len(0)
};