yast2-core
Namespaces | Macros | Functions
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 "config.h"
#include <crypt.h>
#include "y2log.h"
#include "y2crypt.h"

Namespaces

 YaST
 

Macros

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

Functions

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

Macro Definition Documentation

#define _GNU_SOURCE
#define _OW_SOURCE
#define CRYPT_GENSALT_OUTPUT_SIZE   (7 + 22 + 1)

Referenced by YaST::make_crypt_salt().

#define RANDOM_DEVICE   "/dev/urandom"

Referenced by YaST::make_crypt_salt().


Generated on a sunny day for yast2-core by doxygen 1.8.11