aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crypto/memneq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/memneq.c b/crypto/memneq.c
index 570f6f3401ce..afed1bd16aee 100644
--- a/crypto/memneq.c
+++ b/crypto/memneq.c
@@ -108,8 +108,9 @@ static inline unsigned long __crypto_memneq_16(const void *a, const void *b)
108 OPTIMIZER_HIDE_VAR(neq); 108 OPTIMIZER_HIDE_VAR(neq);
109 neq |= *(unsigned int *)(a+12) ^ *(unsigned int *)(b+12); 109 neq |= *(unsigned int *)(a+12) ^ *(unsigned int *)(b+12);
110 OPTIMIZER_HIDE_VAR(neq); 110 OPTIMIZER_HIDE_VAR(neq);
111 } else { 111 } else
112#endif /* CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS */ 112#endif /* CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS */
113 {
113 neq |= *(unsigned char *)(a) ^ *(unsigned char *)(b); 114 neq |= *(unsigned char *)(a) ^ *(unsigned char *)(b);
114 OPTIMIZER_HIDE_VAR(neq); 115 OPTIMIZER_HIDE_VAR(neq);
115 neq |= *(unsigned char *)(a+1) ^ *(unsigned char *)(b+1); 116 neq |= *(unsigned char *)(a+1) ^ *(unsigned char *)(b+1);