Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
#include <openssl/ui.h>
#include <openssl/crypto.h>
#include <openssl/ui.h>
#include <openssl/crypto.h>
#ifndef BUFSIZ
#define BUFSIZ 256
#endif
#ifndef BUFSIZ
#define BUFSIZ 256
#endif
OPENSSL_cleanse(buff, BUFSIZ);
return (ok);
}
OPENSSL_cleanse(buff, BUFSIZ);
return (ok);
}
long length, DES_key_schedule *schedule,
DES_cblock *ivec, int *num);
long length, DES_key_schedule *schedule,
DES_cblock *ivec, int *num);
int DES_read_password(DES_cblock *key, const char *prompt, int verify);
int DES_read_2passwords(DES_cblock *key1, DES_cblock *key2,
const char *prompt, int verify);
int DES_read_password(DES_cblock *key, const char *prompt, int verify);
int DES_read_2passwords(DES_cblock *key1, DES_cblock *key2,
const char *prompt, int verify);
# define DES_fixup_key_parity DES_set_odd_parity
# define DES_fixup_key_parity DES_set_odd_parity