Commit Graph

17 Commits

Author SHA1 Message Date
TLINDEN
2e7479525f turned crypto_secretbox nonces into counters, thereby implementing counter mode (CTR mode). we use variable size counters, max counter size is 184 bit, max implemented currently are 64 bit, multiply by 32kb and you get the maximum file size supported by pcp encryption 2015-01-16 00:13:02 +01:00
TLINDEN
54986fa6dc migrated to libsodium _easy() crypto functions, thus getting rid of my hand made padding mess 2015-01-13 13:04:12 +01:00
TLINDEN
10f4ffa05a fixed doxygen errors 2015-01-11 13:14:02 +01:00
git@daemon.de
298e6b1469 added anonymous sender key (-A) support 2014-08-11 15:45:47 +02:00
TLINDEN
da9891ff81 put previously global error handling and key hashes into ptx (pcp context) to make libpcp threadsafe. 2014-05-04 17:11:03 +02:00
git@daemon.de
3b1db06529 changed all occurrences of unsigned char to byte (defined in defines.h) to make the code more precise about sizes. 2014-02-25 11:09:58 +01:00
git@daemon.de
08bc0bc8bf updated api docs. 2014-02-20 15:36:49 +01:00
git@daemon.de
51e3cec60d api doc updated 2014-02-19 20:39:19 +01:00
TLINDEN
e78269fceb added pcpstream, which wraps buffers or file i/o, so crypto code doesn't have to know if it works with a file or a buffer. makes the api much more flexible 2014-02-15 13:10:51 +01:00
TLINDEN
8f24fc88f8 changed invalid // c++ comments to valid /* .. */ C comments 2014-02-05 20:41:16 +01:00
git@daemon.de
a89b16a15c fixed crypt+sign, now the sig contains the encrypted recipient list as well and is encrypted itself 2014-02-05 13:09:20 +01:00
git@daemon.de
770d8cb234 added crypt+sign support 2014-01-27 16:12:43 +01:00
TLINDEN
1efff67d37 implemented pbp-compatible self encryption mode (symetrical encryption using scrypt(passphrase, static nonce), no pk) 2014-01-22 23:20:30 +01:00
git@daemon.de
7b56ab60a6 changed asym decryption to pbp scheme, compatibility untested yet, but works pcp-internally already 2014-01-22 16:23:30 +01:00
git@daemon.de
67ba04f3bd moved file en/de-cryption from src to libpcp, which makes it way easier to
implement pbp compatibility
2014-01-20 10:16:05 +01:00
TLINDEN
a9b2796af2 renamed 'public' to 'pub' to avoid conflict with c++ api 2013-11-29 20:01:42 +01:00
git@daemon.de
f843d4c570 re-organized include files 2013-11-07 08:10:31 +01:00