summaryrefslogtreecommitdiff
path: root/toxcore/crypto_core.h
AgeCommit message (Collapse)Author
2015-04-18The only secure compare function currently needed is one to compare 2 public ↵irungentoo
keys.
2015-02-14Code cleanups.irungentoo
2015-01-21Code cleanups.irungentoo
2014-12-31Merge branch '1210' of https://github.com/ldrumm/toxcoreirungentoo
2014-12-31Remove useless defines.irungentoo
2014-12-31fixes #1210Luke Drummond
2014-09-09spelling correctionscgar
2014-06-16Added more input validation to add_friend functions.irungentoo
2014-06-10Astyle and fixes.irungentoo
2014-06-10Const correctness in toxcore/crypto_core.cMarc Schütz
2014-05-01Random number functions belong in crypto_core.irungentoo
2014-05-01Protocol implementation is starting to look ok.irungentoo
Still need to decide exactly how data packets will work though.
2014-05-01Improved the crypto_cmp function.irungentoo
It now uses the NaCl functions when the length is appropriate. Moved crypto defines to crypto_core.h
2014-04-29Some more work done on the middle network protocol.irungentoo
Handshake most likely has no more possible flaws to it, next thing to do is to do the same with the data packets. Wrote a couple more functions.
2014-04-28Added some functions to create/handle middle level protocol packets.irungentoo
2014-04-23Major cleanups.irungentoo
Fixed circular dependency between DHT and net_crypto: DHT no longer depends on net_crypto. Moved the crypto request packets functions to crypto core and DHT. Cleaned up/added some defines that can be used to get the true maximum length of things like the friends request message. MAX_DATA_SIZE has been replaced in most places by more appropriate defines.
2014-04-21Crypto related cleanups.irungentoo
Moved Bunch of functions from net_crypto to crypto_core. decrypt_data_fast and decrypt_data_symmetric were the same thing therefore, removed decrypt_data_fast. Replaced all the crypto_secretbox_* defines with the equivalent crypto_box_* one. New define: crypto_box_KEYBYTES that is equal to crypto_box_BEFORENMBYTES.