Use preallocated parts of the HASH struct
Use preallocated parts of the HASH struct

When OpenSSL's macro allocates the HASH struct, it allocates the fields
as well. After this allocation, the prior code would assign over the
pointers inside the HASH struct, leaking these fields. This patch
avoids allocating extra copies of these members.

Change-Id: I50a38b0a04b52ec54d6388db0f694feb578d2818
Signed-off-by: Jimmy Brisson <de33656aa60791325e53378be66c520c3736548a@arm.com>

achingupta/arm-trusted-firmware,achingupta/arm-trusted-firmware