crypto: Fix initialization of array variable.

There are currently two issues recently observed:
-An array variable is not initialized.
-The 'podev' structure is currently being de-referenced without
verifying if it is NULL or not. Doing that could cause a crash.
This has not been seen before and it is pre-emptive.

Change-Id: I42440d6efc9593bd8f5807a6ffda6a4b2e71818c
Signed-off-by: Ramesh Masavarapu <rameshm@codeaurora.org>
2 files changed