Bug fixed at crypto API TEE_CipherDoFinal function

Change-Id: I8072f7188b0312172c7f04fcf1a11732ab180c41
Signed-off-by: Tanel Dettenborn <dettenbo@cs.helsinki.fi>
Bug fixed at Storage API attribute init functions

Change-Id: I5be73cc23974a38061f993af26284185f0d794f5
Signed-off-by: Tanel Dettenborn <dettenbo@cs.helsinki.fi>