Home
last modified time | relevance | path

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

12

/freebsd/crypto/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()
/freebsd/crypto/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.pod40 typedef int pem_password_cb(char *buf, int size, int rwflag, void *u);
347 int cb(char *buf, int size, int rwflag, void *u);
350 length of the passphrase (i.e. the size of buf). I<rwflag> is a flag
353 for it twice) if I<rwflag> is 1. The I<u> parameter has the same
525 int pass_cb(char *buf, int size, int rwflag, void *u)
528 /* We'd probably do something else if 'rwflag' is 1 */
/freebsd/crypto/openssl/crypto/
H A Dpassphrase.c315 static int ossl_pw_get_password(char *buf, int size, int rwflag, in ossl_pw_get_password() argument
326 rwflag, userdata)) in ossl_pw_get_password()
331 int ossl_pw_pem_password(char *buf, int size, int rwflag, void *userdata) in ossl_pw_pem_password() argument
333 return ossl_pw_get_password(buf, size, rwflag, userdata, "PEM"); in ossl_pw_pem_password()
336 int ossl_pw_pvk_password(char *buf, int size, int rwflag, void *userdata) in ossl_pw_pvk_password() argument
338 return ossl_pw_get_password(buf, size, rwflag, userdata, "PVK"); in ossl_pw_pvk_password()
/freebsd/crypto/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 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.c433 static int pass_pw(char *buf, int size, int rwflag, void *userdata) in pass_pw() argument
/freebsd/sbin/ipf/ipftest/
H A Dip_fil.c474 ipfuiomove(buf, len, rwflag, uio) in ipfuiomove() argument
476 int len, rwflag;
483 if (rwflag == UIO_READ) {
/freebsd/crypto/openssl/include/openssl/
H A Dtypes.h223 typedef int pem_password_cb (char *buf, int size, int rwflag, void *userdata);
H A Dui.h401 UI_METHOD *UI_UTIL_wrap_read_pem_callback(pem_password_cb *cb, int rwflag);
H A Dpem.h430 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);
/freebsd/crypto/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
/freebsd/sys/compat/linux/
H A Dlinux_file.c1136 if (args->rwflag & LINUX_MS_RDONLY) in linux_mount()
1138 if (args->rwflag & LINUX_MS_NOSUID) in linux_mount()
1140 if (args->rwflag & LINUX_MS_NOEXEC) in linux_mount()
1142 if (args->rwflag & LINUX_MS_REMOUNT) in linux_mount()
/freebsd/contrib/wpa/src/crypto/
H A Dtls_wolfssl.c502 static int tls_passwd_cb(char *buf, int size, int rwflag, void *password) in tls_passwd_cb() argument
H A Dtls_openssl.c3726 static int tls_passwd_cb(char *buf, int size, int rwflag, void *password) in tls_passwd_cb() argument
/freebsd/sys/fs/nfsclient/
H A Dnfs_clrpcops.c6540 int *eofp, nfsv4stateid_t *stateidp, int rwflag, struct nfscldevinfo *dp, in nfscl_doflayoutio() argument
6616 } else if (rwflag == NFSV4OPEN_ACCESSREAD) in nfscl_doflayoutio()
6644 int *eofp, nfsv4stateid_t *stateidp, int rwflag, struct nfscldevinfo *dp, in nfscl_dofflayoutio() argument
6676 if (rwflag == NFSV4OPEN_ACCESSREAD) in nfscl_dofflayoutio()
6740 } else if (rwflag == NFSV4OPEN_ACCESSREAD) { in nfscl_dofflayoutio()
/freebsd/crypto/openssh/
H A Dsshkey.c3410 pem_passphrase_cb(char *buf, int size, int rwflag, void *u) in pem_passphrase_cb() argument
/freebsd/sys/arm64/linux/
H A Dlinux_systrace_args.c318 iarg[a++] = p->rwflag; /* l_ulong */ in systrace_args()
H A Dlinux_proto.h201 char rwflag_l_[PADL_(l_ulong)]; l_ulong rwflag; char rwflag_r_[PADR_(l_ulong)]; member
/freebsd/sys/amd64/linux/
H A Dlinux_systrace_args.c1345 iarg[a++] = p->rwflag; /* l_ulong */ in systrace_args()
H A Dlinux_proto.h598 char rwflag_l_[PADL_(l_ulong)]; l_ulong rwflag; char rwflag_r_[PADR_(l_ulong)]; member
/freebsd/sys/i386/linux/
H A Dlinux_systrace_args.c169 iarg[a++] = p->rwflag; /* l_ulong */ in systrace_args()

12