Home
last modified time | relevance | path

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

/external/chromium_org/net/third_party/nss/ssl/
Ddtlscon.c461 msg = dtls_AllocQueuedMessage(ss->ssl3.cwSpec->epoch, type, pIn, nIn); in dtls_QueueMessage()
777 ssl3CipherSpec * cwSpec; in dtls_CompressMACEncryptRecord() local
792 if (ss->ssl3.cwSpec->epoch == epoch) in dtls_CompressMACEncryptRecord()
793 cwSpec = ss->ssl3.cwSpec; in dtls_CompressMACEncryptRecord()
795 cwSpec = ss->ssl3.pwSpec; in dtls_CompressMACEncryptRecord()
797 cwSpec = NULL; in dtls_CompressMACEncryptRecord()
799 cwSpec = ss->ssl3.cwSpec; in dtls_CompressMACEncryptRecord()
802 if (cwSpec) { in dtls_CompressMACEncryptRecord()
803 rv = ssl3_CompressMACEncryptRecord(cwSpec, ss->sec.isServer, PR_TRUE, in dtls_CompressMACEncryptRecord()
Dsslinfo.c61 inf.compressionMethod = ss->ssl3.cwSpec->compression_method; in SSL_GetChannelInfo()
316 crsName = &ss->ssl3.cwSpec->srvVirtName; in SSL_GetNegotiatedHostInfo()
396 if (!ss->ssl3.cwSpec->master_secret && !ss->ssl3.cwSpec->msItem.len) { in SSL_ExportKeyingMaterial()
400 rv = ssl3_TLSPRFWithMasterSecret(ss->ssl3.cwSpec, label, labelLen, val, in SSL_ExportKeyingMaterial()
Dssl3con.c1391 ssl3CipherSpec * cwSpec; in ssl3_SetupPendingCipherSpec() local
1407 cwSpec = ss->ssl3.cwSpec; in ssl3_SetupPendingCipherSpec()
1408 if (cwSpec->mac_def->mac == mac_null) { in ssl3_SetupPendingCipherSpec()
1410 cwSpec->version = ss->version; in ssl3_SetupPendingCipherSpec()
2269 ssl3CipherSpec * cwSpec; in ssl3_InitPendingCipherSpec() local
2279 cwSpec = ss->ssl3.cwSpec; in ssl3_InitPendingCipherSpec()
2322 if (cwSpec->epoch == PR_UINT16_MAX) { in ssl3_InitPendingCipherSpec()
2332 pwSpec->epoch = cwSpec->epoch + 1; in ssl3_InitPendingCipherSpec()
2639 ssl3_CompressMACEncryptRecord(ssl3CipherSpec * cwSpec, in ssl3_CompressMACEncryptRecord() argument
2659 cipher_def = cwSpec->cipher_def; in ssl3_CompressMACEncryptRecord()
[all …]
Dsslimpl.h966 ssl3CipherSpec * cwSpec; /* current write spec. */ member
1482 ssl3_CompressMACEncryptRecord(ssl3CipherSpec * cwSpec,
/external/chromium_org/net/third_party/nss/patches/
Daesgcm.patch864 cipher_def = cwSpec->cipher_def;
873 - rv = ssl3_ComputeRecordMAC( cwSpec, isServer, isDTLS,
874 - type, cwSpec->version, cwSpec->write_seq_num, pIn, contentLen,
885 + pseudoHeader, cwSpec->write_seq_num, type,
886 + cwSpec->version >= SSL_LIBRARY_VERSION_TLS_1_0, cwSpec->version,
918 + rv = cwSpec->aead(
919 + isServer ? &cwSpec->server : &cwSpec->client,
947 - rv = cwSpec->encode( cwSpec->encodeContext,
958 + rv = ssl3_ComputeRecordMAC(cwSpec, isServer,
1010 + rv = cwSpec->encode( cwSpec->encodeContext,
[all …]
Dresumeclienthelloversion.patch5 @@ -2865,12 +2865,14 @@ ssl3_CompressMACEncryptRecord(ssl3CipherSpec * cwSpec,
Dcanfalsestart.patch115 + maybeFalseStart = ss->ssl3.cwSpec->cipher_def->secret_key_size >= 10;
172 - ss->ssl3.cwSpec &&
179 - ss->ssl3.cwSpec->cipher_def->secret_key_size >= 10 &&
206 + /* This must be done after we've set ss->ssl3.cwSpec in
208 + * from cwSpec. This must be done before we call ssl3_CheckFalseStart
559 ssl3_CompressMACEncryptRecord(ssl3CipherSpec * cwSpec,
Dtlsunique.patch23 + isTLS = (PRBool)(ss->ssl3.cwSpec->version > SSL_LIBRARY_VERSION_3_0);
Dchannelid2.patch22 + rv = ssl3_ComputeHandshakeHashes(ss, ss->ssl3.cwSpec, &hashes, 0);
Dchannelid.patch134 + rv = ssl3_ComputeHandshakeHashes(ss, ss->ssl3.cwSpec, &hashes, 0);