Crypto cleaning

- Move functions that are not provider-specific to tee_svc_cryp.c:
hash_createdigest(), hash_get_digest_size(), mac_get_digest_size()
- Delete unused function hash_check()