Home
last modified time | relevance | path

Searched refs:isTLS (Results 1 – 10 of 10) sorted by relevance

/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
DClientKeyExchangeTest.java38 boolean[] isTLS = new boolean[] { true, false }; in testClientKeyExchangebyteArrayboolean()
40 for (int i = 0; i < isTLS.length; i++) { in testClientKeyExchangebyteArrayboolean()
42 encrypted_pre_master_secret, isTLS[i]); in testClientKeyExchangebyteArrayboolean()
58 .length(), isTLS[i], true); in testClientKeyExchangebyteArrayboolean()
68 isTLS[i], true); in testClientKeyExchangebyteArrayboolean()
69 if (isTLS[i]) { in testClientKeyExchangebyteArrayboolean()
73 if (!isTLS[i]) { in testClientKeyExchangebyteArrayboolean()
82 isTLS[i], true); in testClientKeyExchangebyteArrayboolean()
83 if (isTLS[i]) { in testClientKeyExchangebyteArrayboolean()
87 if (!isTLS[i]) { in testClientKeyExchangebyteArrayboolean()
[all …]
/external/chromium_org/net/third_party/nss/ssl/
Dderive.c71 PRBool isTLS, in ssl3_KeyAndMacDeriveBypass() argument
154 if (isTLS) { in ssl3_KeyAndMacDeriveBypass()
283 } else if (!isTLS) { in ssl3_KeyAndMacDeriveBypass()
439 PRBool isTLS, in ssl3_MasterKeyDeriveBypass() argument
475 if (isTLS) { in ssl3_MasterKeyDeriveBypass()
525 ssl_canExtractMS(PK11SymKey *pms, PRBool isTLS, PRBool isDH, PRBool *pcbp) in ssl_canExtractMS() argument
541 if (isTLS) { in ssl_canExtractMS()
614 PRBool isTLS = PR_FALSE; in SSL_CanBypass()
679 isTLS = PR_FALSE; in SSL_CanBypass()
682 isTLS = PR_TRUE; in SSL_CanBypass()
[all …]
Dsslplatf.c205 PRBool isTLS, KeyType keyType) in ssl3_CngPlatformSignHashes() argument
260 doDerEncode = isTLS; in ssl3_CngPlatformSignHashes()
329 PRBool isTLS, KeyType keyType) in ssl3_CAPIPlatformSignHashes() argument
377 doDerEncode = isTLS; in ssl3_CAPIPlatformSignHashes()
461 PRBool isTLS, KeyType keyType) in ssl3_PlatformSignHashes() argument
464 return ssl3_CngPlatformSignHashes(hash, key, buf, isTLS, keyType); in ssl3_PlatformSignHashes()
466 return ssl3_CAPIPlatformSignHashes(hash, key, buf, isTLS, keyType); in ssl3_PlatformSignHashes()
579 PRBool isTLS, KeyType keyType) in ssl3_PlatformSignHashes() argument
637 doDerDecode = (keyType == dsaKey) && !isTLS; in ssl3_PlatformSignHashes()
759 PRBool isTLS, KeyType keyType) in ssl3_PlatformSignHashes() argument
Dssl3ecc.c276 PRBool isTLS, isTLS12; in ssl3_SendECDHClientKeyExchange() local
284 isTLS = (PRBool)(ss->ssl3.pwSpec->version > SSL_LIBRARY_VERSION_3_0); in ssl3_SendECDHClientKeyExchange()
306 } else if (isTLS) { in ssl3_SendECDHClientKeyExchange()
374 PRBool isTLS, isTLS12; in ssl3_HandleECDHClientKeyExchange() local
392 isTLS = (PRBool)(ss->ssl3.prSpec->version > SSL_LIBRARY_VERSION_3_0); in ssl3_HandleECDHClientKeyExchange()
397 } else if (isTLS) { in ssl3_HandleECDHClientKeyExchange()
597 PRBool isTLS, isTLS12; in ssl3_HandleECDHServerKeyExchange() local
611 isTLS = (PRBool)(ss->ssl3.prSpec->version > SSL_LIBRARY_VERSION_3_0); in ssl3_HandleECDHServerKeyExchange()
663 if (isTLS) in ssl3_HandleECDHServerKeyExchange()
674 desc = isTLS ? decrypt_error : handshake_failure; in ssl3_HandleECDHServerKeyExchange()
[all …]
Dssl3con.c938 PRBool isTLS) in ssl3_SignHashes() argument
953 doDerEncode = isTLS; in ssl3_SignHashes()
1027 SECItem *buf, PRBool isTLS, void *pwArg) in ssl3_VerifySignedHashes() argument
1065 if (isTLS || buf->len != SECKEY_SignatureLen(key)) { in ssl3_VerifySignedHashes()
1408 PRBool isTLS; in ssl3_SetupPendingCipherSpec() local
1425 isTLS = (PRBool)(pwSpec->version > SSL_LIBRARY_VERSION_3_0); in ssl3_SetupPendingCipherSpec()
1446 if (mac <= ssl_mac_sha && mac != ssl_mac_null && isTLS) in ssl3_SetupPendingCipherSpec()
2303 PRBool isTLS = (PRBool)(kea_def->tls_keygen || in ssl3_InitPendingCipherSpec() local
2309 isTLS, in ssl3_InitPendingCipherSpec()
3384 PRBool isTLS = ss->version >= SSL_LIBRARY_VERSION_3_1_TLS; in ssl3_SendAlertForCertError() local
[all …]
Dsslimpl.h1626 PRBool isTLS, PRBool isExport);
1629 const SECItem * pms, PRBool isTLS, PRBool isRSA);
1817 SECItem *buf, PRBool isTLS);
1819 CERTCertificate *cert, SECItem *buf, PRBool isTLS,
1948 PRBool isTLS, KeyType keyType);
/external/chromium_org/net/third_party/nss/patches/
Dtlsunique.patch13 + PRBool isTLS;
23 + isTLS = (PRBool)(ss->ssl3.cwSpec->version > SSL_LIBRARY_VERSION_3_0);
57 + if (isTLS) {
Dclientauth.patch16 isTLS = (PRBool)(ss->ssl3.pwSpec->version > SSL_LIBRARY_VERSION_3_0);
19 - rv = ssl3_SignHashes(&hashes, ss->ssl3.clientPrivateKey, &buf, isTLS);
28 + &hashes, ss->ssl3.platformClientKey, &buf, isTLS, keyType);
34 + rv = ssl3_SignHashes(&hashes, ss->ssl3.clientPrivateKey, &buf, isTLS);
117 isTLS = (PRBool)(ss->ssl3.prSpec->version > SSL_LIBRARY_VERSION_3_0);
400 + PRBool isTLS, KeyType keyType);
Dfallbackscsv.patch17 PRBool isTLS = PR_FALSE;
Dnssrwlock.patch12 if (isTLS || (ss->firstHsDone && ss->peerRequestedProtection)) {