Converting SHA1 TA to digest calculating TA

Change-Id: Ie9b9d4d682ebbd786c8c1596772f7f659a5690bb
Signed-off-by: TanelDettenborn <tanel.dettenborn@intel.com>