Moving object generation to own function and adding crypto_update tests
Moving object generation to own function and adding crypto_update tests

Change-Id: Ieb591eb4d2a00ee303ddff7fc8a7d8f1d646957a
Signed-off-by: TanelDettenborn <b78e06a93b55ca1de0e9b602be506ea7b7368e0f@intel.com>

Open-TEE/tests,Open-TEE/tests