Home
last modified time | relevance | path

Searched refs:rwflag (Results 1 – 15 of 15) sorted by relevance

/openssl/crypto/ui/
H A Dui_util.c59 int rwflag; member
114 data->rwflag, UI_get0_user_data(ui)); in ui_read()
142 UI_METHOD *UI_UTIL_wrap_read_pem_callback(pem_password_cb *cb, int rwflag) in UI_UTIL_wrap_read_pem_callback() argument
159 data->rwflag = rwflag; in UI_UTIL_wrap_read_pem_callback()
/openssl/doc/man3/
H A DSSL_CTX_set_default_passwd_cb.pod50 be returned to the calling function. B<rwflag> indicates whether the
51 callback is used for reading/decryption (rwflag=0) or writing/encryption
52 (rwflag=1).
67 B<rwflag> to check, whether an item shall be encrypted (rwflag=1).
86 int my_cb(char *buf, int size, int rwflag, void *u)
H A DUI_UTIL_read_pw.pod16 UI_METHOD *UI_UTIL_wrap_read_pem_callback(pem_password_cb *cb, int rwflag);
32 B<rwflag> is used to specify if this method will be used for
H A DPEM_read_bio_PrivateKey.pod42 typedef int pem_password_cb(char *buf, int size, int rwflag, void *u);
361 int cb(char *buf, int size, int rwflag, void *u);
364 length of the passphrase (i.e. the size of buf). I<rwflag> is a flag
367 for it twice) if I<rwflag> is 1. The I<u> parameter has the same
539 int pass_cb(char *buf, int size, int rwflag, void *u)
542 /* We'd probably do something else if 'rwflag' is 1 */
/openssl/crypto/
H A Dpassphrase.c308 static int ossl_pw_get_password(char *buf, int size, int rwflag, in ossl_pw_get_password() argument
319 rwflag, userdata)) in ossl_pw_get_password()
324 int ossl_pw_pem_password(char *buf, int size, int rwflag, void *userdata) in ossl_pw_pem_password() argument
326 return ossl_pw_get_password(buf, size, rwflag, userdata, "PEM"); in ossl_pw_pem_password()
329 int ossl_pw_pvk_password(char *buf, int size, int rwflag, void *userdata) in ossl_pw_pvk_password() argument
331 return ossl_pw_get_password(buf, size, rwflag, userdata, "PVK"); in ossl_pw_pvk_password()
/openssl/test/
H A Duitest.c21 static int test_pem_password_cb(char *buf, int size, int rwflag, void *userdata) in test_pem_password_cb() argument
H A Ddecoder_propq_test.c42 static int passcb(char *buf, int size, int rwflag, void *userdata) in passcb() argument
H A Devp_pkey_provided_test.c131 static int pass_cb(char *buf, int size, int rwflag, void *u) in pass_cb() argument
136 static int pass_cb_error(char *buf, int size, int rwflag, void *u) in pass_cb_error() argument
H A Dendecode_test.c437 static int pass_pw(char *buf, int size, int rwflag, void *userdata) in pass_pw() argument
/openssl/include/openssl/
H A Dtypes.h226 typedef int pem_password_cb (char *buf, int size, int rwflag, void *userdata);
H A Dpem.h435 int PEM_def_callback(char *buf, int num, int rwflag, void *userdata);
H A Dui.h.in378 UI_METHOD *UI_UTIL_wrap_read_pem_callback(pem_password_cb *cb, int rwflag);
/openssl/crypto/pem/
H A Dpem_lib.c34 int PEM_def_callback(char *buf, int num, int rwflag, void *userdata) in PEM_def_callback() argument
58 min_len = rwflag ? MIN_LENGTH : 0; in PEM_def_callback()
60 i = EVP_read_pw_string_min(buf, min_len, num, prompt, rwflag); in PEM_def_callback()
H A Dpem_pkey.c369 static int no_password_cb(char *buf, int num, int rwflag, void *userdata) in no_password_cb() argument
/openssl/
H A DCHANGES.md18861 typedef int pem_password_cb(char *buf, int size, int rwflag);
18863 ....(char *buf, int size, int rwflag, void *userdata);

Completed in 150 milliseconds