Refactor crypto_sp.c

Add error handling and logging.

Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: Ifea5eeb88093b3b742494d12d79608f1571903ab
1 file changed