Searched refs:pwSpec (Results 1 – 10 of 10) sorted by relevance
/external/chromium_org/net/third_party/nss/ssl/ |
D | derive.c | 68 ssl3CipherSpec * pwSpec, in ssl3_KeyAndMacDeriveBypass() argument 74 const ssl3BulkCipherDef *cipher_def = pwSpec->cipher_def; in ssl3_KeyAndMacDeriveBypass() 75 unsigned char * key_block = pwSpec->key_block; in ssl3_KeyAndMacDeriveBypass() 88 PRBool isTLS12 = pwSpec->version >= SSL_LIBRARY_VERSION_TLS_1_2; in ssl3_KeyAndMacDeriveBypass() 103 if (pwSpec->msItem.data == NULL || in ssl3_KeyAndMacDeriveBypass() 104 pwSpec->msItem.len != SSL3_MASTER_SECRET_LENGTH) { in ssl3_KeyAndMacDeriveBypass() 109 PRINT_BUF(100, (NULL, "Master Secret", pwSpec->msItem.data, in ssl3_KeyAndMacDeriveBypass() 110 pwSpec->msItem.len)); in ssl3_KeyAndMacDeriveBypass() 113 macSize = pwSpec->mac_size; in ssl3_KeyAndMacDeriveBypass() 121 pwSpec->version >= SSL_LIBRARY_VERSION_TLS_1_1) { in ssl3_KeyAndMacDeriveBypass() [all …]
|
D | ssl3con.c | 1390 ssl3CipherSpec * pwSpec; in ssl3_SetupPendingCipherSpec() local 1403 pwSpec = ss->ssl3.pwSpec; in ssl3_SetupPendingCipherSpec() 1404 PORT_Assert(pwSpec == ss->ssl3.prSpec); in ssl3_SetupPendingCipherSpec() 1413 pwSpec->version = ss->version; in ssl3_SetupPendingCipherSpec() 1414 isTLS = (PRBool)(pwSpec->version > SSL_LIBRARY_VERSION_3_0); in ssl3_SetupPendingCipherSpec() 1442 pwSpec->cipher_def = &bulk_cipher_defs[cipher]; in ssl3_SetupPendingCipherSpec() 1443 PORT_Assert(pwSpec->cipher_def->cipher == cipher); in ssl3_SetupPendingCipherSpec() 1445 pwSpec->mac_def = &mac_defs[mac]; in ssl3_SetupPendingCipherSpec() 1446 PORT_Assert(pwSpec->mac_def->mac == mac); in ssl3_SetupPendingCipherSpec() 1448 ss->sec.keyBits = pwSpec->cipher_def->key_size * BPB; in ssl3_SetupPendingCipherSpec() [all …]
|
D | dtlscon.c | 794 else if (ss->ssl3.pwSpec->epoch == epoch) in dtls_CompressMACEncryptRecord() 795 cwSpec = ss->ssl3.pwSpec; in dtls_CompressMACEncryptRecord() 894 ssl3_DestroyCipherSpec(ss->ssl3.pwSpec, PR_FALSE); in dtls_FinishedTimerCb() 909 ssl3_DestroyCipherSpec(ss->ssl3.pwSpec, PR_FALSE); in dtls_RehandshakeCleanup()
|
D | ssl3ecc.c | 293 isTLS = (PRBool)(ss->ssl3.pwSpec->version > SSL_LIBRARY_VERSION_3_0); in ssl3_SendECDHClientKeyExchange() 294 isTLS12 = (PRBool)(ss->ssl3.pwSpec->version >= SSL_LIBRARY_VERSION_TLS_1_2); in ssl3_SendECDHClientKeyExchange() 811 isTLS = (PRBool)(ss->ssl3.pwSpec->version > SSL_LIBRARY_VERSION_3_0); in ssl3_SendECDHServerKeyExchange() 812 isTLS12 = (PRBool)(ss->ssl3.pwSpec->version >= SSL_LIBRARY_VERSION_TLS_1_2); in ssl3_SendECDHServerKeyExchange()
|
D | ssl3ext.c | 1037 if (ss->ssl3.pwSpec->msItem.len && ss->ssl3.pwSpec->msItem.data) { in ssl3_SendNewSessionTicket() 1039 ms_item.data = ss->ssl3.pwSpec->msItem.data; in ssl3_SendNewSessionTicket() 1040 ms_item.len = ss->ssl3.pwSpec->msItem.len; in ssl3_SendNewSessionTicket() 1053 rv = ssl3_CacheWrappedMasterSecret(ss, &sid, ss->ssl3.pwSpec, in ssl3_SendNewSessionTicket() 1070 srvName = &ss->ssl3.pwSpec->srvVirtName; in ssl3_SendNewSessionTicket()
|
D | sslimpl.h | 967 ssl3CipherSpec * pwSpec; /* pending write spec. */ member 1592 extern SECStatus ssl3_KeyAndMacDeriveBypass(ssl3CipherSpec * pwSpec, 1595 extern SECStatus ssl3_MasterKeyDeriveBypass( ssl3CipherSpec * pwSpec,
|
/external/chromium_org/net/third_party/nss/patches/ |
D | chacha20poly1305.patch | 109 pwSpec->client.write_mac_context = NULL; 110 pwSpec->server.write_mac_context = NULL; 114 pwSpec->encode = NULL; 115 pwSpec->decode = NULL; 116 pwSpec->destroy = NULL; 117 pwSpec->encodeContext = NULL; 118 pwSpec->decodeContext = NULL; 119 - pwSpec->aead = ssl3_AESGCM; 121 + pwSpec->aead = ssl3_AESGCM; 123 + pwSpec->aead = ssl3_ChaCha20Poly1305;
|
D | aesgcm.patch | 412 cipher_def = pwSpec->cipher_def; 415 - compression_method = pwSpec->compression_method; 418 + pwSpec->encode = NULL; 419 + pwSpec->decode = NULL; 420 + pwSpec->destroy = NULL; 421 + pwSpec->encodeContext = NULL; 422 + pwSpec->decodeContext = NULL; 423 + pwSpec->aead = ssl3_AESGCMBypass; 424 + ssl3_InitCompressionContext(pwSpec); 428 serverContext = pwSpec->server.cipher_context; [all …]
|
D | tls12backuphash.patch | 75 - rv = ssl3_ComputeHandshakeHashes(ss, ss->ssl3.pwSpec, &hashes, 0); 85 + rv = ssl3_ComputeHandshakeHashes(ss, ss->ssl3.pwSpec, &hashes, 0);
|
D | clientauth.patch | 16 isTLS = (PRBool)(ss->ssl3.pwSpec->version > SSL_LIBRARY_VERSION_3_0); 17 isTLS12 = (PRBool)(ss->ssl3.pwSpec->version >= SSL_LIBRARY_VERSION_TLS_1_2);
|