#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <openssl/evp.h>
Go to the source code of this file.
Macros | |
#define | STDIN 0 |
#define | STDOUT 1 |
#define | BUFLEN 512 |
#define | INIT_VECTOR "12345678" |
#define | ENCRYPT 1 |
#define | DECRYPT 0 |
#define | ALG EVP_des_ede3_cbc() |
Functions | |
void | do_cipher (char *, int) |
int | main (int argc, char *argv[]) |
#define ALG EVP_des_ede3_cbc() |
Definition at line 22 of file example3.c.
#define BUFLEN 512 |
Definition at line 18 of file example3.c.
#define DECRYPT 0 |
Definition at line 21 of file example3.c.
#define ENCRYPT 1 |
Definition at line 20 of file example3.c.
#define INIT_VECTOR "12345678" |
Definition at line 19 of file example3.c.
#define STDIN 0 |
Definition at line 16 of file example3.c.
#define STDOUT 1 |
Definition at line 17 of file example3.c.
void do_cipher | ( | char * | pw, |
int | operation | ||
) |
Definition at line 47 of file example3.c.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 28 of file example3.c.