summaryrefslogtreecommitdiff
path: root/toxencryptsave/toxencryptsave.c
AgeCommit message (Collapse)Author
2016-09-28v0.0.0 => v0.0.1Gregory Mullen (grayhatter)
2016-09-02Do not use `else` after `return`.iphydf
http://llvm.org/docs/CodingStandards.html#use-early-exits-and-continue-to-simplify-code
2016-09-01Sort #includes in all source files.iphydf
2016-08-31Add braces to all if statements.iphydf
2016-08-12Check code formatting on Travis.iphydf
We run astyle on Travis and check if there is a diff. The build terminates if git finds a difference.
2016-02-13added the dropped ;Gregory Mullen (GrayHatter)
2016-02-13added versioning to toxencryptsaveGregory Mullen (GrayHatter)
2016-01-30Fixes.irungentoo
Fixed bug from merged PR. Don't build useless files when building with libsodium.
2015-05-27Allow empty keys in toxencryptsave.irungentoo
2015-05-26These parameters should have been const.irungentoo
2015-04-01Merge branch 'master' of https://github.com/dubslow/toxcoreirungentoo
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-17Save function renamed to tox_get_savedata()irungentoo
2015-03-01Merge branch 'new_api' of https://github.com/dubslow/toxcore into new_apiirungentoo
2015-02-27Realign toxencryptsave with new APIDubslow
2015-02-14A bit of new api work done.irungentoo
2015-01-15Fixed warning.irungentoo
2014-10-23Merge branch 'dubslow-master'irungentoo_trip
# # Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
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-17Merge branch 'master' of https://github.com/dubslow/toxcoreirungentoo
2014-10-17add new test cases, cleanup astray printfdubslow
2014-10-17add load/save from key instead of pwdubslow
2014-10-16astyle toxencryptsave.irungentoo
2014-10-12Fix include issuedubslow
2014-10-10Merge branch 'master' of https://github.com/dubslow/toxcoreirungentoo
2014-10-09re-refactor to separate pass->key and key->encryptiondubslow
2014-10-08refactor toxencryptedsave to allow passphrase encryption of arbitrary datadubslow
also a minor API change for clarity
2014-09-14Fixed toxencryptsave include issue.irungentoo
2014-09-13Properly ported a toxencryptsave function to NaCl.irungentoo
removed now useless files.
2014-09-13Merge branch 'encrypted_data' of https://github.com/dubslow/toxcoreirungentoo
2014-09-12encrypted save fully work with both libsodium and nacldubslow
they both reliably pass "make check"
2014-09-11memzero() segfaulted for unknown reasons... probably pebkac...Dubslow
2014-09-11Add magic number, auto tests still requiredDubslow
2014-09-10nacl compiles! still needs testing though.Dubslow
2014-09-10modify inclusionsDubslow
2014-09-09compiling against nacl seems to break VANILLA_NACL...Dubslow