Home
last modified time | relevance | path

Searched refs:sensitive (Results 1 – 25 of 552) sorted by relevance

12345678910>>...23

/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptUtil.c64 &signKey->sensitive.sensitive.bits.b); in CryptHmacSign()
127 TPMT_SENSITIVE *sensitive, // OUT: sensitive area in CryptGenerateKeyedHash() argument
170 MemoryCopy2B(&sensitive->sensitive.bits.b, &sensitiveCreate->data.b, in CryptGenerateKeyedHash()
171 sizeof(sensitive->sensitive.bits.t.buffer)); in CryptGenerateKeyedHash()
177 sensitive->sensitive.bits.t.size = in CryptGenerateKeyedHash()
178 DRBG_Generate(rand, sensitive->sensitive.bits.t.buffer, digestSize); in CryptGenerateKeyedHash()
179 if(sensitive->sensitive.bits.t.size == 0) in CryptGenerateKeyedHash()
313 TPMT_SENSITIVE *sensitive, // OUT: sensitive area in CryptGenerateKeySymmetric() argument
330 MemoryCopy2B(&sensitive->sensitive.sym.b, &sensitiveCreate->data.b, in CryptGenerateKeySymmetric()
331 sizeof(sensitive->sensitive.sym.t.buffer)); in CryptGenerateKeySymmetric()
[all …]
DCryptDes.c161 TPMT_SENSITIVE *sensitive, // OUT: sensitive area in CryptGenerateKeyDes() argument
168 sensitive->sensitive.sym.t.size = in CryptGenerateKeyDes()
172 BYTE *pK = sensitive->sensitive.sym.t.buffer; in CryptGenerateKeyDes()
173 int i = (sensitive->sensitive.sym.t.size + 7) / 8; in CryptGenerateKeyDes()
175 if(DRBG_Generate(rand, pK, sensitive->sensitive.sym.t.size) == 0) in CryptGenerateKeyDes()
183 } while(!CryptDesValidateKey(&sensitive->sensitive.sym)); in CryptGenerateKeyDes()
DRsaKeyCache.c129 TPMT_SENSITIVE *sensitive, in InitializeKeyCache() argument
143 OK = (CryptRsaGenerateKey(publicArea, sensitive, rand) == TPM_RC_SUCCESS); in InitializeKeyCache()
147 s_rsaKeyCache[index].privateExponent = sensitive->sensitive.rsa; in InitializeKeyCache()
191 TPMT_SENSITIVE *sensitive, in KeyCacheLoaded() argument
221 s_rsaKeyCacheEnabled = InitializeKeyCache(publicArea, sensitive, rand); in KeyCacheLoaded()
232 TPMT_SENSITIVE *sensitive, in GetCachedRsaKey() argument
240 if(KeyCacheLoaded(publicArea, sensitive, rand)) in GetCachedRsaKey()
247 sensitive->sensitive.rsa = s_rsaKeyCache[index].privateExponent; in GetCachedRsaKey()
DCryptRsa.c298 if((key->sensitive.sensitive.rsa.t.size & RSA_prime_flag) == 0) in RSADP()
300 if(CryptRsaLoadPrivateExponent(&key->publicArea, &key->sensitive) in RSADP()
304 VERIFY(UnpackExponent(&key->sensitive.sensitive.rsa, Z)); in RSADP()
998 TPMT_SENSITIVE *sensitive in CryptRsaLoadPrivateExponent() argument
1002 if((sensitive->sensitive.rsa.t.size & RSA_prime_flag) == 0) in CryptRsaLoadPrivateExponent()
1004 if((sensitive->sensitive.rsa.t.size * 2) == publicArea->unique.rsa.t.size) in CryptRsaLoadPrivateExponent()
1013 VERIFY((sensitive->sensitive.rsa.t.size * 2) in CryptRsaLoadPrivateExponent()
1020 VERIFY(BnFrom2B(Z->P, &sensitive->sensitive.rsa.b) != NULL); in CryptRsaLoadPrivateExponent()
1029 VERIFY(PackExponent(&sensitive->sensitive.rsa, Z)); in CryptRsaLoadPrivateExponent()
1032 VERIFY(((sensitive->sensitive.rsa.t.size / 5) * 2) in CryptRsaLoadPrivateExponent()
[all …]
/external/apache-commons-io/src/main/java/org/apache/commons/io/
DIOCase.java110 private final transient boolean sensitive; field in IOCase
118 IOCase(final String name, final boolean sensitive) { in IOCase() argument
120 this.sensitive = sensitive; in IOCase()
138 return sensitive ? str1.compareTo(str2) : str1.compareToIgnoreCase(str2); in checkCompareTo()
157 return str.regionMatches(!sensitive, str.length() - endLen, end, 0, endLen); in checkEndsWith()
175 return sensitive ? str1.equals(str2) : str1.equalsIgnoreCase(str2); in checkEquals()
220 return str.regionMatches(!sensitive, strStartIndex, search, 0, search.length()); in checkRegionMatches()
235 … return str != null && start != null && str.regionMatches(!sensitive, 0, start, 0, start.length()); in checkStartsWith()
253 return sensitive; in isCaseSensitive()
/external/webrtc/rtc_base/
Dhttp_common.cc283 char* sensitive = new char[len]; in HttpAuthenticate() local
284 size_t pos = strcpyn(sensitive, len, username); in HttpAuthenticate()
285 pos += strcpyn(sensitive + pos, len - pos, ":"); in HttpAuthenticate()
286 password.CopyTo(sensitive + pos, true); in HttpAuthenticate()
291 response.append(Base64::Encode(sensitive)); in HttpAuthenticate()
292 ExplicitZeroMemory(sensitive, len); in HttpAuthenticate()
293 delete[] sensitive; in HttpAuthenticate()
323 char* sensitive = new char[len]; // A1 in HttpAuthenticate() local
324 size_t pos = strcpyn(sensitive, len, username); in HttpAuthenticate()
325 pos += strcpyn(sensitive + pos, len - pos, ":"); in HttpAuthenticate()
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Object/
DCreateLoaded.c123 if(!AdjustAuthSize(&in->inSensitive.sensitive.userAuth, publicArea->nameAlg)) in TPM2_CreateLoaded()
150 result = SetLabelAndContext(&labelContext, &in->inSensitive.sensitive.data); in TPM2_CreateLoaded()
157 &parent->sensitive.sensitive.bits.b, in TPM2_CreateLoaded()
163 in->inSensitive.sensitive.data.t.size = 0; in TPM2_CreateLoaded()
171 in->inSensitive.sensitive.data.t.size); in TPM2_CreateLoaded()
188 &in->inSensitive.sensitive.data.b); in TPM2_CreateLoaded()
200 result = CryptCreateObject(newObject, &in->inSensitive.sensitive, rand); in TPM2_CreateLoaded()
207 SensitiveToPrivate(&newObject->sensitive, &newObject->name, in TPM2_CreateLoaded()
DObjectChangeAuth.c57 TPMT_SENSITIVE sensitive; in TPM2_ObjectChangeAuth() local
83 sensitive = object->sensitive; in TPM2_ObjectChangeAuth()
84 sensitive.authValue = in->newAuth; in TPM2_ObjectChangeAuth()
87 SensitiveToPrivate(&sensitive, &object->name, HandleToObject(in->parentHandle), in TPM2_ObjectChangeAuth()
DObject_spt.c787 return &protector->sensitive.seedValue.b; in GetSeedForKDF()
967 TPMT_SENSITIVE *sensitive, // IN: the sensitive area to marshal in MarshalSensitive() argument
976 MemoryPad2B(&sensitive->authValue.b, CryptHashGetDigestSize(nameAlg)); in MarshalSensitive()
982 if((sensitive->sensitive.rsa.t.size & RSA_prime_flag) > 0) in MarshalSensitive()
984 UINT16 sizeSave = sensitive->sensitive.rsa.t.size; in MarshalSensitive()
988 sensitive->sensitive.rsa.t.size &= ~(RSA_prime_flag); in MarshalSensitive()
995 sensitive->sensitive.rsa.t.size /= 5; in MarshalSensitive()
996 retVal = TPMT_SENSITIVE_Marshal(sensitive, &buffer, NULL); in MarshalSensitive()
998 sensitive->sensitive.rsa.t.size = sizeSave; in MarshalSensitive()
1002 retVal = TPMT_SENSITIVE_Marshal(sensitive, &buffer, NULL); in MarshalSensitive()
[all …]
DCreate.c123 in->inSensitive.sensitive.data.t.size); in TPM2_Create()
127 if(!AdjustAuthSize(&in->inSensitive.sensitive.userAuth, publicArea->nameAlg)) in TPM2_Create()
132 result = CryptCreateObject(newObject, &in->inSensitive.sensitive, NULL); in TPM2_Create()
145 SensitiveToPrivate(&newObject->sensitive, &newObject->name, parentObject, in TPM2_Create()
DLoad.c74 TPMT_SENSITIVE sensitive; in TPM2_Load() local
102 &sensitive); in TPM2_Load()
109 &in->inPublic.publicArea, &sensitive, in TPM2_Load()
DLoadExternal.c78 TPMT_SENSITIVE *sensitive = NULL; in TPM2_LoadExternal() local
112 sensitive = &in->inPrivate.sensitiveArea; in TPM2_LoadExternal()
120 &in->inPublic.publicArea, sensitive, in TPM2_LoadExternal()
/external/python/cpython3/Lib/test/test_importlib/source/
Dtest_case_sensitivity.py49 sensitive, insensitive = self.sensitivity_test()
50 self.assertIsNotNone(sensitive)
51 self.assertIn(self.name, sensitive.get_filename(self.name))
59 sensitive, insensitive = self.sensitivity_test()
60 self.assertIsNotNone(sensitive)
61 self.assertIn(self.name, sensitive.get_filename(self.name))
/external/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/
DObject.c394 TPMT_SENSITIVE *sensitive, // IN: (optional) sensitive area to be in ObjectLoad() argument
409 if(sensitive == NULL || publicArea->nameAlg == TPM_ALG_NULL) in ObjectLoad()
419 if(sensitive->seedValue.t.size > CryptHashGetDigestSize(publicArea->nameAlg)) in ObjectLoad()
436 result = CryptValidateKeys(publicArea, sensitive, blamePublic, in ObjectLoad()
446 if((publicArea->type == TPM_ALG_RSA) && (sensitive != NULL)) in ObjectLoad()
448 result = CryptRsaLoadPrivateExponent(publicArea, sensitive); in ObjectLoad()
459 if(sensitive == NULL) in ObjectLoad()
462 object->sensitive = *sensitive; in ObjectLoad()
545 keyObject->sensitive.sensitive.bits.b.size, in ObjectCreateHMACSequence()
546 keyObject->sensitive.sensitive.bits.b.buffer) == 0) in ObjectCreateHMACSequence()
[all …]
/external/libiio/src/cmake/
DCheckCaseSensitiveFileSystem.cmake2 # Check if the file system is case sensitive or not
12 message(STATUS "Check for case-sensitive file systems")
31 # If it is empty, the file system is case sensitive.
33 message(STATUS "File system is not case-sensitive")
36 message(STATUS "File system is case-sensitive")
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DObject_spt_fp.h212 TPMT_SENSITIVE *sensitive, // IN: sensitive structure
249 TPMT_SENSITIVE *sensitive // OUT: sensitive structure
260 TPMT_SENSITIVE *sensitive, // IN: sensitive structure
309 TPMT_SENSITIVE *sensitive // OUT: sensitive structure
369 TPM2B_SENSITIVE_DATA *sensitive // IN: the sensitive data
/external/apache-commons-io/src/test/java/org/apache/commons/io/comparator/
DPathFileComparatorTest.java48 final Comparator<File> sensitive = new PathFileComparator(null); /* test null as well */ in testCaseSensitivity() local
49 assertEquals(0, sensitive.compare(equalFile1, equalFile2), "sensitive file1 & file2 = 0"); in testCaseSensitivity()
50 assertTrue(sensitive.compare(equalFile1, file3) > 0, "sensitive file1 & file3 > 0"); in testCaseSensitivity()
51 assertTrue(sensitive.compare(equalFile1, lessFile) > 0, "sensitive file1 & less > 0"); in testCaseSensitivity()
DNameFileComparatorTest.java47 final Comparator<File> sensitive = new NameFileComparator(null); /* test null as well */ in testCaseSensitivity() local
48 assertEquals(0, sensitive.compare(equalFile1, equalFile2), "sensitive file1 & file2 = 0"); in testCaseSensitivity()
49 assertTrue(sensitive.compare(equalFile1, file3) > 0, "sensitive file1 & file3 > 0"); in testCaseSensitivity()
50 assertTrue(sensitive.compare(equalFile1, lessFile) > 0, "sensitive file1 & less > 0"); in testCaseSensitivity()
DExtensionFileComparatorTest.java48 … final Comparator<File> sensitive = new ExtensionFileComparator(null); /* test null as well */ in testCaseSensitivity() local
49 assertEquals(0, sensitive.compare(equalFile1, equalFile2), "sensitive file1 & file2 = 0"); in testCaseSensitivity()
50 assertTrue(sensitive.compare(equalFile1, file3) > 0, "sensitive file1 & file3 > 0"); in testCaseSensitivity()
51 assertTrue(sensitive.compare(equalFile1, lessFile) > 0, "sensitive file1 & less > 0"); in testCaseSensitivity()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Hierarchy/
DCreatePrimary.c94 in->inSensitive.sensitive.data.t.size); in TPM2_CreatePrimary()
98 if(!AdjustAuthSize(&in->inSensitive.sensitive.userAuth, in TPM2_CreatePrimary()
111 &in->inSensitive.sensitive.data.b); in TPM2_CreatePrimary()
119 result = CryptCreateObject(newObject, &in->inSensitive.sensitive, in TPM2_CreatePrimary()
/external/tpm2-tss/test/integration/
Desys-unseal-password-auth.int.c75 .sensitive = { in test_esys_unseal_password_auth()
87 inSensitivePrimary.sensitive.userAuth = authValuePrimary; in test_esys_unseal_password_auth()
169 .sensitive = { in test_esys_unseal_password_auth()
181 inSensitive2.sensitive.userAuth = authKey2; in test_esys_unseal_password_auth()
286 if(memcmp(&(outData->buffer), &(inSensitive2.sensitive.data.buffer), in test_esys_unseal_password_auth()
287 inSensitive2.sensitive.data.size)!=0){ in test_esys_unseal_password_auth()
Desys-create-password-auth.int.c67 .sensitive = { in test_esys_create_password_auth()
79 inSensitivePrimary.sensitive.userAuth = authValuePrimary; in test_esys_create_password_auth()
197 .sensitive = { in test_esys_create_password_auth()
209 inSensitive2.sensitive.userAuth = authKey2; in test_esys_create_password_auth()
213 .sensitive = { in test_esys_create_password_auth()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Duplication/
DDuplicate.c68 TPMT_SENSITIVE sensitive; in TPM2_Duplicate() local
144 sensitive = object->sensitive; in TPM2_Duplicate()
150 SensitiveToDuplicate(&sensitive, &object->name.b, newParent, in TPM2_Duplicate()
DImport.c111 TPMT_SENSITIVE sensitive; in TPM2_Import() local
185 &in->encryptionKey.b, &sensitive); in TPM2_Import()
195 &sensitive, RC_Import_objectPublic, RC_Import_duplicate, in TPM2_Import()
202 SensitiveToPrivate(&sensitive, &name, parentObject, in TPM2_Import()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Asymmetric/
DECDH_KeyGen.c53 TPM2B_ECC_PARAMETER sensitive; in TPM2_ECDH_KeyGen() local
69 result = CryptEccNewKeyPair(&out->pubPoint.point, &sensitive, in TPM2_ECDH_KeyGen()
77 &sensitive, in TPM2_ECDH_KeyGen()

12345678910>>...23