Home | History | Annotate | Download | only in ssl

Lines Matching refs:writeKey

92     PRUint8           nkd; /* size of readKey and writeKey in bytes. */
461 ssl2_CreateMAC(sslSecurityInfo *sec, SECItem *readKey, SECItem *writeKey,
473 SECITEM_CopyItem(0, &sec->sendSecret, writeKey);
1351 SECItem * writeKey,
1359 unsigned nkd = 0; /* size of readKey and writeKey. */
1368 writeKey->data = 0;
1387 writeKey->data = (PRUint8*) PORT_Alloc(nkd);
1388 if (!writeKey->data)
1390 writeKey->len = nkd;
1411 PORT_Memcpy(writeKey->data, km + nkd, nkd);
1435 SECItem writeKey;
1440 writeKey.data = 0;
1465 rk = isClient ? &readKey : &writeKey;
1466 wk = isClient ? &writeKey : &readKey;
1469 rv = ssl2_ProduceKeys(ss, &readKey, &writeKey, &sid->u.ssl2.masterKey,
1478 PORT_Memcpy(ss->sec.ci.writeKey, writeKey.data, writeKey.len);
2297 rv = SGN_Update(sgn, ss->sec.ci.writeKey, ss->sec.ci.keySize);
2482 rv = VFY_Update(vfy, ss->sec.ci.writeKey, ss->sec.ci.keySize);