platform: msm_shared: Avoid malloc of large buffers for crypto

Since Malloc of large buffer for crypto fails, use header/trailer
crypto register settings to make unaligned crypto buffers
look aligned.

Change-Id: Iae06f5349f4deb5d55bfad85b2c6f3cceaff2477
CRs-Fixed: 595242
1 file changed