wickr-crypto-c
|
Functions | |
bool | openssl_aes256_file_encrypt (const wickr_cipher_key_t *key, const char *sourceFilePath, const char *destinationFilePath) |
bool | openssl_aes256_file_decrypt (const wickr_cipher_key_t *key, const char *sourceFilePath, const char *destinationFilePath, bool only_auth_ciphers) |
bool openssl_aes256_file_decrypt | ( | const wickr_cipher_key_t * | key, |
const char * | sourceFilePath, | ||
const char * | destinationFilePath, | ||
bool | only_auth_ciphers | ||
) |
Decrypt a file to another file
Utilizes a small amount of stack memory to decrypt a large file. This function is byte-format compatible with standard memory-based AES functions from this library.
key | the cipher key to use for the decryption operation |
sourceFilePath | the path to the source file to decrypt |
destinationFilePath | the location to save the decrypted file |
only_auth_ciphers | if true, only authenticated ciphers may be used for decryption |
bool openssl_aes256_file_encrypt | ( | const wickr_cipher_key_t * | key, |
const char * | sourceFilePath, | ||
const char * | destinationFilePath | ||
) |
Encrypt a file to another file
Utilizes a small amount of stack memory to encrypt a large file. This function is byte-format compatible with standard memory-based AES functions from this library.
key | the cipher key to use for the encryption operation |
sourceFilePath | the path to the source file to encrypt |
destinationFilePath | the location to save the encrypted file |