From f83409a69f99f2369c90a4df427dae2317e07d59 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Tue, 23 May 2017 14:33:20 +0200 Subject: aria/aria.c: address undefined behaviour warning in small-footprint path. Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/3526) --- crypto/include/internal/aria.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crypto/include') diff --git a/crypto/include/internal/aria.h b/crypto/include/internal/aria.h index 59b6f4f6e5..116f3ce974 100644 --- a/crypto/include/internal/aria.h +++ b/crypto/include/internal/aria.h @@ -37,6 +37,8 @@ typedef union { unsigned int u[ARIA_BLOCK_SIZE / sizeof(unsigned int)]; } ARIA_u128; +typedef unsigned char ARIA_c128[ARIA_BLOCK_SIZE]; + struct aria_key_st { ARIA_u128 rd_key[ARIA_MAX_KEYS]; unsigned int rounds; -- cgit v1.2.3