Lines Matching refs:AttestationKeySlot

61 const char* GetKeySlotStr(AttestationKeySlot key_slot) {  in GetKeySlotStr()
63 case AttestationKeySlot::kRsa: in GetKeySlotStr()
65 case AttestationKeySlot::kEcdsa: in GetKeySlotStr()
67 case AttestationKeySlot::kEddsa: in GetKeySlotStr()
69 case AttestationKeySlot::kEpid: in GetKeySlotStr()
71 case AttestationKeySlot::kClaimable0: in GetKeySlotStr()
73 case AttestationKeySlot::kSomRsa: in GetKeySlotStr()
75 case AttestationKeySlot::kSomEcdsa: in GetKeySlotStr()
77 case AttestationKeySlot::kSomEddsa: in GetKeySlotStr()
79 case AttestationKeySlot::kSomEpid: in GetKeySlotStr()
138 AttestationKeySlot key_slot, in WriteKeyToStorage()
163 AttestationKeySlot key_slot, in ReadKeyFromStorage()
194 AttestationKeySlot key_slot, in AttestationKeyExists()
208 AttestationKeySlot key_slot, in WriteCertToStorage()
239 AttestationKeySlot key_slot, in ReadCertChainFromStorage()
280 AttestationKeySlot key_slot) { in DeleteCertChainFromStorage()
298 AttestationKeySlot key_slot, in ReadCertChainLength()
311 keymaster_error_t SecureStorageManager::DeleteKey(AttestationKeySlot key_slot, in DeleteKey()
638 if (DeleteKey(AttestationKeySlot::kRsa, false) != KM_ERROR_OK || in DeleteAllAttestationData()
639 DeleteKey(AttestationKeySlot::kEcdsa, false) != KM_ERROR_OK || in DeleteAllAttestationData()
640 DeleteKey(AttestationKeySlot::kEddsa, false) != KM_ERROR_OK || in DeleteAllAttestationData()
641 DeleteKey(AttestationKeySlot::kEpid, false) != KM_ERROR_OK || in DeleteAllAttestationData()
642 DeleteKey(AttestationKeySlot::kClaimable0, false) != KM_ERROR_OK || in DeleteAllAttestationData()
643 DeleteKey(AttestationKeySlot::kSomRsa, false) != KM_ERROR_OK || in DeleteAllAttestationData()
644 DeleteKey(AttestationKeySlot::kSomEcdsa, false) != KM_ERROR_OK || in DeleteAllAttestationData()
645 DeleteKey(AttestationKeySlot::kSomEddsa, false) != KM_ERROR_OK || in DeleteAllAttestationData()
646 DeleteKey(AttestationKeySlot::kSomEpid, false) != KM_ERROR_OK) { in DeleteAllAttestationData()
662 AttestationKeySlot key_slot, in ReadAttestationKey()
684 AttestationKeySlot key_slot, in WriteAttestationKey()
822 AttestationKeySlot key_slots[] = { in TranslateLegacyFormat()
823 AttestationKeySlot::kRsa, AttestationKeySlot::kEcdsa, in TranslateLegacyFormat()
824 AttestationKeySlot::kEddsa, AttestationKeySlot::kEpid, in TranslateLegacyFormat()
825 AttestationKeySlot::kClaimable0, AttestationKeySlot::kSomRsa, in TranslateLegacyFormat()
826 AttestationKeySlot::kSomEcdsa, AttestationKeySlot::kSomEddsa, in TranslateLegacyFormat()
827 AttestationKeySlot::kSomEpid}; in TranslateLegacyFormat()
834 AttestationKeySlot key_slot = key_slots[i]; in TranslateLegacyFormat()
992 AttestationKeySlot key_slot, in LegacyWriteKeyToStorage()
1004 AttestationKeySlot key_slot, in LegacyWriteCertToStorage()