OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions
read_pwd.c File Reference
#include <openssl/e_os2.h>
#include <unistd.h>
#include "des_locl.h"
#include "cryptlib.h"
#include <signal.h>
#include <stdio.h>
#include <string.h>
#include <setjmp.h>
#include <errno.h>
#include <sgtty.h>
#include <sys/ioctl.h>

Go to the source code of this file.

Macros

#define SGTTY
 
#define TTY_STRUCT   struct sgttyb
 
#define TTY_FLAGS   sg_flags
 
#define TTY_get(tty, data)   ioctl(tty,TIOCGETP,data)
 
#define TTY_set(tty, data)   ioctl(tty,TIOCSETP,data)
 
#define NX509_SIG   32
 
#define SIZE   4
 

Functions

int des_read_pw_string (char *buf, int length, const char *prompt, int verify)
 
int des_read_pw (char *buf, char *buff, int size, const char *prompt, int verify)
 

Macro Definition Documentation

#define NX509_SIG   32

Definition at line 199 of file read_pwd.c.

#define SGTTY

Definition at line 135 of file read_pwd.c.

#define SIZE   4
#define TTY_FLAGS   sg_flags

Definition at line 163 of file read_pwd.c.

#define TTY_get (   tty,
  data 
)    ioctl(tty,TIOCGETP,data)

Definition at line 164 of file read_pwd.c.

#define TTY_set (   tty,
  data 
)    ioctl(tty,TIOCSETP,data)

Definition at line 165 of file read_pwd.c.

#define TTY_STRUCT   struct sgttyb

Definition at line 162 of file read_pwd.c.

Function Documentation

int des_read_pw ( char *  buf,
char *  buff,
int  size,
const char *  prompt,
int  verify 
)

Definition at line 259 of file read_pwd.c.

int des_read_pw_string ( char *  buf,
int  length,
const char *  prompt,
int  verify 
)

Definition at line 216 of file read_pwd.c.