mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 20:00:58 +01:00
moved file en/de-cryption from src to libpcp, which makes it way easier to
implement pbp compatibility
This commit is contained in:
@@ -52,4 +52,10 @@ unsigned char *pcp_box_decrypt(pcp_key_t *secret, pcp_pubkey_t *pub,
|
||||
unsigned char *cipher, size_t ciphersize,
|
||||
size_t *dsize);
|
||||
|
||||
size_t pcp_encrypt_file(FILE *in, FILE* out, pcp_key_t *s, pcp_pubkey_t *p, int self);
|
||||
|
||||
size_t pcp_decrypt_file(FILE *in, FILE* out, pcp_key_t *s);
|
||||
|
||||
|
||||
|
||||
#endif // _HAVE_PCP_CRYPTO_H
|
||||
|
||||
Reference in New Issue
Block a user