#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <openssl/opensslconf.h>
#include <time.h>
#include "des_ver.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <openssl/des.h>
#include <openssl/rand.h>
#include <openssl/ui_compat.h>
Go to the source code of this file.
|
void | usage (void) |
|
void | doencryption (void) |
|
int | uufwrite (unsigned char *data, int size, unsigned int num, FILE *fp) |
|
void | uufwriteEnd (FILE *fp) |
|
int | uufread (unsigned char *out, int size, unsigned int num, FILE *fp) |
|
int | uuencode (unsigned char *in, int num, unsigned char *out) |
|
int | uudecode (unsigned char *in, int num, unsigned char *out) |
|
void | DES_3cbc_encrypt (DES_cblock *input, DES_cblock *output, long length, DES_key_schedule sk1, DES_key_schedule sk2, DES_cblock *ivec1, DES_cblock *ivec2, int enc) |
|
int | main (int argc, char **argv) |
|
Value:(l =((DES_LONG)(*((c)++)))<<16, \
l|=((DES_LONG)(*((c)++)))<< 8, \
l|=((DES_LONG)(*((
c)++))))
Definition at line 818 of file des.c.
#define INUUBUFN (45*100) |
#define KEYSIZB 1024 /* should hit tty line limit first :-) */ |
Value:(*((
c)++)=(
unsigned char)(((l)>>16)&0xff), \
*((
c)++)=(
unsigned char)(((l)>> 8)&0xff), \
*((
c)++)=(
unsigned char)(((l) )&0xff))
Definition at line 822 of file des.c.
#define OUTUUBUF (65*100) |
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
int uudecode |
( |
unsigned char * |
in, |
|
|
int |
num, |
|
|
unsigned char * |
out |
|
) |
| |
int uuencode |
( |
unsigned char * |
in, |
|
|
int |
num, |
|
|
unsigned char * |
out |
|
) |
| |
int uufread |
( |
unsigned char * |
out, |
|
|
int |
size, |
|
|
unsigned int |
num, |
|
|
FILE * |
fp |
|
) |
| |
int uufwrite |
( |
unsigned char * |
data, |
|
|
int |
size, |
|
|
unsigned int |
num, |
|
|
FILE * |
fp |
|
) |
| |
void uufwriteEnd |
( |
FILE * |
fp | ) |
|
DES_cblock cksum ={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00} |