Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Examples

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

int read_loop (int fd, char *buffer, int count)
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
 

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

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


Generated on Fri Nov 9 18:15:23 2007 for yast2-core by doxygen 1.3.6