[app][hwcrypto] Fix a bug in derive_key_v1

Return proper error code in case of failure.

Change-Id: I757f39ff6b3b45f3d688e1bad03fc2f84e3a08b1
1 file changed
tree: 50b59cd9bf8b1920b5b56eda3897009d2f889f8d
  1. app/
  2. platform/
  3. target/