Home
last modified time | relevance | path

Searched refs:msItem (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/net/third_party/nss/ssl/
Dderive.c103 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()
162 status = TLS_P_hash(HASH_AlgSHA256, &pwSpec->msItem, in ssl3_KeyAndMacDeriveBypass()
165 status = TLS_PRF(&pwSpec->msItem, "key expansion", &srcr, &keyblk, in ssl3_KeyAndMacDeriveBypass()
189 SHA1_Update(shaCtx, pwSpec->msItem.data, pwSpec->msItem.len); in ssl3_KeyAndMacDeriveBypass()
195 MD5_Update(md5Ctx, pwSpec->msItem.data, pwSpec->msItem.len); in ssl3_KeyAndMacDeriveBypass()
516 pwSpec->msItem.data = pwSpec->raw_master_secret; in ssl3_MasterKeyDeriveBypass()
517 pwSpec->msItem.len = SSL3_MASTER_SECRET_LENGTH; in ssl3_MasterKeyDeriveBypass()
[all …]
Dssl3con.c1382 spec->msItem.data = NULL; in ssl3_DestroyCipherSpec()
1383 spec->msItem.len = 0; in ssl3_DestroyCipherSpec()
2293 if (pms || (!pwSpec->msItem.len && !pwSpec->master_secret)) { in ssl3_InitPendingCipherSpec()
2300 if (ss->opt.bypassPKCS11 && pwSpec->msItem.len && pwSpec->msItem.data) { in ssl3_InitPendingCipherSpec()
3821 pwSpec->msItem.data = pwSpec->raw_master_secret; in ssl3_DeriveMasterSecret()
3822 pwSpec->msItem.len = keydata->len; in ssl3_DeriveMasterSecret()
4628 if (!spec->msItem.data) { in ssl3_ComputeHandshakeHashes()
4651 if (!spec->msItem.data) { in ssl3_ComputeHandshakeHashes()
4676 MD5_Update(md5cx, spec->msItem.data, spec->msItem.len); in ssl3_ComputeHandshakeHashes()
4690 SHA1_Update(shacx, spec->msItem.data, spec->msItem.len); in ssl3_ComputeHandshakeHashes()
[all …]
Dssl3ext.c1057 if (ss->ssl3.pwSpec->msItem.len && ss->ssl3.pwSpec->msItem.data) { in ssl3_SendNewSessionTicket()
1059 ms_item.data = ss->ssl3.pwSpec->msItem.data; in ssl3_SendNewSessionTicket()
1060 ms_item.len = ss->ssl3.pwSpec->msItem.len; in ssl3_SendNewSessionTicket()
Dsslinfo.c396 if (!ss->ssl3.cwSpec->master_secret && !ss->ssl3.cwSpec->msItem.len) { in SSL_ExportKeyingMaterial()
Dsslimpl.h604 SECItem msItem; member