diff options
author | Andy Polyakov <appro@openssl.org> | 2017-05-23 14:33:20 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2017-05-26 10:51:16 +0200 |
commit | f83409a69f99f2369c90a4df427dae2317e07d59 (patch) | |
tree | d81b5db357018ab0a084f542a04add6bad942cf1 /crypto/include | |
parent | 6061f80b5c55f03f9604d793cc06917b105bc4bc (diff) |
aria/aria.c: address undefined behaviour warning in small-footprint path.
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3526)
Diffstat (limited to 'crypto/include')
-rw-r--r-- | crypto/include/internal/aria.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; |