/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
D | crypto_cryptoapi.c | 117 HCRYPTPROV prov; in cryptoapi_hash_vector() local 123 if (!CryptAcquireContext(&prov, NULL, NULL, PROV_RSA_FULL, 0)) { in cryptoapi_hash_vector() 128 if (!CryptCreateHash(prov, alg, 0, 0, &hash)) { in cryptoapi_hash_vector() 130 CryptReleaseContext(prov, 0); in cryptoapi_hash_vector() 138 CryptReleaseContext(prov, 0); in cryptoapi_hash_vector() 149 CryptReleaseContext(prov, 0); in cryptoapi_hash_vector() 165 HCRYPTPROV prov; in des_encrypt() local 190 if (!CryptAcquireContext(&prov, NULL, MS_ENHANCED_PROV, PROV_RSA_FULL, in des_encrypt() 197 if (!CryptImportKey(prov, (BYTE *) &key_blob, sizeof(key_blob), 0, 0, in des_encrypt() 201 CryptReleaseContext(prov, 0); in des_encrypt() [all …]
|
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_cryptoapi.c | 109 HCRYPTPROV prov; in cryptoapi_hash_vector() local 115 if (!CryptAcquireContext(&prov, NULL, NULL, PROV_RSA_FULL, 0)) { in cryptoapi_hash_vector() 120 if (!CryptCreateHash(prov, alg, 0, 0, &hash)) { in cryptoapi_hash_vector() 122 CryptReleaseContext(prov, 0); in cryptoapi_hash_vector() 130 CryptReleaseContext(prov, 0); in cryptoapi_hash_vector() 141 CryptReleaseContext(prov, 0); in cryptoapi_hash_vector() 157 HCRYPTPROV prov; in des_encrypt() local 182 if (!CryptAcquireContext(&prov, NULL, MS_ENHANCED_PROV, PROV_RSA_FULL, in des_encrypt() 189 if (!CryptImportKey(prov, (BYTE *) &key_blob, sizeof(key_blob), 0, 0, in des_encrypt() 193 CryptReleaseContext(prov, 0); in des_encrypt() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
D | X509Util.java | 353 Provider prov) in getImplementation() argument 360 while ((alias = prov.getProperty("Alg.Alias." + baseName + "." + algorithm)) != null) in getImplementation() 365 String className = prov.getProperty(baseName + "." + algorithm); in getImplementation() 372 ClassLoader clsLoader = prov.getClass().getClassLoader(); in getImplementation() 383 return new Implementation(cls.newInstance(), prov); in getImplementation() 388 …"algorithm " + algorithm + " in provider " + prov.getName() + " but no class \"" + className + "\"… in getImplementation() 393 …"algorithm " + algorithm + " in provider " + prov.getName() + " but class \"" + className + "\" in… in getImplementation() 397 …hAlgorithmException("cannot find implementation " + algorithm + " for provider " + prov.getName()); in getImplementation() 409 Provider[] prov = Security.getProviders(); in getImplementation() local 414 for (int i = 0; i != prov.length; i++) in getImplementation() [all …]
|
/external/chromium/net/base/ |
D | keygen_handler_win.cc | 31 bool GetSubjectPublicKeyInfo(HCRYPTPROV prov, std::vector<BYTE>* output) { in GetSubjectPublicKeyInfo() argument 38 ok = CryptExportPublicKeyInfoEx(prov, AT_KEYEXCHANGE, X509_ASN_ENCODING, in GetSubjectPublicKeyInfo() 48 ok = CryptExportPublicKeyInfoEx(prov, AT_KEYEXCHANGE, X509_ASN_ENCODING, in GetSubjectPublicKeyInfo() 64 bool GetSignedPublicKeyAndChallenge(HCRYPTPROV prov, in GetSignedPublicKeyAndChallenge() argument 70 if (!GetSubjectPublicKeyInfo(prov, &spki)) in GetSignedPublicKeyAndChallenge() 90 ok = CryptSignAndEncodeCertificate(prov, AT_KEYEXCHANGE, X509_ASN_ENCODING, in GetSignedPublicKeyAndChallenge() 99 ok = CryptSignAndEncodeCertificate(prov, AT_KEYEXCHANGE, X509_ASN_ENCODING, in GetSignedPublicKeyAndChallenge()
|
/external/wpa_supplicant_6/wpa_supplicant/src/utils/ |
D | os_win32.c | 109 HCRYPTPROV prov; in os_get_random() local 112 if (!CryptAcquireContext(&prov, NULL, NULL, PROV_RSA_FULL, in os_get_random() 116 ret = CryptGenRandom(prov, len, buf); in os_get_random() 117 CryptReleaseContext(prov, 0); in os_get_random()
|
/external/apache-harmony/crypto/src/test/impl/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | ExemptionMechanism_ImplTest.java | 207 String prov = null; in testGetInstance02() local 210 ExemptionMechanism.getInstance(validValues[i], prov); in testGetInstance02() 267 Provider prov = null; in testGetInstance03() local 270 ExemptionMechanism.getInstance(validValues[i], prov); in testGetInstance03() 289 public myEM(ExemptionMechanismSpi spi, Provider prov, String mechanism) { in myEM() argument 290 super(spi, prov, mechanism); in myEM()
|
D | SecretKeyFactory_ImplTest.java | 152 String prov = null; in testGetInstance02() local 155 SecretKeyFactory.getInstance(validValues[i], prov); in testGetInstance02() 215 Provider prov = null; in testGetInstance03() local 218 SecretKeyFactory.getInstance(validValues[i], prov); in testGetInstance03()
|
D | KeyAgreement_ImplTest.java | 182 String prov = null; in testGetInstance02() local 185 KeyAgreement.getInstance(validValues[i], prov); in testGetInstance02() 247 Provider prov = null; in testGetInstance03() local 250 KeyAgreement.getInstance(validValues[i], prov); in testGetInstance03()
|
D | KeyGenerator_ImplTest.java | 186 String prov = null; in testGetInstance02() local 189 KeyGenerator.getInstance(validValues[i], prov); in testGetInstance02() 249 Provider prov = null; in testGetInstance03() local 252 KeyGenerator.getInstance(validValues[i], prov); in testGetInstance03()
|
D | Mac_ImplTest.java | 185 String prov = null; in testGetInstance02() local 188 Mac.getInstance(validValues[i], prov); in testGetInstance02() 245 Provider prov = null; in testGetInstance03() local 248 Mac.getInstance(validValues[i], prov); in testGetInstance03()
|
/external/wpa_supplicant_8/src/utils/ |
D | os_win32.c | 122 HCRYPTPROV prov; in os_get_random() local 125 if (!CryptAcquireContext(&prov, NULL, NULL, PROV_RSA_FULL, in os_get_random() 129 ret = CryptGenRandom(prov, len, buf); in os_get_random() 130 CryptReleaseContext(prov, 0); in os_get_random()
|
/external/chromium/crypto/ |
D | capi_util.cc | 40 BOOL CryptAcquireContextLocked(HCRYPTPROV* prov, in CryptAcquireContextLocked() argument 46 return CryptAcquireContext(prov, container, provider, prov_type, flags); in CryptAcquireContextLocked()
|
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | SecretKeyFactoryTest.java | 225 String prov = null; in testSecretKeyFactory05() local 228 SecretKeyFactory.getInstance(validValues[i], prov); in testSecretKeyFactory05() 310 Provider prov = null; in testSecretKeyFactory08() local 313 SecretKeyFactory.getInstance(validValues[i], prov); in testSecretKeyFactory08() 422 public mySecretKeyFactory(SecretKeyFactorySpi spi, Provider prov, String alg) { in mySecretKeyFactory() argument 423 super(spi, prov, alg); in mySecretKeyFactory()
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
D | AlgorithmParameterGenerator2Test.java | 172 String prov = null; in testGetInstance02() local 175 AlgorithmParameterGenerator.getInstance(validValues[i], prov); in testGetInstance02() 231 Provider prov = null; in testGetInstance03() local 234 AlgorithmParameterGenerator.getInstance(validValues[i], prov); in testGetInstance03()
|
D | KeyPairGenerator2Test.java | 236 String prov = null; in GetInstance02() local 240 KeyPairGenerator.getInstance(alg, prov); in GetInstance02() 295 Provider prov = null; in GetInstance03() local 299 KeyPairGenerator.getInstance(alg, prov); in GetInstance03()
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
D | CertPathValidator2Test.java | 170 String prov = null; in testGetInstance02() local 173 CertPathValidator.getInstance(validValues[i], prov); in testGetInstance02() 234 Provider prov = null; in testGetInstance03() local 237 CertPathValidator.getInstance(validValues[i], prov); in testGetInstance03()
|
D | CertPathBuilder2Test.java | 172 String prov = null; in testGetInstance02() local 175 CertPathBuilder.getInstance(validValues[i], prov); in testGetInstance02() 235 Provider prov = null; in testGetInstance03() local 238 CertPathBuilder.getInstance(validValues[i], prov); in testGetInstance03()
|
D | CertPathBuilder1Test.java | 264 Provider prov = null; in testCertPathBuilder08() local 267 CertPathBuilder.getInstance(validValues[t], prov); in testCertPathBuilder08() 375 public myCertPathBuilder(CertPathBuilderSpi spi, Provider prov, String type) { in myCertPathBuilder() argument 376 super(spi, prov, type); in myCertPathBuilder()
|
D | CertPathValidator1Test.java | 271 Provider prov = null; in testCertPathValidator08() local 274 CertPathValidator.getInstance(validValues[t], prov); in testCertPathValidator08() 395 public myCertPathValidator(CertPathValidatorSpi spi, Provider prov, String type) { in myCertPathValidator() argument 396 super(spi, prov, type); in myCertPathValidator()
|
D | CertificateFactory2Test.java | 241 String prov = null; in GetInstance02() local 244 CertificateFactory.getInstance(validValues[i], prov); in GetInstance02() 304 Provider prov = null; in GetInstance03() local 307 CertificateFactory.getInstance(validValues[i], prov); in GetInstance03()
|
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/ |
D | TrustManagerFactory2Test.java | 173 String prov = null; in testGetInstance02() local 176 TrustManagerFactory.getInstance(validValues[i], prov); in testGetInstance02() 238 Provider prov = null; in testGetInstance03() local 241 TrustManagerFactory.getInstance(validValues[i], prov); in testGetInstance03()
|
D | KeyManagerFactory2Test.java | 183 String prov = null; in testGetInstance02() local 186 KeyManagerFactory.getInstance(validValues[i], prov); in testGetInstance02() 248 Provider prov = null; in testGetInstance03() local 251 KeyManagerFactory.getInstance(validValues[i], prov); in testGetInstance03()
|
D | SSLContext2Test.java | 210 String prov = null; in testGetInstance02() local 213 SSLContext.getInstance(validValues[i], prov); in testGetInstance02() 274 Provider prov = null; in testGetInstance03() local 277 SSLContext.getInstance(validValues[i], prov); in testGetInstance03()
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/cert/ |
D | CertStore_ImplTest.java | 177 String prov = null; in testGetInstance02() local 180 CertStore.getInstance(validValues[i], p, prov); in testGetInstance02() 257 Provider prov = null; in testGetInstance03() local 260 CertStore.getInstance(validValues[i], p, prov); in testGetInstance03()
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
D | KeyStore_Impl2Test.java | 354 String prov = null; in testGetInstance02() local 357 KeyStore.getInstance(validValues[i], prov); in testGetInstance02() 412 Provider prov = null; in testGetInstance03() local 415 KeyStore.getInstance(validValues[i], prov); in testGetInstance03()
|