Home
last modified time | relevance | path

Searched refs:svrPubKey (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/net/third_party/nss/ssl/
Dsslsnce.c1831 WrapTicketKey(SECKEYPublicKey *svrPubKey, PK11SymKey *symKey, in WrapTicketKey() argument
1836 wrappedKey.len = SECKEY_PublicKeyStrength(svrPubKey); in WrapTicketKey()
1842 if (PK11_PubWrapSymKey(CKM_RSA_PKCS, svrPubKey, symKey, &wrappedKey) in WrapTicketKey()
1909 GenerateAndWrapTicketKeys(SECKEYPublicKey *svrPubKey, void *pwArg, in GenerateAndWrapTicketKeys() argument
1923 if (!WrapTicketKey(svrPubKey, aesKeyTmp, "enc key", cache->ticketEncKey)) in GenerateAndWrapTicketKeys()
1925 if (!WrapTicketKey(svrPubKey, macKeyTmp, "mac key", cache->ticketMacKey)) in GenerateAndWrapTicketKeys()
1985 SECKEYPublicKey *svrPubKey, void *pwArg, in ssl_GetSessionTicketKeysPKCS11() argument
2006 if (!GenerateAndWrapTicketKeys(svrPubKey, pwArg, keyName, in ssl_GetSessionTicketKeysPKCS11()
Dssl3ecc.c272 ssl3_SendECDHClientKeyExchange(sslSocket * ss, SECKEYPublicKey * svrPubKey) in ssl3_SendECDHClientKeyExchange() argument
288 if (svrPubKey->keyType != ecKey) { in ssl3_SendECDHClientKeyExchange()
293 privKey = SECKEY_CreateECPrivateKey(&svrPubKey->u.ec.DEREncodedParams, in ssl3_SendECDHClientKeyExchange()
313 pms = PK11_PubDeriveWithKDF(privKey, svrPubKey, PR_FALSE, NULL, NULL, in ssl3_SendECDHClientKeyExchange()
Dssl3con.c5732 SECKEYPublicKey * svrPubKey = NULL; in getWrappingKey() local
5807 svrPubKey = ss->serverCerts[exchKeyType].serverKeyPair->pubKey; in getWrappingKey()
5809 if (svrPubKey == NULL) { in getWrappingKey()
5814 wrappedKey.len = SECKEY_PublicKeyStrength(svrPubKey); in getWrappingKey()
5825 rv = PK11_PubWrapSymKey(asymWrapMechanism, svrPubKey, in getWrappingKey()
5842 PORT_Assert(svrPubKey->keyType == ecKey); in getWrappingKey()
5843 if (svrPubKey->keyType != ecKey) { in getWrappingKey()
5851 &svrPubKey->u.ec.DEREncodedParams, &pubWrapKey, NULL); in getWrappingKey()
5859 pubWrapKey->u.ec.size = SECKEY_PublicKeyStrengthInBits(svrPubKey); in getWrappingKey()
5980 sendRSAClientKeyExchange(sslSocket * ss, SECKEYPublicKey * svrPubKey) in sendRSAClientKeyExchange() argument
[all …]
Dssl3ext.c156 SECKEYPublicKey *svrPubKey = ss->serverCerts[kt_rsa].serverKeyPair->pubKey; in ssl3_GenerateSessionTicketKeysPKCS11() local
158 if (svrPrivKey == NULL || svrPubKey == NULL) { in ssl3_GenerateSessionTicketKeysPKCS11()
167 if (!ssl_GetSessionTicketKeysPKCS11(svrPrivKey, svrPubKey, in ssl3_GenerateSessionTicketKeysPKCS11()
Dsslimpl.h1776 SECKEYPublicKey * svrPubKey);
1877 SECKEYPublicKey *svrPubKey, void *pwArg,