Searched refs:modulusLen (Results 1 – 1 of 1) sorted by relevance
1557 int modulusLen; in ssl2_ServerSetupSessionCypher() local1618 modulusLen = PK11_GetPrivateModulusLen(sc->SERVERKEY); in ssl2_ServerSetupSessionCypher()1619 if (modulusLen == -1) { in ssl2_ServerSetupSessionCypher()1621 modulusLen = ekLen; in ssl2_ServerSetupSessionCypher()1623 if (ekLen > modulusLen || ekLen + ckLen < keySize) { in ssl2_ServerSetupSessionCypher()1631 kbuf = (PRUint8*)PORT_Alloc(modulusLen); in ssl2_ServerSetupSessionCypher()1636 dk = kbuf + modulusLen - dkLen; in ssl2_ServerSetupSessionCypher()1642 rv = PK11_PubDecryptRaw(sc->SERVERKEY, kbuf, &ddLen, modulusLen, ek, ekLen); in ssl2_ServerSetupSessionCypher()1647 if (modulusLen != ddLen) in ssl2_ServerSetupSessionCypher()1952 ssl_FormatSSL2Block(unsigned modulusLen, SECItem *data) in ssl_FormatSSL2Block() argument[all …]