Home
last modified time | relevance | path

Searched refs:serverKey (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/net/third_party/nss/ssl/
Dsslcon.c2018 SECKEYPublicKey * serverKey = 0; in ssl2_ClientSetupSessionCypher() local
2042 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()
Dssl3con.c6121 SECKEYPublicKey * serverKey = NULL; in ssl3_SendClientKeyExchange() local
6132 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 …]