platform: msm_shared: Change crypto init & clean up calls

The API which performs hash calculation also does crypto_init
and cleanup, ideally crypto init & cleanup should be done during
target init & before jumping to hlos respectively.

CRs-Fixed: 584423
Change-Id: Ia724397e82e2ea59788872c84550905bf014eaaf
2 files changed