rijndael-aesni: fix u128_t strict-aliasing rule breaking
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Sat, 28 Jan 2017 09:26:02 +0000 (11:26 +0200)
committerJussi Kivilinna <jussi.kivilinna@iki.fi>
Sat, 28 Jan 2017 09:26:02 +0000 (11:26 +0200)
commit92b4a29d2453712192ced2d7226abc49679dcb1e
tree4f54ca2fa43b7ad6fec1209b66b557283eac4f5c
parent4f31d816dcc1e95dc647651e92acbdfed53f5c14
rijndael-aesni: fix u128_t strict-aliasing rule breaking

* cipher/rijndael-aesni.c (u128_t): Add attributes to tell GCC and clang
that casting from 'char *' to 'u128_t *' is ok.
--

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
cipher/rijndael-aesni.c