Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Side by Side Diff: nss/lib/softoken/pkcs11i.h

Issue 23510003: Implement the TLS 1.2 mechanisms for PKCS #11. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Allow CKM_TLS12_MAC to use the TLS 1.0 and 1.1 PRF Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « nss/lib/softoken/pkcs11c.c ('k') | nss/lib/softoken/tlsprf.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* This Source Code Form is subject to the terms of the Mozilla Public 1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 /* 4 /*
5 * Internal data structures and functions used by pkcs11.c 5 * Internal data structures and functions used by pkcs11.c
6 */ 6 */
7 #ifndef _PKCS11I_H_ 7 #ifndef _PKCS11I_H_
8 #define _PKCS11I_H_ 1 8 #define _PKCS11I_H_ 1
9 9
10 #include "nssilock.h" 10 #include "nssilock.h"
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 void sftk_MACConstantTime_DestroyContext(void *pctx, PRBool); 731 void sftk_MACConstantTime_DestroyContext(void *pctx, PRBool);
732 732
733 /**************************************** 733 /****************************************
734 * implement TLS Pseudo Random Function (PRF) 734 * implement TLS Pseudo Random Function (PRF)
735 */ 735 */
736 736
737 extern CK_RV 737 extern CK_RV
738 sftk_TLSPRFInit(SFTKSessionContext *context, 738 sftk_TLSPRFInit(SFTKSessionContext *context,
739 SFTKObject * key, 739 SFTKObject * key,
740 CK_KEY_TYPE key_type, 740 CK_KEY_TYPE key_type,
741 » » HASH_HashType hash_alg); 741 » » HASH_HashType hash_alg,
742 » » unsigned int out_len);
742 743
743 SEC_END_PROTOS 744 SEC_END_PROTOS
744 745
745 #endif /* _PKCS11I_H_ */ 746 #endif /* _PKCS11I_H_ */
OLDNEW
« no previous file with comments | « nss/lib/softoken/pkcs11c.c ('k') | nss/lib/softoken/tlsprf.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698