Re: [PATCH 4/6] crypto: sha256 - Use get_unaligned_be32 to get input, memzero_explicit

2019-08-16 Thread Eric Biggers
On Fri, Aug 16, 2019 at 11:16:09PM +0200, Hans de Goede wrote: > Use get_unaligned_be32 in the lib/crypto/sha256.c sha256_transform() > implementation so that it can be used with unaligned buffers too, > making it more generic. > > And use memzero_explicit for better clearing of sensitive data. >

[PATCH 4/6] crypto: sha256 - Use get_unaligned_be32 to get input, memzero_explicit

2019-08-16 Thread Hans de Goede
Use get_unaligned_be32 in the lib/crypto/sha256.c sha256_transform() implementation so that it can be used with unaligned buffers too, making it more generic. And use memzero_explicit for better clearing of sensitive data. Note unlike other patches in this series this commit actually makes functi