Jan Stancek 7bcb87bca2 crypto: testmgr - add guard to dst buffer for ahash_export
Add a guard to 'state' buffer and warn if its consistency after
call to crypto_ahash_export() changes, so that any write that
goes beyond advertised statesize (and thus causing potential
memory corruption [1]) is more visible.

[1] https://marc.info/?l=linux-crypto-vger&m=147467656516085

Signed-off-by: Jan Stancek <jstancek@redhat.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Marcelo Cerri <marcelo.cerri@canonical.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2016-10-02 22:33:43 +08:00
..
2016-07-01 23:45:11 +08:00
2016-07-18 17:35:38 +08:00
2016-07-18 17:35:39 +08:00
2016-07-18 17:35:40 +08:00
2016-07-18 17:35:39 +08:00
2016-07-18 17:35:44 +08:00
2016-08-24 21:04:49 +08:00
2016-07-18 17:35:42 +08:00
2016-08-16 17:16:49 +08:00