Lines Matching refs:crypto
10 * $Id: crypto.h 12365 2011-04-17 05:22:50Z jordan $
53 void tr_cryptoConstruct( tr_crypto * crypto, const uint8_t * torrentHash, bool isIncoming );
56 void tr_cryptoDestruct( tr_crypto * crypto );
59 void tr_cryptoSetTorrentHash( tr_crypto * crypto, const uint8_t * torrentHash );
61 const uint8_t* tr_cryptoGetTorrentHash( const tr_crypto * crypto );
63 int tr_cryptoHasTorrentHash( const tr_crypto * crypto );
65 const uint8_t* tr_cryptoComputeSecret( tr_crypto * crypto,
68 const uint8_t* tr_cryptoGetMyPublicKey( const tr_crypto * crypto,
71 void tr_cryptoDecryptInit( tr_crypto * crypto );
73 void tr_cryptoDecrypt( tr_crypto * crypto,
78 void tr_cryptoEncryptInit( tr_crypto * crypto );
80 void tr_cryptoEncrypt( tr_crypto * crypto,