Home
last modified time | relevance | path

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

/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
DClientKeyExchangeTest.java39 boolean[] isTLS = new boolean[] { true, false }; in testClientKeyExchangebyteArrayboolean()
41 for (int i = 0; i < isTLS.length; i++) { in testClientKeyExchangebyteArrayboolean()
43 encrypted_pre_master_secret, isTLS[i]); in testClientKeyExchangebyteArrayboolean()
59 .length(), isTLS[i], true); in testClientKeyExchangebyteArrayboolean()
69 isTLS[i], true); in testClientKeyExchangebyteArrayboolean()
70 if (isTLS[i]) { in testClientKeyExchangebyteArrayboolean()
74 if (!isTLS[i]) { in testClientKeyExchangebyteArrayboolean()
83 isTLS[i], true); in testClientKeyExchangebyteArrayboolean()
84 if (isTLS[i]) { in testClientKeyExchangebyteArrayboolean()
88 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()
555 PRBool isTLS, KeyType keyType) in ssl3_PlatformSignHashes() argument
628 doDerEncode = isTLS; in ssl3_PlatformSignHashes()
725 PRBool isTLS, KeyType keyType) in ssl3_PlatformSignHashes() argument
Dssl3ecc.c285 PRBool isTLS, isTLS12; in ssl3_SendECDHClientKeyExchange() local
293 isTLS = (PRBool)(ss->ssl3.pwSpec->version > SSL_LIBRARY_VERSION_3_0); in ssl3_SendECDHClientKeyExchange()
315 } else if (isTLS) { in ssl3_SendECDHClientKeyExchange()
383 PRBool isTLS, isTLS12; in ssl3_HandleECDHClientKeyExchange() local
401 isTLS = (PRBool)(ss->ssl3.prSpec->version > SSL_LIBRARY_VERSION_3_0); in ssl3_HandleECDHClientKeyExchange()
406 } else if (isTLS) { in ssl3_HandleECDHClientKeyExchange()
606 PRBool isTLS, isTLS12; in ssl3_HandleECDHServerKeyExchange() local
620 isTLS = (PRBool)(ss->ssl3.prSpec->version > SSL_LIBRARY_VERSION_3_0); in ssl3_HandleECDHServerKeyExchange()
672 if (isTLS) in ssl3_HandleECDHServerKeyExchange()
683 desc = isTLS ? decrypt_error : handshake_failure; in ssl3_HandleECDHServerKeyExchange()
[all …]
Dssl3con.c927 PRBool isTLS) in ssl3_SignHashes() argument
942 doDerEncode = isTLS; in ssl3_SignHashes()
1016 SECItem *buf, PRBool isTLS, void *pwArg) in ssl3_VerifySignedHashes() argument
1054 if (isTLS || buf->len != SECKEY_SignatureLen(key)) { in ssl3_VerifySignedHashes()
1397 PRBool isTLS; in ssl3_SetupPendingCipherSpec() local
1414 isTLS = (PRBool)(pwSpec->version > SSL_LIBRARY_VERSION_3_0); in ssl3_SetupPendingCipherSpec()
1435 if (mac <= ssl_mac_sha && mac != ssl_mac_null && isTLS) in ssl3_SetupPendingCipherSpec()
2291 PRBool isTLS = (PRBool)(kea_def->tls_keygen || in ssl3_InitPendingCipherSpec() local
2297 isTLS, in ssl3_InitPendingCipherSpec()
3380 PRBool isTLS = ss->version >= SSL_LIBRARY_VERSION_3_1_TLS; in ssl3_SendAlertForCertError() local
[all …]
Dsslimpl.h1594 PRBool isTLS, PRBool isExport);
1597 const SECItem * pms, PRBool isTLS, PRBool isRSA);
1785 SECItem *buf, PRBool isTLS);
1787 CERTCertificate *cert, SECItem *buf, PRBool isTLS,
1915 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) {
Drenegoscsv.patch12 + if (!ss->firstHsDone && !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);
98 isTLS = (PRBool)(ss->ssl3.prSpec->version > SSL_LIBRARY_VERSION_3_0);
386 + PRBool isTLS, KeyType keyType);
Dpaddingextension.patch6 PRBool isTLS = PR_FALSE;
23 + if (!IS_DTLS(ss) && isTLS && !ss->firstHsDone) {
Daesgcm.patch398 - if (mac <= ssl_mac_sha && isTLS)
399 + if (mac <= ssl_mac_sha && mac != ssl_mac_null && isTLS)
685 - PRBool isTLS;
711 - isTLS = PR_FALSE;
729 - isTLS = PR_TRUE;
742 - if (!isTLS) {
1061 - PRBool isTLS;
1063 - isTLS = (PRBool)(ss->ssl3.pwSpec->version > SSL_LIBRARY_VERSION_3_0);
1136 + rType, isTLS, cText->version, IS_DTLS(ss), decryptedLen);
1192 + if (!isTLS) {
[all …]
Dfallbackscsv.patch44 PRBool isTLS = PR_FALSE;