www.pudn.com > TomCrypt.rar > goozo_crypt.h
//--------------------------------------------------------------------------- #ifndef GOOZO_CRYPT_H_ #define GOOZO_CRYPT_H_ #include#include extern PACKAGE ecc_key ltc_ecc_mykey; void ltc_eax_encrypt(const struct ltc_cipher_descriptor *cipher, AnsiString key,AnsiString nonce, const unsigned char *pt, unsigned char *ct, unsigned length); void ltc_eax_decrypt(const struct ltc_cipher_descriptor *cipher, AnsiString key,AnsiString nonce, const unsigned char *ct, unsigned char *pt, unsigned length); AnsiString ltc_hash_mem(const struct ltc_hash_descriptor *hash, const unsigned char *in, unsigned long length); AnsiString ltc_hash_file(const struct ltc_hash_descriptor *hash, AnsiString filename); int ltc_ecc_encrypt(const unsigned char *pt, unsigned long inlen, unsigned char *ct); void ltc_ecc_decrypt(const unsigned char *ct,unsigned long inlen, unsigned char *pt,unsigned long outlen); #pragma link "tomcrypt.lib" #pragma link "goozo_crypt" //--------------------------------------------------------------------------- #endif