diff options
author | Eric Biggers <ebiggers@google.com> | 2019-03-31 23:04:19 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-04-08 09:42:55 +0300 |
commit | c5c46887cfe7d0dff743d9eda7c91de625e96960 (patch) | |
tree | 668913b19acf6a31a5a2a19024c96c942528be00 /crypto/cts.c | |
parent | 5e27f38f1f3f45a0c938299c3a34a2d2db77165a (diff) | |
download | linux-c5c46887cfe7d0dff743d9eda7c91de625e96960.tar.xz |
crypto: streebog - fix unaligned memory accesses
Don't cast the data buffer directly to streebog_uint512, as this
violates alignment rules.
Fixes: fe18957e8e87 ("crypto: streebog - add Streebog hash function")
Cc: Vitaly Chikunov <vt@altlinux.org>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Vitaly Chikunov <vt@altlinux.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/cts.c')
0 files changed, 0 insertions, 0 deletions