|
|
1.1.1.9 root 1: /* 1.1.1.11! root 2: Legal Notice: Some portions of the source code contained in this file were ! 3: derived from the source code of Encryption for the Masses 2.02a, which is ! 4: Copyright (c) 1998-2000 Paul Le Roux and which is governed by the 'License ! 5: Agreement for Encryption for the Masses'. Modifications and additions to ! 6: the original source code (contained in this file) and all other portions of ! 7: this file are Copyright (c) 2003-2008 TrueCrypt Foundation and are governed ! 8: by the TrueCrypt License 2.4 the full text of which is contained in the ! 9: file License.txt included in TrueCrypt binary and source code distribution 1.1.1.9 root 10: packages. */ 1.1 root 11: 1.1.1.11! root 12: #ifndef TC_HEADER_PKCS5 ! 13: #define TC_HEADER_PKCS5 1.1 root 14: 1.1.1.11! root 15: #include "Tcdefs.h" ! 16: ! 17: #if defined(__cplusplus) ! 18: extern "C" ! 19: { ! 20: #endif ! 21: ! 22: void hmac_sha512 (char *k, int lk, char *d, int ld, char *out, int t); ! 23: void derive_u_sha512 (char *pwd, int pwd_len, char *salt, int salt_len, int iterations, char *u, int b); ! 24: void derive_key_sha512 (char *pwd, int pwd_len, char *salt, int salt_len, int iterations, char *dk, int dklen); 1.1.1.6 root 25: void hmac_sha1 (char *k, int lk, char *d, int ld, char *out, int t); 26: void derive_u_sha1 (char *pwd, int pwd_len, char *salt, int salt_len, int iterations, char *u, int b); 27: void derive_key_sha1 (char *pwd, int pwd_len, char *salt, int salt_len, int iterations, char *dk, int dklen); 28: void hmac_ripemd160 (char *key, int keylen, char *input, int len, char *digest); 29: void derive_u_ripemd160 (char *pwd, int pwd_len, char *salt, int salt_len, int iterations, char *u, int b); 30: void derive_key_ripemd160 (char *pwd, int pwd_len, char *salt, int salt_len, int iterations, char *dk, int dklen); 31: void hmac_whirlpool (char *k, int lk, char *d, int ld, char *out, int t); 32: void derive_u_whirlpool (char *pwd, int pwd_len, char *salt, int salt_len, int iterations, char *u, int b); 33: void derive_key_whirlpool (char *pwd, int pwd_len, char *salt, int salt_len, int iterations, char *dk, int dklen); 1.1.1.11! root 34: int get_pkcs5_iteration_count (int pkcs5_prf_id, BOOL bBoot); 1.1.1.6 root 35: char *get_pkcs5_prf_name (int pkcs5_prf_id); 1.1.1.11! root 36: ! 37: #if defined(__cplusplus) ! 38: } ! 39: #endif ! 40: ! 41: #endif // TC_HEADER_PKCS5
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.