Lines Matching defs:csLen
1733 int csLen)
1751 PRINT_BUF(10, (ss, "specs from client:", cs, csLen));
1757 for (hs = cs, hc = csLen; hc > 0; hs += 3, hc -= 3) {
2012 ssl2_ClientSetupSessionCypher(sslSocket *ss, PRUint8 *cs, int csLen)
2057 nc = csLen / 3;
2743 int needed, sidHit, certLen, csLen, cidLen, certType, err;
2777 csLen
2783 ("%d: SSL[%d]: server-hello, hit=%d vers=%x certLen=%d csLen=%d cidLen=%d",
2785 csLen, cidLen));
2800 if ((SSL_HL_SERVER_HELLO_HBYTES + certLen + csLen + cidLen
2802 || (csLen % 3) != 0
2815 PORT_Memcpy(ss->sec.ci.connectionID, cs + csLen, cidLen);
2820 if (certLen || csLen) {
2822 SSL_DBG(("%d: SSL[%d]: client, huh? hit=%d certLen=%d csLen=%d",
2823 SSL_GETPID(), ss->fd, sidHit, certLen, csLen));
2845 if (csLen == 0) {
2852 SSL_DBG(("%d: SSL[%d]: client, huh? certLen=%d csLen=%d",
2853 SSL_GETPID(), ss->fd, certLen, csLen));
2883 rv = ssl2_ClientSetupSessionCypher(ss, cs, csLen);
3315 int csLen;
3392 csLen = (data[3] << 8) | data[4];
3396 sd = cs + csLen;
3400 if (!csLen || (csLen % 3) != 0 ||
3405 SSL_HL_CLIENT_HELLO_HBYTES + csLen + sdLen + challengeLen) {
3408 SSL_HL_CLIENT_HELLO_HBYTES+csLen+sdLen+challengeLen));
3432 csLen = ssl2_QualifyCypherSpecs(ss, cs, csLen);
3433 if (csLen == 0) {
3436 csLen = sizeof implementedCipherSuites;
3437 PORT_Memcpy(cs, implementedCipherSuites, csLen);
3438 csLen = ssl2_QualifyCypherSpecs(ss, cs, csLen);
3439 if (csLen == 0) {
3474 csLen = 0;
3542 sendLen = SSL_HL_SERVER_HELLO_HBYTES + certLen + csLen
3562 msg[7] = MSB(csLen);
3563 msg[8] = LSB(csLen);
3569 if (csLen) {
3570 PORT_Memcpy(msg+SSL_HL_SERVER_HELLO_HBYTES+certLen, cs, csLen);
3572 PORT_Memcpy(msg+SSL_HL_SERVER_HELLO_HBYTES+certLen+csLen,