/openssl/crypto/ui/ |
H A D | ui_util.c | 59 int rwflag; member 116 len = data->cb(result, maxsize, data->rwflag, in ui_read() 146 UI_METHOD *UI_UTIL_wrap_read_pem_callback(pem_password_cb *cb, int rwflag) in UI_UTIL_wrap_read_pem_callback() argument 163 data->rwflag = rwflag; in UI_UTIL_wrap_read_pem_callback()
|
/openssl/doc/man3/ |
H A D | SSL_CTX_set_default_passwd_cb.pod | 50 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 D | UI_UTIL_read_pw.pod | 16 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 D | PEM_read_bio_PrivateKey.pod | 42 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 D | passphrase.c | 308 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 D | bio_pw_callback_test.c | 110 static int read_callback(char *buf, int size, int rwflag, void *u) in read_callback() argument 124 if (!TEST_int_eq(rwflag, 0)) in read_callback() 132 static int write_callback(char *buf, int size, int rwflag, void *u) in write_callback() argument 146 if (!TEST_int_eq(rwflag, 1)) in write_callback() 347 static int callback_original_pw(char *buf, int size, int rwflag, void *u) in callback_original_pw() argument
|
H A D | uitest.c | 21 static int test_pem_password_cb(char *buf, int size, int rwflag, void *userdata) in test_pem_password_cb() argument
|
H A D | decoder_propq_test.c | 42 static int passcb(char *buf, int size, int rwflag, void *userdata) in passcb() argument
|
H A D | evp_pkey_provided_test.c | 131 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 D | endecode_test.c | 437 static int pass_pw(char *buf, int size, int rwflag, void *userdata) in pass_pw() argument
|
/openssl/include/openssl/ |
H A D | types.h | 232 typedef int pem_password_cb (char *buf, int size, int rwflag, void *userdata);
|
H A D | pem.h | 435 int PEM_def_callback(char *buf, int num, int rwflag, void *userdata);
|
H A D | ui.h.in | 378 UI_METHOD *UI_UTIL_wrap_read_pem_callback(pem_password_cb *cb, int rwflag);
|
/openssl/crypto/pem/ |
H A D | pem_lib.c | 34 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 D | pem_pkey.c | 369 static int no_password_cb(char *buf, int num, int rwflag, void *userdata) in no_password_cb() argument
|
/openssl/ |
H A D | CHANGES.md | 18987 typedef int pem_password_cb(char *buf, int size, int rwflag); 18989 ....(char *buf, int size, int rwflag, void *userdata);
|