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

This commit is contained in:
TLINDEN
2014-02-15 13:10:51 +01:00
parent 347f155341
commit e78269fceb
12 changed files with 325 additions and 72 deletions

7
TODO
View File

@@ -29,6 +29,13 @@ Unitttests:
- sometimes secret key is empty
libpcp/crypto.c: the stream versions must return the output streams, not close them
crypto.c: In function 'pcp_encrypt_stream':
crypto.c:379: warning: assignment makes integer from pointer without a cast
crypto.c:383: warning: assignment makes integer from pointer without a cast