OLD | NEW |
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 Loading... |
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_ */ |
OLD | NEW |