/external/tpm2/ |
H A D | DA.c | 26 gp.failedTries = 0; 28 gp.maxTries = 200; 29 gp.recoveryTime = 1000; // in seconds (~16.67 minutes) 30 gp.lockoutRecovery = 1000; // in seconds 31 gp.lockOutAuthEnabled = TRUE; // Use of lockoutAuth is enabled 33 NvWriteReserved(NV_FAILED_TRIES, &gp.failedTries); 34 NvWriteReserved(NV_MAX_TRIES, &gp.maxTries); 35 NvWriteReserved(NV_RECOVERY_TIME, &gp.recoveryTime); 36 NvWriteReserved(NV_LOCKOUT_RECOVERY, &gp.lockoutRecovery); 37 NvWriteReserved(NV_LOCKOUT_AUTH_ENABLED, &gp [all...] |
H A D | Clear.c | 35 if(gp.disableClear) 41 CryptGenerateRandom(PRIMARY_SEED_SIZE, gp.SPSeed.t.buffer); 44 CryptGenerateRandom(PROOF_SIZE, gp.shProof.t.buffer); 45 CryptGenerateRandom(PROOF_SIZE, gp.ehProof.t.buffer); 51 MemorySet(gp.ownerAuth.t.buffer, 0, gp.ownerAuth.t.size); 52 MemorySet(gp.endorsementAuth.t.buffer, 0, gp.endorsementAuth.t.size); 53 MemorySet(gp.lockoutAuth.t.buffer, 0, gp [all...] |
H A D | ChangeEPS.c | 29 CryptGenerateRandom(PRIMARY_SEED_SIZE, gp.EPSeed.t.buffer); 32 CryptGenerateRandom(PROOF_SIZE, gp.ehProof.t.buffer); 38 MemorySet(gp.endorsementAuth.t.buffer, 0, gp.endorsementAuth.t.size); 40 gp.endorsementAuth.t.size = 0; 43 gp.endorsementAlg = TPM_ALG_NULL; 44 gp.endorsementPolicy.t.size = 0; 53 NvWriteReserved(NV_EP_SEED, &gp.EPSeed); 54 NvWriteReserved(NV_EH_PROOF, &gp.ehProof); 55 NvWriteReserved(NV_ENDORSEMENT_AUTH, &gp [all...] |
H A D | Hierarchy.c | 25 gp.disableClear = FALSE; 27 gp.EPSeed.t.size = PRIMARY_SEED_SIZE; 28 CryptGenerateRandom(PRIMARY_SEED_SIZE, gp.EPSeed.t.buffer); 29 gp.SPSeed.t.size = PRIMARY_SEED_SIZE; 30 CryptGenerateRandom(PRIMARY_SEED_SIZE, gp.SPSeed.t.buffer); 31 gp.PPSeed.t.size = PRIMARY_SEED_SIZE; 32 CryptGenerateRandom(PRIMARY_SEED_SIZE, gp.PPSeed.t.buffer); 34 gp.ownerAuth.t.size = 0; 35 gp.endorsementAuth.t.size = 0; 36 gp [all...] |
H A D | DictionaryAttackParameters.c | 26 gp.maxTries = in->newMaxTries; 27 gp.recoveryTime = in->newRecoveryTime; 28 gp.lockoutRecovery = in->lockoutRecovery; 31 gp.failedTries = 0; 34 NvWriteReserved(NV_FAILED_TRIES, &gp.failedTries); 35 NvWriteReserved(NV_MAX_TRIES, &gp.maxTries); 36 NvWriteReserved(NV_RECOVERY_TIME, &gp.recoveryTime); 37 NvWriteReserved(NV_LOCKOUT_RECOVERY, &gp.lockoutRecovery);
|
H A D | DictionaryAttackLockReset.c | 29 gp.failedTries = 0; 32 NvWriteReserved(NV_FAILED_TRIES, &gp.failedTries);
|
H A D | SetAlgorithmSet.c | 24 gp.algorithmSet = in->algorithmSet; 27 NvWriteReserved(NV_ALGORITHM_SET, &gp.algorithmSet);
|
H A D | ClearControl.c | 38 gp.disableClear = TRUE; 40 gp.disableClear = FALSE; 43 NvWriteReserved(NV_DISABLE_CLEAR, &gp.disableClear);
|
H A D | SetPrimaryPolicy.c | 44 gp.ownerAlg = in->hashAlg; 45 gp.ownerPolicy = in->authPolicy; 46 NvWriteReserved(NV_OWNER_ALG, &gp.ownerAlg); 47 NvWriteReserved(NV_OWNER_POLICY, &gp.ownerPolicy); 50 gp.endorsementAlg = in->hashAlg; 51 gp.endorsementPolicy = in->authPolicy; 52 NvWriteReserved(NV_ENDORSEMENT_ALG, &gp.endorsementAlg); 53 NvWriteReserved(NV_ENDORSEMENT_POLICY, &gp.endorsementPolicy); 62 gp.lockoutAlg = in->hashAlg; 63 gp [all...] |
H A D | ChangePPS.c | 29 CryptGenerateRandom(PRIMARY_SEED_SIZE, gp.PPSeed.t.buffer); 33 CryptGenerateRandom(PROOF_SIZE, gp.phProof.t.buffer); 46 NvWriteReserved(NV_PP_SEED, &gp.PPSeed); 47 NvWriteReserved(NV_PH_PROOF, &gp.phProof); 52 gp.pcrPolicies.hashAlg[i] = TPM_ALG_NULL; 53 gp.pcrPolicies.policy[i].t.size = 0; 55 NvWriteReserved(NV_PCR_POLICIES, &gp.pcrPolicies);
|
H A D | HierarchyChangeAuth.c | 42 gp.ownerAuth = in->newAuth; 43 NvWriteReserved(NV_OWNER_AUTH, &gp.ownerAuth); 46 gp.endorsementAuth = in->newAuth; 47 NvWriteReserved(NV_ENDORSEMENT_AUTH, &gp.endorsementAuth); 55 gp.lockoutAuth = in->newAuth; 56 NvWriteReserved(NV_LOCKOUT_AUTH, &gp.lockoutAuth);
|
H A D | CommandAudit.c | 26 MemorySet(gp.auditComands, 0x00, 33 gp.auditHashAlg = CONTEXT_INTEGRITY_HASH_ALG; 35 gp.auditCounter = 0; 37 NvWriteReserved(NV_AUDIT_COMMANDS, &gp.auditComands); 38 NvWriteReserved(NV_AUDIT_HASH_ALG, &gp.auditHashAlg); 39 NvWriteReserved(NV_AUDIT_COUNTER, &gp.auditCounter); 88 if(!BitIsSet(bitPos, &gp.auditComands[0], sizeof(gp.auditComands))) 91 BitSet(bitPos, &gp.auditComands[0], sizeof(gp [all...] |
H A D | Shutdown.c | 64 gp.orderlyState = TPM_SU_CLEAR; 67 gp.orderlyState = TPM_SU_STATE; 70 gp.orderlyState |= PRE_STARTUP_FLAG; 72 gp.orderlyState |= STARTUP_LOCALITY_3; 77 NvWriteReserved(NV_ORDERLY, &gp.orderlyState); 79 // If PRE_STARTUP_FLAG was SET, then it will stay set in gp.orderlyState even 81 // of gp.orderlyState are to see if it is SHUTDOWN_NONE. So, having 82 // gp.orderlyState set to another value that is also not SHUTDOWN_NONE, is not
|
H A D | Manufacture.c | 69 _plat__GetFwVersion(&gp.firmwareV1, &gp.firmwareV2); 71 gp.firmwareV1 = FIRMWARE_V1; 73 gp.firmwareV2 = FIRMWARE_V2; 75 gp.firmwareV2 = 0; 77 NvWriteReserved(NV_FIRMWARE_V1, &gp.firmwareV1); 78 NvWriteReserved(NV_FIRMWARE_V2, &gp.firmwareV2);
|
H A D | PCR_SetAuthPolicy.c | 45 gp.pcrPolicies.hashAlg[groupIndex] = in->hashAlg; 46 gp.pcrPolicies.policy[groupIndex] = in->authPolicy; 49 NvWriteReserved(NV_PCR_POLICIES, &gp.pcrPolicies);
|
H A D | SetCommandCodeAuditStatus.c | 30 && in->auditAlg != gp.auditHashAlg) 37 gp.auditHashAlg = in->auditAlg; 46 NvWriteReserved(NV_AUDIT_HASH_ALG, &gp.auditHashAlg); 66 NvWriteReserved(NV_AUDIT_COMMANDS, &gp.auditComands);
|
H A D | PP.c | 27 MemorySet(&gp.ppList, 0, 34 NvWriteReserved(NV_PP_LIST, &gp.ppList); 57 gp.ppList[bitPos/8] |= 1 << (bitPos % 8); 83 gp.ppList[bitPos/8] |= (1 << (bitPos % 8)); 85 gp.ppList[bitPos/8] ^= (1 << (bitPos % 8)); 110 return ((gp.ppList[bitPos/8] & (1 << (bitPos % 8))) != 0);
|
/external/libunwind/src/unwind/ |
H A D | GetDataRelBase.c | 33 pi.gp = 0; 35 return pi.gp;
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
H A D | GlobalizationPreferencesTest.java | 41 GlobalizationPreferences gp = new GlobalizationPreferences(); 54 ULocale gpLocale0 = gp.getLocale(0); 61 ULocale gpLocale1 = gp.getLocale(1); 68 ULocale gpLocale2 = gp.getLocale(2); 74 Calendar cal = gp.getCalendar(); 82 Collator coll = gp.getCollator(); 90 BreakIterator brk = gp.getBreakIterator(GlobalizationPreferences.BI_CHARACTER); 99 DateFormat df = gp.getDateFormat(GlobalizationPreferences.DF_FULL, GlobalizationPreferences.DF_NONE); 108 NumberFormat nf = gp.getNumberFormat(GlobalizationPreferences.NF_NUMBER); 119 GlobalizationPreferences gp [all...] |
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/ |
H A D | GlobalizationPreferencesTest.java | 40 GlobalizationPreferences gp = new GlobalizationPreferences(); 53 ULocale gpLocale0 = gp.getLocale(0); 60 ULocale gpLocale1 = gp.getLocale(1); 67 ULocale gpLocale2 = gp.getLocale(2); 73 Calendar cal = gp.getCalendar(); 81 Collator coll = gp.getCollator(); 89 BreakIterator brk = gp.getBreakIterator(GlobalizationPreferences.BI_CHARACTER); 98 DateFormat df = gp.getDateFormat(GlobalizationPreferences.DF_FULL, GlobalizationPreferences.DF_NONE); 107 NumberFormat nf = gp.getNumberFormat(GlobalizationPreferences.NF_NUMBER); 118 GlobalizationPreferences gp [all...] |
/external/e2fsprogs/lib/ext2fs/ |
H A D | get_pathname.c | 50 struct get_pathname_struct *gp; local 54 gp = (struct get_pathname_struct *) priv_data; 57 gp->parent = dirent->inode; 58 if (dirent->inode == gp->search_ino) { 59 retval = ext2fs_get_mem(name_len + 1, &gp->name); 61 gp->errcode = retval; 64 strncpy(gp->name, dirent->name, name_len); 65 gp->name[name_len] = '\0'; 75 struct get_pathname_struct gp; local 95 gp [all...] |
/external/llvm/test/MC/Mips/ |
H A D | cpload.s | 19 # OBJ-O32: lui $gp, 0 21 # OBJ-O32: addiu $gp, $gp, 0 23 # OBJ-O32: addu $gp, $gp, $25 26 # OBJ-N32-NOT: lui $gp, 0 27 # OBJ-N32-NOT: addiu $gp, $gp, 0 28 # OBJ-N32-NOT: addu $gp, $gp, [all...] |
H A D | cpsetup.s | 33 # NXX-NEXT: sd $gp, 8($sp) 34 # NXX-NEXT: lui $gp, 0 37 # NXX-NEXT: addiu $gp, $gp, 0 40 # N64-NEXT: daddu $gp, $gp, $25 47 # NXX-NEXT: ld $gp, 8($sp) 61 # NXX-NEXT: move $2, $gp 62 # NXX-NEXT: lui $gp, 0 65 # NXX-NEXT: addiu $gp, [all...] |
H A D | elf-N64.s | 35 sd $gp, 0($sp) # 8-byte Folded Spill 38 daddiu $gp, $1, %lo(%neg(%gp_rel(main))) 39 ld $1, %got_page($str)($gp) 41 ld $25, %call16(puts)($gp) 45 ld $gp, 0($sp) # 8-byte Folded Reload
|
/external/mesa3d/src/gallium/winsys/i915/drm/ |
H A D | i915_drm_winsys.c | 22 struct drm_i915_getparam gp; local 24 gp.param = I915_PARAM_CHIPSET_ID; 25 gp.value = (int *)device_id; 27 ret = ioctl(fd, DRM_IOCTL_I915_GETPARAM, &gp, sizeof(gp));
|