Rename PK11_PubDeriveExtended to PK11_PubDeriveWithKDF
git-svn-id: svn://10.0.0.236/trunk@151008 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
c47ca84f57
commit
9af88d0f5a
@ -771,7 +771,7 @@ PK11_ExportEncryptedPrivKeyInfo;
|
||||
PK11_FindSlotsByNames;
|
||||
PK11_GetSymKeyType;
|
||||
PK11_MoveSymKey;
|
||||
PK11_PubDeriveExtended;
|
||||
PK11_PubDeriveWithKDF;
|
||||
PK11_PubUnwrapSymKeyWithFlagsPerm;
|
||||
PK11_UnwrapSymKeyWithFlagsPerm;
|
||||
SECITEM_ArenaDupItem;
|
||||
|
||||
@ -330,7 +330,7 @@ PK11SymKey *PK11_PubDerive( SECKEYPrivateKey *privKey,
|
||||
SECKEYPublicKey *pubKey, PRBool isSender, SECItem *randomA, SECItem *randomB,
|
||||
CK_MECHANISM_TYPE derive, CK_MECHANISM_TYPE target,
|
||||
CK_ATTRIBUTE_TYPE operation, int keySize,void *wincx) ;
|
||||
PK11SymKey *PK11_PubDeriveExtended( SECKEYPrivateKey *privKey,
|
||||
PK11SymKey *PK11_PubDeriveWithKDF( SECKEYPrivateKey *privKey,
|
||||
SECKEYPublicKey *pubKey, PRBool isSender, SECItem *randomA, SECItem *randomB,
|
||||
CK_MECHANISM_TYPE derive, CK_MECHANISM_TYPE target,
|
||||
CK_ATTRIBUTE_TYPE operation, int keySize,
|
||||
|
||||
@ -3000,7 +3000,7 @@ PK11_PubDerive(SECKEYPrivateKey *privKey, SECKEYPublicKey *pubKey,
|
||||
}
|
||||
|
||||
PK11SymKey *
|
||||
PK11_PubDeriveExtended(SECKEYPrivateKey *privKey, SECKEYPublicKey *pubKey,
|
||||
PK11_PubDeriveWithKDF(SECKEYPrivateKey *privKey, SECKEYPublicKey *pubKey,
|
||||
PRBool isSender, SECItem *randomA, SECItem *randomB,
|
||||
CK_MECHANISM_TYPE derive, CK_MECHANISM_TYPE target,
|
||||
CK_ATTRIBUTE_TYPE operation, int keySize,
|
||||
|
||||
@ -38,7 +38,7 @@
|
||||
* may use your version of this file under either the MPL or the
|
||||
* GPL.
|
||||
*
|
||||
* $Id: ssl3con.c,v 1.62 2003-12-19 23:54:29 wchang0222%aol.com Exp $
|
||||
* $Id: ssl3con.c,v 1.63 2004-01-08 01:37:46 jpierre%netscape.com Exp $
|
||||
*/
|
||||
|
||||
#include "nssrenam.h"
|
||||
@ -3759,7 +3759,7 @@ sendECDHClientKeyExchange(sslSocket * ss, SECKEYPublicKey * svrPubKey)
|
||||
}
|
||||
|
||||
/* Determine the PMS */
|
||||
pms = PK11_PubDeriveExtended(privKey, svrPubKey, PR_FALSE, NULL, NULL,
|
||||
pms = PK11_PubDeriveWithKDF(privKey, svrPubKey, PR_FALSE, NULL, NULL,
|
||||
CKM_ECDH1_DERIVE, target, CKA_DERIVE, 0,
|
||||
kdf, NULL, NULL);
|
||||
|
||||
@ -6983,7 +6983,7 @@ ssl3_HandleECDHClientKeyExchange(sslSocket *ss, SSL3Opaque *b,
|
||||
}
|
||||
|
||||
/* Determine the PMS */
|
||||
pms = PK11_PubDeriveExtended(srvrPrivKey, &clntPubKey, PR_FALSE, NULL, NULL,
|
||||
pms = PK11_PubDeriveWithKDF(srvrPrivKey, &clntPubKey, PR_FALSE, NULL, NULL,
|
||||
CKM_ECDH1_DERIVE, target, CKA_DERIVE, 0,
|
||||
kdf, NULL, NULL);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user