recutils
|
#include <config.h>
#include <string.h>
#include <gcrypt.h>
#include <crc.h>
#include <base64.h>
#include <rec.h>
#include <rec-utils.h>
Macros | |
#define | AESV2_BLKSIZE 16 |
#define | AESV2_KEYSIZE 16 |
#define | SALT_SIZE 4 |
Functions | |
bool | rec_encrypt (char *in, size_t in_size, const char *password, char **out, size_t *out_size) |
bool | rec_decrypt (char *in, size_t in_size, const char *password, char **out, size_t *out_size) |
bool | rec_encrypt_record (rec_rset_t rset, rec_record_t record, const char *password) |
bool | rec_encrypt_field (rec_field_t field, const char *password) |
bool | rec_decrypt_field (rec_field_t field, const char *password) |
bool | rec_decrypt_record (rec_rset_t rset, rec_record_t record, const char *password) |
#define AESV2_BLKSIZE 16 |
#define AESV2_KEYSIZE 16 |
#define SALT_SIZE 4 |
bool rec_decrypt | ( | char * | in, |
size_t | in_size, | ||
const char * | password, | ||
char ** | out, | ||
size_t * | out_size | ||
) |
bool rec_decrypt_field | ( | rec_field_t | field, |
const char * | password | ||
) |
bool rec_decrypt_record | ( | rec_rset_t | rset, |
rec_record_t | record, | ||
const char * | password | ||
) |
bool rec_encrypt | ( | char * | in, |
size_t | in_size, | ||
const char * | password, | ||
char ** | out, | ||
size_t * | out_size | ||
) |
bool rec_encrypt_field | ( | rec_field_t | field, |
const char * | password | ||
) |
bool rec_encrypt_record | ( | rec_rset_t | rset, |
rec_record_t | record, | ||
const char * | password | ||
) |