/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/ |
D | SSLContextTest.java | 63 import org.conscrypt.java.security.StandardNames; 93 for (String protocol : StandardNames.SSL_CONTEXT_PROTOCOLS) { in test_SSLContext_setDefault() 109 for (String protocol : StandardNames.SSL_CONTEXT_PROTOCOLS_WITH_DEFAULT_CONFIG) { in test_SSLContext_defaultConfiguration() 111 if (!protocol.equals(StandardNames.SSL_CONTEXT_PROTOCOLS_DEFAULT)) { in test_SSLContext_defaultConfiguration() 127 new ArrayList<String>(StandardNames.CIPHER_SUITES_TLS13); in test_SSLContext_pskOnlyConfiguration_defaultProviderOnly() 128 expectedCipherSuites.addAll(StandardNames.CIPHER_SUITES_DEFAULT_PSK); in test_SSLContext_pskOnlyConfiguration_defaultProviderOnly() 129 expectedCipherSuites.add(StandardNames.CIPHER_SUITE_SECURE_RENEGOTIATION); in test_SSLContext_pskOnlyConfiguration_defaultProviderOnly() 143 expectedCipherSuiteSet.addAll(StandardNames.CIPHER_SUITES_TLS13); in test_SSLContext_x509AndPskConfiguration_defaultProviderOnly() 144 expectedCipherSuiteSet.addAll(StandardNames.CIPHER_SUITES_DEFAULT_PSK); in test_SSLContext_x509AndPskConfiguration_defaultProviderOnly() 145 expectedCipherSuiteSet.addAll(StandardNames.CIPHER_SUITES_DEFAULT); in test_SSLContext_x509AndPskConfiguration_defaultProviderOnly() [all …]
|
D | SSLServerSocketTest.java | 31 import org.conscrypt.java.security.StandardNames; 66 List<String> expected = new ArrayList<String>(StandardNames.CIPHER_SUITES_TLS13); in testSetEnabledCipherSuitesAffectsGetter_TLS13() 110 .containsAll(StandardNames.CIPHER_SUITES_TLS13)); in test_SSLSocket_setEnabledCipherSuites_TLS13() 114 .containsAll(StandardNames.CIPHER_SUITES_TLS13)); in test_SSLSocket_setEnabledCipherSuites_TLS13() 120 .containsAll(StandardNames.CIPHER_SUITES_TLS13)); in test_SSLSocket_setEnabledCipherSuites_TLS13() 125 .containsAll(StandardNames.CIPHER_SUITES_TLS13)); in test_SSLSocket_setEnabledCipherSuites_TLS13()
|
D | SSLSocketTest.java | 62 import org.conscrypt.java.security.StandardNames; 173 if (cipherSuite.equals(StandardNames.CIPHER_SUITE_SECURE_RENEGOTIATION)) { in test_SSLSocket_getSupportedCipherSuites_connect() 181 if (cipherSuite.equals(StandardNames.CIPHER_SUITE_FALLBACK)) { in test_SSLSocket_getSupportedCipherSuites_connect() 188 if (StandardNames.CIPHER_SUITES_TLS13.contains(cipherSuite)) { in test_SSLSocket_getSupportedCipherSuites_connect() 192 new String[] {cipherSuite, StandardNames.CIPHER_SUITE_SECURE_RENEGOTIATION}; in test_SSLSocket_getSupportedCipherSuites_connect() 298 .containsAll(StandardNames.CIPHER_SUITES_TLS13)); in test_SSLSocket_setEnabledCipherSuites_TLS13() 302 .containsAll(StandardNames.CIPHER_SUITES_TLS13)); in test_SSLSocket_setEnabledCipherSuites_TLS13() 308 .containsAll(StandardNames.CIPHER_SUITES_TLS13)); in test_SSLSocket_setEnabledCipherSuites_TLS13() 313 .containsAll(StandardNames.CIPHER_SUITES_TLS13)); in test_SSLSocket_setEnabledCipherSuites_TLS13() 744 StandardNames.CIPHER_SUITE_SECURE_RENEGOTIATION; in test_SSLSocket_ClientHello_cipherSuites() [all …]
|
D | SSLEngineTest.java | 49 import org.conscrypt.java.security.StandardNames; 200 if (StandardNames.IS_RI && "TLSv1.2".equals(c.clientContext.getProtocol()) in test_SSLEngine_getSupportedCipherSuites_connect() 201 && StandardNames.CIPHER_SUITES_OBSOLETE_TLS12.contains(cipherSuite)) { in test_SSLEngine_getSupportedCipherSuites_connect() 208 if (cipherSuite.equals(StandardNames.CIPHER_SUITE_SECURE_RENEGOTIATION) in test_SSLEngine_getSupportedCipherSuites_connect() 209 || cipherSuite.equals(StandardNames.CIPHER_SUITE_FALLBACK)) { in test_SSLEngine_getSupportedCipherSuites_connect() 216 if (StandardNames.CIPHER_SUITES_TLS13.contains(cipherSuite)) { in test_SSLEngine_getSupportedCipherSuites_connect() 222 StandardNames.CIPHER_SUITE_SECURE_RENEGOTIATION} in test_SSLEngine_getSupportedCipherSuites_connect() 435 .containsAll(StandardNames.CIPHER_SUITES_TLS13)); in test_SSLEngine_setEnabledCipherSuites_TLS13() 439 .containsAll(StandardNames.CIPHER_SUITES_TLS13)); in test_SSLEngine_setEnabledCipherSuites_TLS13() 445 .containsAll(StandardNames.CIPHER_SUITES_TLS13)); in test_SSLEngine_setEnabledCipherSuites_TLS13() [all …]
|
D | KeyManagerFactoryTest.java | 42 import org.conscrypt.java.security.StandardNames; 56 String[] keyAlgorithms = StandardNames.IS_RI in setUp() 72 assertEquals(StandardNames.KEY_MANAGER_FACTORY_DEFAULT, algorithm); in test_KeyManagerFactory_getDefaultAlgorithm() 159 StandardNames.KEY_TYPES.toArray(new String[StandardNames.KEY_TYPES.size()]);
|
D | TrustManagerFactoryTest.java | 44 import org.conscrypt.java.security.StandardNames; 68 return (StandardNames.IS_RI && tmf.getAlgorithm().equals("PKIX") in supportsManagerFactoryParameters() 75 assertEquals(StandardNames.TRUST_MANAGER_FACTORY_DEFAULT, algorithm); in test_TrustManagerFactory_getDefaultAlgorithm() 168 (StandardNames.IS_RI && !Conscrypt.isConscrypt(p) ? 1 : 2) * KEY_TYPES.length; in test_X509TrustManager()
|
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/net/ssl/ |
D | SSLContextTest.java | 64 import com.android.org.conscrypt.java.security.StandardNames; 97 for (String protocol : StandardNames.SSL_CONTEXT_PROTOCOLS) { in test_SSLContext_setDefault() 113 for (String protocol : StandardNames.SSL_CONTEXT_PROTOCOLS_WITH_DEFAULT_CONFIG) { in test_SSLContext_defaultConfiguration() 115 if (!protocol.equals(StandardNames.SSL_CONTEXT_PROTOCOLS_DEFAULT)) { in test_SSLContext_defaultConfiguration() 131 new ArrayList<String>(StandardNames.CIPHER_SUITES_TLS13); in test_SSLContext_pskOnlyConfiguration_defaultProviderOnly() 132 expectedCipherSuites.addAll(StandardNames.CIPHER_SUITES_DEFAULT_PSK); in test_SSLContext_pskOnlyConfiguration_defaultProviderOnly() 133 expectedCipherSuites.add(StandardNames.CIPHER_SUITE_SECURE_RENEGOTIATION); in test_SSLContext_pskOnlyConfiguration_defaultProviderOnly() 147 expectedCipherSuiteSet.addAll(StandardNames.CIPHER_SUITES_TLS13); in test_SSLContext_x509AndPskConfiguration_defaultProviderOnly() 148 expectedCipherSuiteSet.addAll(StandardNames.CIPHER_SUITES_DEFAULT_PSK); in test_SSLContext_x509AndPskConfiguration_defaultProviderOnly() 149 expectedCipherSuiteSet.addAll(StandardNames.CIPHER_SUITES_DEFAULT); in test_SSLContext_x509AndPskConfiguration_defaultProviderOnly() [all …]
|
D | SSLServerSocketTest.java | 32 import com.android.org.conscrypt.java.security.StandardNames; 69 List<String> expected = new ArrayList<String>(StandardNames.CIPHER_SUITES_TLS13); in testSetEnabledCipherSuitesAffectsGetter_TLS13() 113 .containsAll(StandardNames.CIPHER_SUITES_TLS13)); in test_SSLSocket_setEnabledCipherSuites_TLS13() 117 .containsAll(StandardNames.CIPHER_SUITES_TLS13)); in test_SSLSocket_setEnabledCipherSuites_TLS13() 123 .containsAll(StandardNames.CIPHER_SUITES_TLS13)); in test_SSLSocket_setEnabledCipherSuites_TLS13() 128 .containsAll(StandardNames.CIPHER_SUITES_TLS13)); in test_SSLSocket_setEnabledCipherSuites_TLS13()
|
D | SSLSocketTest.java | 63 import com.android.org.conscrypt.java.security.StandardNames; 177 if (cipherSuite.equals(StandardNames.CIPHER_SUITE_SECURE_RENEGOTIATION)) { in test_SSLSocket_getSupportedCipherSuites_connect() 185 if (cipherSuite.equals(StandardNames.CIPHER_SUITE_FALLBACK)) { in test_SSLSocket_getSupportedCipherSuites_connect() 192 if (StandardNames.CIPHER_SUITES_TLS13.contains(cipherSuite)) { in test_SSLSocket_getSupportedCipherSuites_connect() 196 new String[] {cipherSuite, StandardNames.CIPHER_SUITE_SECURE_RENEGOTIATION}; in test_SSLSocket_getSupportedCipherSuites_connect() 302 .containsAll(StandardNames.CIPHER_SUITES_TLS13)); in test_SSLSocket_setEnabledCipherSuites_TLS13() 306 .containsAll(StandardNames.CIPHER_SUITES_TLS13)); in test_SSLSocket_setEnabledCipherSuites_TLS13() 312 .containsAll(StandardNames.CIPHER_SUITES_TLS13)); in test_SSLSocket_setEnabledCipherSuites_TLS13() 317 .containsAll(StandardNames.CIPHER_SUITES_TLS13)); in test_SSLSocket_setEnabledCipherSuites_TLS13() 753 StandardNames.CIPHER_SUITE_SECURE_RENEGOTIATION; in test_SSLSocket_ClientHello_cipherSuites() [all …]
|
D | SSLEngineTest.java | 50 import com.android.org.conscrypt.java.security.StandardNames; 204 if (StandardNames.IS_RI && "TLSv1.2".equals(c.clientContext.getProtocol()) in test_SSLEngine_getSupportedCipherSuites_connect() 205 && StandardNames.CIPHER_SUITES_OBSOLETE_TLS12.contains(cipherSuite)) { in test_SSLEngine_getSupportedCipherSuites_connect() 212 if (cipherSuite.equals(StandardNames.CIPHER_SUITE_SECURE_RENEGOTIATION) in test_SSLEngine_getSupportedCipherSuites_connect() 213 || cipherSuite.equals(StandardNames.CIPHER_SUITE_FALLBACK)) { in test_SSLEngine_getSupportedCipherSuites_connect() 220 if (StandardNames.CIPHER_SUITES_TLS13.contains(cipherSuite)) { in test_SSLEngine_getSupportedCipherSuites_connect() 226 StandardNames.CIPHER_SUITE_SECURE_RENEGOTIATION} in test_SSLEngine_getSupportedCipherSuites_connect() 439 .containsAll(StandardNames.CIPHER_SUITES_TLS13)); in test_SSLEngine_setEnabledCipherSuites_TLS13() 443 .containsAll(StandardNames.CIPHER_SUITES_TLS13)); in test_SSLEngine_setEnabledCipherSuites_TLS13() 449 .containsAll(StandardNames.CIPHER_SUITES_TLS13)); in test_SSLEngine_setEnabledCipherSuites_TLS13() [all …]
|
D | KeyManagerFactoryTest.java | 43 import com.android.org.conscrypt.java.security.StandardNames; 60 String[] keyAlgorithms = StandardNames.IS_RI in setUp() 76 assertEquals(StandardNames.KEY_MANAGER_FACTORY_DEFAULT, algorithm); in test_KeyManagerFactory_getDefaultAlgorithm() 163 StandardNames.KEY_TYPES.toArray(new String[StandardNames.KEY_TYPES.size()]);
|
D | TrustManagerFactoryTest.java | 45 import com.android.org.conscrypt.java.security.StandardNames; 72 return (StandardNames.IS_RI && tmf.getAlgorithm().equals("PKIX") in supportsManagerFactoryParameters() 79 assertEquals(StandardNames.TRUST_MANAGER_FACTORY_DEFAULT, algorithm); in test_TrustManagerFactory_getDefaultAlgorithm() 172 (StandardNames.IS_RI && !Conscrypt.isConscrypt(p) ? 1 : 2) * KEY_TYPES.length; in test_X509TrustManager()
|
D | SSLSessionTest.java | 44 import com.android.org.conscrypt.java.security.StandardNames; 78 assertEquals(StandardNames.CIPHER_SUITE_INVALID, s.invalid.getCipherSuite()); in test_SSLSession_getCipherSuite() 82 StandardNames.assertValidCipherSuites(new String[] {s.server.getCipherSuite()}); in test_SSLSession_getCipherSuite() 345 assertTrue(StandardNames.SSL_SOCKET_PROTOCOLS.contains(s.server.getProtocol())); in test_SSLSession_getProtocol()
|
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/ |
D | SSLConfigurationAsserts.java | 34 import org.conscrypt.java.security.StandardNames; 51 StandardNames.assertSSLContextEnabledProtocols( in assertSSLContextDefaultConfiguration() 53 StandardNames.assertDefaultCipherSuites(defaultParameters.getCipherSuites()); in assertSSLContextDefaultConfiguration() 57 StandardNames.assertSupportedCipherSuites(supportedParameters.getCipherSuites()); in assertSSLContextDefaultConfiguration() 58 StandardNames.assertSupportedProtocols(supportedParameters.getProtocols()); in assertSSLContextDefaultConfiguration()
|
D | TestTrustManager.java | 27 import org.conscrypt.java.security.StandardNames; 66 if (!StandardNames.CLIENT_AUTH_TYPES.contains(authType)) { in assertClientAuthType() 72 if (!StandardNames.SERVER_AUTH_TYPES.contains(authType)) { in assertServerAuthType()
|
D | TestKeyManager.java | 27 import org.conscrypt.java.security.StandardNames; 82 if (!StandardNames.KEY_TYPES.contains(keyType)) { in assertKeyType()
|
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/ |
D | SSLConfigurationAsserts.java | 35 import com.android.org.conscrypt.java.security.StandardNames; 53 StandardNames.assertSSLContextEnabledProtocols( in assertSSLContextDefaultConfiguration() 55 StandardNames.assertDefaultCipherSuites(defaultParameters.getCipherSuites()); in assertSSLContextDefaultConfiguration() 59 StandardNames.assertSupportedCipherSuites(supportedParameters.getCipherSuites()); in assertSSLContextDefaultConfiguration() 60 StandardNames.assertSupportedProtocols(supportedParameters.getProtocols()); in assertSSLContextDefaultConfiguration()
|
D | TestTrustManager.java | 28 import com.android.org.conscrypt.java.security.StandardNames; 68 if (!StandardNames.CLIENT_AUTH_TYPES.contains(authType)) { in assertClientAuthType() 74 if (!StandardNames.SERVER_AUTH_TYPES.contains(authType)) { in assertServerAuthType()
|
D | TestKeyManager.java | 28 import com.android.org.conscrypt.java.security.StandardNames; 84 if (!StandardNames.KEY_TYPES.contains(keyType)) { in assertKeyType()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | TargetLibraryInfo.h | 52 static StringRef const StandardNames[NumLibFuncs]; variable 128 if (StandardNames[F] != Name) { in setAvailableWithName() 297 return Impl->StandardNames[F]; in getName()
|
/external/llvm/include/llvm/Analysis/ |
D | TargetLibraryInfo.h | 64 static const char *const StandardNames[LibFunc::NumLibFuncs]; variable 138 if (StandardNames[F] != Name) { in setAvailableWithName() 276 return Impl->StandardNames[F]; in getName()
|
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/crypto/ |
D | KeyGeneratorTest.java | 34 import com.android.org.conscrypt.java.security.StandardNames; 68 || (StandardNames.IS_RI && kg.getProvider().getName().equals("BC")); in isUnsupported()
|
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/crypto/ |
D | KeyGeneratorTest.java | 33 import org.conscrypt.java.security.StandardNames; 64 || (StandardNames.IS_RI && kg.getProvider().getName().equals("BC")); in isUnsupported()
|
/external/llvm/lib/Analysis/ |
D | TargetLibraryInfo.cpp | 28 const char *const TargetLibraryInfoImpl::StandardNames[LibFunc::NumLibFuncs] = { member in TargetLibraryInfoImpl 55 ArrayRef<const char *> StandardNames) { in initialize() argument 57 assert(std::is_sorted(StandardNames.begin(), StandardNames.end(), in initialize() 421 initialize(*this, Triple(), StandardNames); in TargetLibraryInfoImpl() 428 initialize(*this, T, StandardNames); in TargetLibraryInfoImpl() 472 const char *const *Start = &StandardNames[0]; in getLibFunc() 473 const char *const *End = &StandardNames[LibFunc::NumLibFuncs]; in getLibFunc()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | TargetLibraryInfo.cpp | 30 StringRef const TargetLibraryInfoImpl::StandardNames[LibFunc::NumLibFuncs] = { member in TargetLibraryInfoImpl 57 ArrayRef<StringRef> StandardNames) { in initialize() argument 59 assert(std::is_sorted(StandardNames.begin(), StandardNames.end(), in initialize() 524 initialize(*this, Triple(), StandardNames); in TargetLibraryInfoImpl() 531 initialize(*this, T, StandardNames); in TargetLibraryInfoImpl() 586 StringRef const *Start = &StandardNames[0]; in getLibFunc() 587 StringRef const *End = &StandardNames[NumLibFuncs]; in getLibFunc()
|