Herbert Xu
8c32c516eb
crypto: hash - Zap unaligned buffers
...
Some unaligned buffers on the stack weren't zapped properly which
may cause secret data to be leaked. This patch fixes them by doing
a zero memset.
It is also possible for us to place random kernel stack contents
in the digest buffer if a digest operation fails. This is fixed
by only copying if the operation succeeded.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2009-07-14 21:35:36 +08:00
..
2009-03-25 09:13:25 -07:00
2009-06-25 18:43:48 +08:00
2009-02-18 21:21:24 +08:00
2008-12-25 11:05:13 +11:00
2009-07-14 21:35:36 +08:00
2009-07-09 11:34:06 +08:00
2009-07-07 12:30:33 +08:00
2009-07-03 12:10:47 +08:00
2009-07-14 12:58:15 +08:00
2009-07-14 12:58:07 +08:00
2009-02-18 21:20:06 +08:00
2009-01-27 17:11:15 +11:00
2009-02-19 14:44:02 +08:00
2009-07-14 19:11:32 +08:00
2008-12-25 11:02:07 +11:00
2009-02-19 14:33:40 +08:00
2008-12-25 11:02:28 +11:00
2009-04-15 20:45:03 +08:00
2008-12-25 11:02:03 +11:00
2009-03-04 14:43:52 +08:00
2009-07-14 12:58:04 +08:00
2009-07-14 18:45:45 +08:00
2009-06-21 21:38:03 +08:00
2009-02-17 20:00:11 +08:00
2009-07-14 12:58:07 +08:00
2008-12-25 11:02:16 +11:00
2008-12-25 11:02:18 +11:00
2008-12-25 11:02:24 +11:00
2009-07-14 12:58:15 +08:00
2008-12-25 11:02:09 +11:00
2008-12-25 11:02:10 +11:00
2008-12-25 11:02:12 +11:00
2008-12-25 11:02:13 +11:00
2008-12-25 11:02:30 +11:00
2009-02-09 14:30:25 +11:00
2009-07-11 18:23:33 +08:00
2009-07-11 18:23:34 +08:00
2008-12-25 11:02:27 +11:00
2009-07-14 21:35:36 +08:00
2009-07-14 16:06:54 +08:00
2009-07-02 16:32:12 +08:00
2009-06-02 14:04:46 +10:00
2008-12-25 11:02:21 +11:00
2008-12-25 11:02:22 +11:00
2009-07-14 12:58:06 +08:00
2009-06-15 12:40:10 +02:00
2009-06-02 14:04:56 +10:00