Searched refs:serverKey (Results 1 – 2 of 2) sorted by relevance
2018 SECKEYPublicKey * serverKey = 0; in ssl2_ClientSetupSessionCypher() local2042 serverKey = CERT_ExtractPublicKey(cert); in ssl2_ClientSetupSessionCypher()2043 if (!serverKey) { in ssl2_ClientSetupSessionCypher()2054 ss->sec.authKeyBits = SECKEY_PublicKeyStrengthInBits(serverKey); in ssl2_ClientSetupSessionCypher()2111 modulusLen = SECKEY_PublicKeyStrength(serverKey); in ssl2_ClientSetupSessionCypher()2131 rv = PK11_PubEncryptRaw(serverKey, ekbuf, eblock, modulusLen, in ssl2_ClientSetupSessionCypher()2153 SECKEY_DestroyPublicKey(serverKey); in ssl2_ClientSetupSessionCypher()
6121 SECKEYPublicKey * serverKey = NULL; in ssl3_SendClientKeyExchange() local6132 serverKey = CERT_ExtractPublicKey(ss->sec.peerCert); in ssl3_SendClientKeyExchange()6133 if (serverKey == NULL) { in ssl3_SendClientKeyExchange()6138 serverKey = ss->sec.peerKey; in ssl3_SendClientKeyExchange()6145 int keyLen = SECKEY_PublicKeyStrength(serverKey); /* bytes */ in ssl3_SendClientKeyExchange()6158 ss->sec.keaKeyBits = SECKEY_PublicKeyStrengthInBits(serverKey); in ssl3_SendClientKeyExchange()6162 rv = sendRSAClientKeyExchange(ss, serverKey); in ssl3_SendClientKeyExchange()6166 rv = sendDHClientKeyExchange(ss, serverKey); in ssl3_SendClientKeyExchange()6171 rv = ssl3_SendECDHClientKeyExchange(ss, serverKey); in ssl3_SendClientKeyExchange()6186 if (serverKey) in ssl3_SendClientKeyExchange()[all …]