Eric Biggers
73bf20ef3d
crypto: vmac - require a block cipher with 128-bit block size
...
The VMAC template assumes the block cipher has a 128-bit block size, but
it failed to check for that. Thus it was possible to instantiate it
using a 64-bit block size cipher, e.g. "vmac(cast5)", causing
uninitialized memory to be used.
Add the needed check when instantiating the template.
Fixes: f1939f7c5645 ("crypto: vmac - New hash algorithm for intel_txt support")
Cc: <stable@vger.kernel.org> # v2.6.32+
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2018-07-01 21:00:41 +08:00
..
2018-06-15 18:10:01 -03:00
2017-11-02 11:10:55 +01:00
2018-01-12 23:03:39 +11:00
2018-05-19 00:13:58 +08:00
2018-06-22 23:03:06 +08:00
2018-05-19 00:13:58 +08:00
2018-05-19 00:13:58 +08:00
2017-06-19 14:11:53 +08:00
2018-06-06 17:27:14 -07:00
2018-03-31 01:34:19 +08:00
2018-04-21 00:58:32 +08:00
2017-10-07 12:10:34 +08:00
2018-06-12 16:19:22 -07:00
2018-05-26 09:16:44 +02:00
2018-05-26 09:16:44 +02:00
2018-06-12 16:19:22 -07:00
2018-04-21 00:24:02 +08:00
2018-04-21 00:58:30 +08:00
2018-04-21 00:58:30 +08:00
2017-11-29 17:33:29 +11:00
2017-11-29 17:33:25 +11:00
2017-11-29 17:33:25 +11:00
2017-11-29 17:33:25 +11:00
2017-11-03 21:35:35 +08:00
2018-04-21 00:58:34 +08:00
2017-11-29 17:33:33 +11:00
2017-12-22 19:02:33 +11:00
2018-04-21 00:58:34 +08:00
2018-05-27 00:12:09 +08:00
2018-05-27 00:12:08 +08:00
2018-01-12 23:03:35 +11:00
2018-02-15 23:26:50 +08:00
2018-02-15 23:26:47 +08:00
2018-04-21 00:58:34 +08:00
2018-04-21 00:58:34 +08:00
2017-11-10 19:20:17 +08:00
2017-11-10 19:20:22 +08:00
2018-04-21 00:57:00 +08:00
2017-11-02 11:10:55 +01:00
2018-04-21 00:58:29 +08:00
2018-04-21 00:58:29 +08:00
2017-10-12 22:55:00 +08:00
2018-04-21 00:58:29 +08:00
2017-12-22 19:52:45 +11:00
2017-12-22 19:29:08 +11:00
2017-12-22 19:52:40 +11:00
2018-01-12 23:03:38 +11:00
2017-11-29 13:39:15 +11:00
2018-03-31 01:32:58 +08:00
2018-05-31 00:13:57 +08:00
2017-11-29 17:33:26 +11:00
2018-03-31 01:33:10 +08:00
2018-05-31 00:13:41 +08:00
2018-02-15 23:26:45 +08:00
2018-03-31 01:33:09 +08:00
2018-03-31 01:33:09 +08:00
2018-05-19 00:15:00 +08:00
2018-05-19 00:15:00 +08:00
2018-04-21 00:58:34 +08:00
2017-12-22 19:02:47 +11:00
2018-01-12 23:03:14 +11:00
2018-05-16 07:23:35 +02:00
2017-11-02 11:10:55 +01:00
2017-09-22 17:43:28 +08:00
2017-09-22 17:43:28 +08:00
2017-09-22 17:43:28 +08:00
2017-09-22 17:43:28 +08:00
2017-07-28 17:56:00 +08:00
2018-04-07 19:04:02 +09:00
2018-02-15 23:26:47 +08:00
2018-04-21 00:58:37 +08:00
2018-05-31 00:13:57 +08:00
2018-01-06 09:18:00 -07:00
2017-12-22 19:52:45 +11:00
2017-08-09 20:17:54 +08:00
2018-03-09 23:19:56 +01:00
2018-06-22 23:03:05 +08:00
2018-01-12 23:03:37 +11:00
2018-03-03 00:03:17 +08:00
2018-01-12 23:03:39 +11:00
2017-09-22 17:43:07 +08:00
2018-05-05 14:52:51 +08:00
2018-02-22 22:16:54 +08:00
2018-05-27 00:12:10 +08:00
2018-06-12 16:19:22 -07:00
2018-05-31 00:13:39 +08:00
2017-11-29 17:33:25 +11:00
2017-11-29 17:33:25 +11:00
2018-07-01 21:00:41 +08:00
2017-11-29 17:33:25 +11:00
2017-11-15 18:21:04 -08:00
2018-03-03 00:03:33 +08:00
2018-04-21 00:58:30 +08:00