yast2-core
|
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.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) |
#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().