Ilya Dryomov
f5f2c9a0e3
libceph: align session_key and con_secret to 16 bytes
...
crypto_shash_setkey() and crypto_aead_setkey() will do a (small)
GFP_ATOMIC allocation to align the key if it isn't suitably aligned.
It's not a big deal, but at the same time easy to avoid.
The actual alignment requirement is dynamic, queryable with
crypto_shash_alignmask() and crypto_aead_alignmask(), but shouldn't
be stricter than 16 bytes for our algorithms.
Fixes: cd1a677cad
("libceph, ceph: implement msgr2.1 protocol (crc and secure modes)")
Signed-off-by: Ilya Dryomov <idryomov@gmail.com >
2020-12-28 20:34:33 +01:00
..
2020-12-21 10:28:02 -08:00
2020-09-28 00:51:39 -07:00
2020-10-30 11:48:17 -07:00
2020-11-18 16:43:55 -08:00
2020-12-04 08:41:16 +01:00
2020-12-07 17:02:00 +02:00
2020-09-30 08:34:08 -07:00
2020-10-15 12:33:24 -07:00
2020-12-14 18:27:49 -08:00
2020-12-11 22:29:38 -08:00
2020-12-28 20:34:33 +01:00
2020-12-16 11:43:25 -08:00
2020-10-30 11:59:54 -07:00
2020-12-16 11:01:04 -08:00
2020-11-16 08:08:54 -08:00
2020-12-08 11:24:07 -08:00
2020-11-17 14:15:03 -08:00
2020-12-16 13:27:17 -08:00
2020-10-02 19:11:11 -07:00
2020-11-16 08:08:54 -08:00
2020-12-16 11:01:04 -08:00
2020-12-16 11:01:04 -08:00
2020-12-08 15:56:53 -08:00
2020-11-23 18:36:21 -05:00
2020-10-30 11:43:42 -07:00
2020-11-27 17:22:51 -08:00
2020-10-30 11:34:09 -07:00
2020-12-12 10:07:56 -08:00
2020-11-07 10:40:56 -08:00
2020-11-03 12:55:53 -08:00
2020-12-17 10:24:47 -08:00
2020-11-12 17:00:13 -08:00
2020-12-16 11:01:04 -08:00
2020-11-19 19:08:46 -08:00
2020-10-09 20:22:32 -07:00
2020-12-08 16:01:56 -08:00
2020-12-14 17:18:25 -08:00
2020-12-14 19:39:30 -08:00
2020-10-02 19:11:11 -07:00
2020-12-04 10:56:37 -08:00
2020-11-17 15:22:06 -04:00
2020-12-11 12:47:17 +01:00
2020-11-20 10:04:58 -08:00
2020-12-09 16:23:07 -08:00
2020-12-17 10:57:57 -08:00
2020-11-23 17:44:11 -08:00
2020-12-16 13:33:47 -08:00
2020-12-17 12:15:03 -08:00
2020-09-23 17:46:31 -07:00
2020-12-16 12:45:02 -08:00
2020-12-14 19:39:30 -08:00
2020-10-15 18:42:13 -07:00
2020-12-14 19:33:39 -08:00
2020-12-12 10:07:56 -08:00
2020-12-12 17:15:33 -08:00
2020-12-14 15:34:36 -08:00
2020-12-16 11:01:04 -08:00
2020-10-03 00:02:13 -04:00
2020-10-29 19:27:45 +01:00
2020-10-29 19:27:45 +01:00
2020-12-16 12:44:05 -08:00