Home
last modified time | relevance | path

Searched hist:"8 c32c516" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/crypto/
H A Dahash.c8c32c516 Tue Jul 14 08:35:36 CDT 2009 Herbert Xu <herbert@gondor.apana.org.au> 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>
8c32c516 Tue Jul 14 08:35:36 CDT 2009 Herbert Xu <herbert@gondor.apana.org.au> 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>
H A Dshash.c8c32c516 Tue Jul 14 08:35:36 CDT 2009 Herbert Xu <herbert@gondor.apana.org.au> 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>
8c32c516 Tue Jul 14 08:35:36 CDT 2009 Herbert Xu <herbert@gondor.apana.org.au> 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>