]> git.karo-electronics.de Git - karo-tx-linux.git/commit
libceph: make sure ceph_aes_crypt() IV is aligned
authorIlya Dryomov <idryomov@gmail.com>
Mon, 16 Jan 2017 18:16:46 +0000 (19:16 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 18 Jan 2017 16:58:45 +0000 (17:58 +0100)
commit124f930b8cbc4ac11236e6eb1c5f008318864588
treeb4278bec0fd61b98b913fefdc7890bedaf1099b6
parent6e09d0fb64402cec579f029ca4c7f39f5c48fc60
libceph: make sure ceph_aes_crypt() IV is aligned

... otherwise the crypto stack will align it for us with a GFP_ATOMIC
allocation and a memcpy() -- see skcipher_walk_first().

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
net/ceph/crypto.c