Test: Add key derivation test case in Crypto test

Add key derivation test cases in both secure and non-secure test
suites.
Add a common key derivation test function to support all the test
cases.

Change-Id: I3fd2c1e8bc3ed0a48bf0eb10253524aa4df6378a
Signed-off-by: David Hu <david.hu@arm.com>
6 files changed