From 04beb6dc3ca878aab48f283c1dc6699ca6a8a27b Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 27 Jan 2014 16:50:00 +0100 Subject: Add an aligned uint8_t type data_t and use it to ensure the alignment of various buffers on the stack --- src/methods/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/methods/common.h') diff --git a/src/methods/common.h b/src/methods/common.h index b01401b..76fcb75 100644 --- a/src/methods/common.h +++ b/src/methods/common.h @@ -108,7 +108,7 @@ static inline bool fastd_method_handle_common_header(fastd_context_t *ctx, const } -static inline void fastd_method_expand_nonce(uint8_t *buf, const uint8_t nonce[COMMON_NONCEBYTES], size_t len) { +static inline void fastd_method_expand_nonce(data_t *buf, const uint8_t nonce[COMMON_NONCEBYTES], size_t len) { if (!len) return; -- cgit v1.2.3