y2crypt.cc File Reference

#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <xcrypt.h>
#include "y2log.h"
#include "y2crypt.h"

Defines

#define CRYPT_GENSALT_OUTPUT_SIZE   (7 + 22 + 1)
#define RANDOM_DEVICE   "/dev/urandom"

Functions

static int read_loop (int fd, char *buffer, int count)
static char * make_crypt_salt (const char *crypt_prefix, int crypt_rounds)
bool crypt_pass (string unencrypted, crypt_t use_crypt, string *encrypted)

Define Documentation

#define CRYPT_GENSALT_OUTPUT_SIZE   (7 + 22 + 1)
 

#define RANDOM_DEVICE   "/dev/urandom"
 


Function Documentation

bool crypt_pass string  unencrypted,
crypt_t  use_crypt,
string *  encrypted
 

static char* make_crypt_salt const char *  crypt_prefix,
int  crypt_rounds
[static]
 

static int read_loop int  fd,
char *  buffer,
int  count
[static]
 


Generated on Fri Jun 16 18:07:45 2006 for yast2-core by  doxygen 1.4.6