]> git.baikalelectronics.ru Git - kernel.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)
commit887b5a8277d3fba21a06647f5dbf1d967ce90ff2
treeb4278bec0fd61b98b913fefdc7890bedaf1099b6
parent739a52717bf134a2a59cca74ebf63897e92fb13f
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