Move attestation related code to seperate compilation unit
Attestation related functions from KeymasterContext are never called by
AndroidKeymaster but rather by the code that imiplmenets attestation.
Therefore, this patch moves this interface from KeymasterContext to
AttestationRecordContext in attestation_record.h.
Also
- Move attestation key material to contexts/soft_attestation_certs for
reuse by other contexts.
- Moved attestation related code from asymmetric_key to
attestation_utils.
Test: VtsHalKeymasterV3_0TargetTest
Bug: 67358942
Change-Id: I38ed66f69629893783dc639166855963ae7b43f6
19 files changed