msm_shared: Fix crypto eng hash calculation issue

crypto engine was generating incorrect hash for the kernel
image, due to crypto registers not cleared as the crypto reset
did not happen properly. Use memory barriers to ensure writes
are complete to the crypto engine registers.

CRs-Fixed: 355744
Change-Id: Iea1f5cd64ba314ab1490e8705dc45a5ac7c24c23
1 file changed