diff options
author | Cristian Stoica <cristian.stoica@freescale.com> | 2014-08-14 12:51:57 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-08-25 14:34:06 +0200 |
commit | 4451d494b1910bf7b7f8381a637d0fe6d2142467 (patch) | |
tree | 271b6bcf0b8667e6fc370f91ffa04043b18a2c5e /crypto/drbg.c | |
parent | crypto: caam - remove duplicated sg copy functions (diff) | |
download | linux-4451d494b1910bf7b7f8381a637d0fe6d2142467.tar.xz linux-4451d494b1910bf7b7f8381a637d0fe6d2142467.zip |
crypto: caam - fix addressing of struct member
buf_0 and buf_1 in caam_hash_state are not next to each other.
Accessing buf_1 is incorrect from &buf_0 with an offset of only
size_of(buf_0). The same issue is also with buflen_0 and buflen_1
Cc: <stable@vger.kernel.org> # 3.13+
Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/drbg.c')
0 files changed, 0 insertions, 0 deletions