]> 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)
commitbcf670cd47bd497aa3b0c57f43035a4524b1cad7
treeb4278bec0fd61b98b913fefdc7890bedaf1099b6
parent70ae7e3356c5ce691d3d458d57a2e52f3abbf3e5
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