Lines Matching refs:entry
184 for (auto& entry : key_description) { in SetAuthorizations() local
185 switch (entry.tag) { in SetAuthorizations()
269 hw_enforced->push_back(entry); in SetAuthorizations()
275 hw_enforced->push_back(entry); in SetAuthorizations()
282 keymaster_key_param_t elem = entry; in SetAuthorizations()
285 elem.enumerated = entry.enumerated & HW_AUTH_PASSWORD; in SetAuthorizations()
289 elem.enumerated |= entry.enumerated & HW_AUTH_FINGERPRINT; in SetAuthorizations()
295 LOG_D("Found usage count limit tag: %u", entry.integer); in SetAuthorizations()
296 if (entry.integer == 1 && has_secure_deletion) { in SetAuthorizations()
298 hw_enforced->push_back(entry); in SetAuthorizations()
301 sw_enforced->push_back(entry); in SetAuthorizations()
315 sw_enforced->push_back(entry); in SetAuthorizations()
344 keymaster_blob_t entry; in BuildHiddenAuthorizations() local
345 if (input_set.GetTagValue(TAG_APPLICATION_ID, &entry)) in BuildHiddenAuthorizations()
346 hidden->push_back(TAG_APPLICATION_ID, entry.data, entry.data_length); in BuildHiddenAuthorizations()
347 if (input_set.GetTagValue(TAG_APPLICATION_DATA, &entry)) in BuildHiddenAuthorizations()
348 hidden->push_back(TAG_APPLICATION_DATA, entry.data, entry.data_length); in BuildHiddenAuthorizations()
969 for (auto& entry : attestation_params) { in VerifyAndCopyDeviceIds() local
970 switch (entry.tag) { in VerifyAndCopyDeviceIds()
973 PROTO_BYTES_DOES_NOT_MATCH_BLOB(entry.blob, ids.brand); in VerifyAndCopyDeviceIds()
974 values_to_attest->push_back(entry); in VerifyAndCopyDeviceIds()
979 PROTO_BYTES_DOES_NOT_MATCH_BLOB(entry.blob, ids.device); in VerifyAndCopyDeviceIds()
980 values_to_attest->push_back(entry); in VerifyAndCopyDeviceIds()
985 PROTO_BYTES_DOES_NOT_MATCH_BLOB(entry.blob, ids.product); in VerifyAndCopyDeviceIds()
986 values_to_attest->push_back(entry); in VerifyAndCopyDeviceIds()
991 PROTO_BYTES_DOES_NOT_MATCH_BLOB(entry.blob, ids.serial); in VerifyAndCopyDeviceIds()
992 values_to_attest->push_back(entry); in VerifyAndCopyDeviceIds()
997 PROTO_BYTES_DOES_NOT_MATCH_BLOB(entry.blob, ids.imei); in VerifyAndCopyDeviceIds()
998 values_to_attest->push_back(entry); in VerifyAndCopyDeviceIds()
1005 entry.blob, ids.second_imei); in VerifyAndCopyDeviceIds()
1006 values_to_attest->push_back(entry); in VerifyAndCopyDeviceIds()
1020 !validate_second_imei(entry.blob, imei_numeric); in VerifyAndCopyDeviceIds()
1025 values_to_attest->push_back(entry); in VerifyAndCopyDeviceIds()
1032 PROTO_BYTES_DOES_NOT_MATCH_BLOB(entry.blob, ids.meid); in VerifyAndCopyDeviceIds()
1033 values_to_attest->push_back(entry); in VerifyAndCopyDeviceIds()
1037 found_mismatch |= PROTO_BYTES_DOES_NOT_MATCH_BLOB(entry.blob, in VerifyAndCopyDeviceIds()
1039 values_to_attest->push_back(entry); in VerifyAndCopyDeviceIds()
1044 PROTO_BYTES_DOES_NOT_MATCH_BLOB(entry.blob, ids.model); in VerifyAndCopyDeviceIds()
1045 values_to_attest->push_back(entry); in VerifyAndCopyDeviceIds()