summaryrefslogtreecommitdiff
path: root/auto_tests/encryptsave_test.c
AgeCommit message (Collapse)Author
2015-05-27Allow empty keys in toxencryptsave.irungentoo
2015-05-22Move savedata to options struct.irungentoo
Add a way to select the type of savedata (normal savedata, load a secret key, potentially others?) to load.
2015-03-31Make keys into a struct for more programmer safetyDubslow
2015-03-31Fix minor code duplicationDubslow
2015-03-31Merge branch 'master' of https://github.com/dubslow/toxcoreirungentoo
2015-03-31Fix toxencryptsave to be consistent with new_apiDubslow
Upon my own decision, the two tox_encryped_new convenience functions were removed due to basically needing two different sets of error codes. At iphydf's suggestion the corresponding tox_get_encrypted_savedata convenience functions were removed as well.
2015-03-26Making tox_encrypted_new() use the same error codes as tox_new was a bad idea.irungentoo
They now have their own error codes.
2015-03-01Properly fixed encryptsave_test.cirungentoo
2015-02-28Update encryption autotestDubslow
2015-02-08Fixed test.irungentoo
2014-11-25Astyle autotests.irungentoo
2014-10-23fix #1124 by adding salt manip functionsdubslow
Also, all data now has the magic number prepended. This is incompatible for all but the save/load functions, but I think nothing besides the one experimental qTox branch used any of those, which is why I feel confident about the change.
2014-10-17add new test cases, cleanup astray printfdubslow
2014-10-17add load/save from key instead of pwdubslow
2014-10-08refactor toxencryptedsave to allow passphrase encryption of arbitrary datadubslow
also a minor API change for clarity
2014-10-07fix #1104dubslow
2014-09-11memzero() segfaulted for unknown reasons... probably pebkac...Dubslow
2014-09-11testing works, but doesn't pass...Dubslow