|
|
1.1.1.3 ! root 1: /* The source code contained in this file has been derived from the source code ! 2: of Encryption for the Masses 2.02a by Paul Le Roux. Modifications and ! 3: additions to that source code contained in this file are Copyright (c) 2004 ! 4: TrueCrypt Team and Copyright (c) 2004 TrueCrypt Foundation. Unmodified ! 5: parts are Copyright (c) 1998-99 Paul Le Roux. This is a TrueCrypt Foundation ! 6: release. Please see the file license.txt for full license details. */ 1.1 root 7: 8: 9: /* Everything below this line is automatically updated by the -mkproto-tool- */ 10: 11: void truncate (char *d1, char *d2, int len); 12: void hmac_sha (char *k, int lk, char *d, int ld, char *out, int t); 13: void derive_u_sha (char *pwd, int pwd_len, char *salt, int salt_len, int iterations, char *u, int b); 14: void derive_sha_key (char *pwd, int pwd_len, char *salt, int salt_len, int iterations, char *dk, int dklen); 1.1.1.3 ! root 15: void hmac_rmd160 (unsigned char *key, int keylen, unsigned char *input, int len, unsigned char *digest); ! 16: void derive_u_rmd160 (char *pwd, int pwd_len, char *salt, int salt_len, int iterations, char *u, int b); ! 17: void derive_rmd160_key (char *pwd, int pwd_len, char *salt, int salt_len, int iterations, char *dk, int dklen); 1.1 root 18: BOOL test_hmac_sha1 (void); 1.1.1.3 ! root 19: BOOL test_hmac_rmd160 (void); 1.1 root 20: BOOL test_pkcs5 (void); 21: int pkcs5main (void);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.