MLK-21617: crypto: caam - update SM test error handling
authorHoria Geantă <horia.geanta@nxp.com>
Mon, 6 May 2019 08:22:56 +0000 (11:22 +0300)
committerHoria Geantă <horia.geanta@nxp.com>
Tue, 7 May 2019 05:26:22 +0000 (08:26 +0300)
commit1a6bc92c0c871dfe15fc0cdb9d8461bda2579a0b
treea5cc38530a55bd1ad54ede5e9344b89b86ac1fb6
parent27f95af30e7c712a02e8357e66c3e87a582cff65
MLK-21617: crypto: caam - update SM test error handling

Update SM test module to return an error code in all cases and
based on this print an indication (test passed / failed) to make
test automation easier.

Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Reviewed-by: Iuliana Prodan <iuliana.prodan@nxp.com>
drivers/crypto/caam/sm_test.c