Home
last modified time | relevance | path

Searched refs:prompt (Results 1 – 25 of 33) sorted by relevance

12

/openssl/crypto/evp/
H A Devp_key.c24 void EVP_set_pw_prompt(const char *prompt) in EVP_set_pw_prompt() argument
26 if (prompt == NULL) in EVP_set_pw_prompt()
29 strncpy(prompt_string, prompt, 79); in EVP_set_pw_prompt()
47 int EVP_read_pw_string(char *buf, int len, const char *prompt, int verify) in EVP_read_pw_string() argument
49 return EVP_read_pw_string_min(buf, 0, len, prompt, verify); in EVP_read_pw_string()
52 int EVP_read_pw_string_min(char *buf, int min, int len, const char *prompt, in EVP_read_pw_string_min() argument
59 if ((prompt == NULL) && (prompt_string[0] != '\0')) in EVP_read_pw_string_min()
60 prompt = prompt_string; in EVP_read_pw_string_min()
64 if (UI_add_input_string(ui, prompt, 0, buf, min, in EVP_read_pw_string_min()
67 && UI_add_verify_string(ui, prompt, 0, buff, min, in EVP_read_pw_string_min()
/openssl/crypto/ui/
H A Dui_lib.c102 if (prompt == NULL) { in general_allocate_prompt()
108 ret->out_string = prompt; in general_allocate_prompt()
198 return general_allocate_string(ui, prompt, 0, in UI_add_input_string()
209 if (prompt != NULL) { in UI_dup_input_string()
210 prompt_copy = OPENSSL_strdup(prompt); in UI_dup_input_string()
235 if (prompt != NULL) { in UI_dup_verify_string()
236 prompt_copy = OPENSSL_strdup(prompt); in UI_dup_verify_string()
264 if (prompt != NULL) { in UI_dup_input_boolean()
265 prompt_copy = OPENSSL_strdup(prompt); in UI_dup_input_boolean()
341 char *prompt = NULL; in UI_construct_prompt() local
[all …]
H A Dui_util.c19 int UI_UTIL_read_pw_string(char *buf, int length, const char *prompt, in UI_UTIL_read_pw_string() argument
27 prompt, verify); in UI_UTIL_read_pw_string()
32 int UI_UTIL_read_pw(char *buf, char *buff, int size, const char *prompt, in UI_UTIL_read_pw() argument
43 ok = UI_add_input_string(ui, prompt, 0, buf, 0, size - 1); in UI_UTIL_read_pw()
45 ok = UI_add_verify_string(ui, prompt, 0, buff, 0, size - 1, buf); in UI_UTIL_read_pw()
/openssl/apps/lib/
H A Dapps_ui.c172 char *prompt; in password_callback() local
179 prompt = UI_construct_prompt(ui, "pass phrase", prompt_info); in password_callback()
180 if (prompt == NULL) { in password_callback()
192 ok = UI_add_input_string(ui, prompt, ui_flags, buf, in password_callback()
197 ok = UI_add_verify_string(ui, prompt, ui_flags, buff, in password_callback()
221 OPENSSL_free(prompt); in password_callback()
/openssl/include/openssl/
H A Dui.h.in64 add add a text or prompt string. The pointers given to these
71 input use the string as data prompt.
82 All of the functions in this group take a UI and a prompt string.
101 int UI_add_input_string(UI *ui, const char *prompt, int flags,
103 int UI_dup_input_string(UI *ui, const char *prompt, int flags,
105 int UI_add_verify_string(UI *ui, const char *prompt, int flags,
108 int UI_dup_verify_string(UI *ui, const char *prompt, int flags,
147 * The following function helps construct a prompt.
290 * about a string or a prompt, including test data for a verification prompt.
354 * Return the optional action string to output (the boolean prompt
[all …]
/openssl/doc/man3/
H A DUI_new.pod25 int UI_add_input_string(UI *ui, const char *prompt, int flags,
27 int UI_dup_input_string(UI *ui, const char *prompt, int flags,
29 int UI_add_verify_string(UI *ui, const char *prompt, int flags,
32 int UI_dup_verify_string(UI *ui, const char *prompt, int flags,
71 prompt the user for text-based information. Through user-written methods
77 contains all the information needed to prompt correctly as well as a
89 A UI can contain more than one prompt, which are performed in the given
90 sequence. Each prompt gets an index number which is returned by the
117 UI_add_input_string() and UI_add_verify_string() add a prompt to the UI,
120 information is used to prompt for information, for example a password,
[all …]
H A DUI_UTIL_read_pw.pod12 int UI_UTIL_read_pw_string(char *buf, int length, const char *prompt,
14 int UI_UTIL_read_pw(char *buf, char *buff, int size, const char *prompt,
20 UI_UTIL_read_pw_string() asks for a passphrase, using B<prompt> as a
21 prompt, and stores it in B<buf>.
H A DUI_STRING.pod58 output (prompt, info, error, ...).
66 retrieve the result of a prompt and its length.
72 prompt result with.
81 UI_set_result_ex() is used to set the result value of a prompt and its length.
H A DUI_create_method.pod83 the given prompt, maybe from the tty, maybe from a field in a dialog
111 In contrast, a method that builds up a dialog box would add all prompt
161 UI_method_set_prompt_constructor() sets the prompt constructor.
H A DOSSL_CALLBACK.pod40 This is a specialised callback function, used specifically to prompt the
H A DOSSL_ENCODER_CTX_new_for_pkey.pod80 implementation can use to prompt for a pass phrase, giving the caller the
H A DOSSL_DECODER_CTX_new_for_pkey.pod80 implementation can use to prompt for a pass phrase, giving the caller the
/openssl/crypto/
H A Dpassphrase.c120 char *prompt = NULL, *ipass = NULL, *vpass = NULL; in do_ui_passphrase() local
142 prompt = UI_construct_prompt(ui, "pass phrase", prompt_info); in do_ui_passphrase()
143 if (prompt == NULL) { in do_ui_passphrase()
153 prompt_idx = UI_add_input_string(ui, prompt, in do_ui_passphrase()
166 verify_idx = UI_add_verify_string(ui, prompt, in do_ui_passphrase()
198 OPENSSL_free(prompt); in do_ui_passphrase()
/openssl/demos/certs/apps/
H A Dapps.cnf18 # Don't prompt for fields: use those in section directly
19 prompt = no
/openssl/demos/certs/
H A Dca.cnf18 # Don't prompt for fields: use those in section directly
19 prompt = no
/openssl/test/smime-certs/
H A Dca.cnf19 # Don't prompt for fields: use those in section directly
20 prompt = no
/openssl/apps/
H A Denc.c398 char prompt[200]; in enc_main() local
400 BIO_snprintf(prompt, sizeof(prompt), "enter %s %s password:", in enc_main()
404 i = EVP_read_pw_string((char *)strbuf, SIZE, prompt, enc); in enc_main()
/openssl/crypto/pem/
H A Dpem_lib.c37 const char *prompt; in PEM_def_callback() local
47 prompt = EVP_get_pw_prompt(); in PEM_def_callback()
48 if (prompt == NULL) in PEM_def_callback()
49 prompt = "Enter PEM pass phrase:"; in PEM_def_callback()
60 i = EVP_read_pw_string_min(buf, min_len, num, prompt, rwflag); in PEM_def_callback()
/openssl/test/
H A Dca-and-certs.cnf26 prompt = no
H A DCAtsa.cnf57 prompt = no
/openssl/doc/man1/
H A Dopenssl-req.pod.in159 This option generates a new certificate request. It will prompt
569 =item B<prompt>
592 prompt for when generating a certificate or certificate request. The format
600 sections. If the B<prompt> option is set to B<no> then these sections
611 Alternatively if the B<prompt> option is absent or not set to B<no> then the
614 fieldName="prompt"
620 The "prompt" string is used to ask the user to enter the relevant
734 prompt = no
/openssl/engines/
H A De_loader_attic.c59 char *prompt = NULL; in DEFINE_STACK_OF() local
70 if ((prompt = UI_construct_prompt(ui, desc, info)) == NULL) { in DEFINE_STACK_OF()
73 } else if (UI_add_input_string(ui, prompt, UI_INPUT_FLAG_DEFAULT_PWD, in DEFINE_STACK_OF()
92 OPENSSL_free(prompt); in DEFINE_STACK_OF()
/openssl/doc/man7/
H A Dprovider-decoder.pod233 used when a pass phrase prompt is needed.
273 prompt. This could be used to give the user information on what kind
H A Dprovider-encoder.pod247 used when a pass phrase prompt is needed.
293 prompt. This could be used to give the user information on what kind
/openssl/
H A DNOTES-VMS.md66 prompt. Unfortunately, this disrupts all other uses, such as running

Completed in 39 milliseconds

12