crypto: testmgr - test misuse of result in ahash
authorKamil Konieczny <k.konieczny@partner.samsung.com>
Tue, 16 Jan 2018 14:26:13 +0000 (15:26 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 25 Jan 2018 14:10:29 +0000 (01:10 +1100)
commit466d7b9f6175e4ecd409f619ff9fbbd49467ad66
tree842c245b900ad81257b702f471234ff8c37b9035
parent059bfd1171069025dc134a95f7fcce27483fba41
crypto: testmgr - test misuse of result in ahash

Async hash operations can use result pointer in final/finup/digest,
but not in init/update/export/import, so test it for misuse.

Signed-off-by: Kamil Konieczny <k.konieczny@partner.samsung.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/testmgr.c