Add security level parameter to keymaster factory

With this patch we can create reference hals that pretend to be
secure keymaster implementations. This is only to make Keystore happy
It will not pose a security risk because the pretending instances don't
have the right attestation certificate to impersonate an actual secure
implementation.

Change-Id: Ied79884a7cf354652c48bb7d7cd9385f26ad91d2
2 files changed