Home
last modified time | relevance | path

Searched refs:peerKey (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/net/third_party/nss/ssl/
Dssl3ecc.c605 SECKEYPublicKey *peerKey = NULL; in ssl3_HandleECDHServerKeyExchange() local
711 ss->sec.peerKey = peerKey = PORT_ArenaZNew(arena, SECKEYPublicKey); in ssl3_HandleECDHServerKeyExchange()
712 if (peerKey == NULL) { in ssl3_HandleECDHServerKeyExchange()
716 peerKey->arena = arena; in ssl3_HandleECDHServerKeyExchange()
717 peerKey->keyType = ecKey; in ssl3_HandleECDHServerKeyExchange()
721 &peerKey->u.ec.DEREncodedParams) != SECSuccess) { in ssl3_HandleECDHServerKeyExchange()
730 if (SECITEM_CopyItem(arena, &peerKey->u.ec.publicValue, &ec_point)) in ssl3_HandleECDHServerKeyExchange()
735 peerKey->pkcs11Slot = NULL; in ssl3_HandleECDHServerKeyExchange()
736 peerKey->pkcs11ID = CK_INVALID_HANDLE; in ssl3_HandleECDHServerKeyExchange()
738 ss->sec.peerKey = peerKey; in ssl3_HandleECDHServerKeyExchange()
Dssl3con.c3257 if (ss->sec.peerKey != NULL) { in ssl3_HandleNoCertificate()
3258 SECKEY_DestroyPublicKey(ss->sec.peerKey); in ssl3_HandleNoCertificate()
3259 ss->sec.peerKey = NULL; in ssl3_HandleNoCertificate()
6131 if (ss->sec.peerKey == NULL) { in ssl3_SendClientKeyExchange()
6138 serverKey = ss->sec.peerKey; in ssl3_SendClientKeyExchange()
6139 ss->sec.peerKey = NULL; /* we're done with it now */ in ssl3_SendClientKeyExchange()
6740 SECKEYPublicKey *peerKey = NULL; in ssl3_HandleServerKeyExchange() local
6841 peerKey = PORT_ArenaZNew(arena, SECKEYPublicKey); in ssl3_HandleServerKeyExchange()
6842 if (peerKey == NULL) { in ssl3_HandleServerKeyExchange()
6847 peerKey->arena = arena; in ssl3_HandleServerKeyExchange()
[all …]
Dsslsecur.c1033 if (sec->peerKey) { in ssl_ResetSecurityInfo()
1034 SECKEY_DestroyPublicKey(sec->peerKey); in ssl_ResetSecurityInfo()
1035 sec->peerKey = NULL; in ssl_ResetSecurityInfo()
Dsslimpl.h1135 SECKEYPublicKey *peerKey; /* ssl3 only */ member