Home
last modified time | relevance | path

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

12

/freebsd/crypto/openssl/crypto/ui/
H A Dui_util.c58 int rwflag; member
113 len = data->cb(result, maxsize, data->rwflag, in ui_read()
143 UI_METHOD *UI_UTIL_wrap_read_pem_callback(pem_password_cb *cb, int rwflag) in UI_UTIL_wrap_read_pem_callback() argument
160 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.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 */
/freebsd/crypto/openssl/crypto/
H A Dpassphrase.c307 static int ossl_pw_get_password(char *buf, int size, int rwflag, in ossl_pw_get_password() argument
318 rwflag, userdata)) in ossl_pw_get_password()
323 int ossl_pw_pem_password(char *buf, int size, int rwflag, void *userdata) in ossl_pw_pem_password() argument
325 return ossl_pw_get_password(buf, size, rwflag, userdata, "PEM"); in ossl_pw_pem_password()
328 int ossl_pw_pvk_password(char *buf, int size, int rwflag, void *userdata) in ossl_pw_pvk_password() argument
330 return ossl_pw_get_password(buf, size, rwflag, userdata, "PVK"); in ossl_pw_pvk_password()
/freebsd/crypto/openssl/test/
H A Dbio_pw_callback_test.c110 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 Duitest.c20 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
/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.h235 typedef int pem_password_cb(char *buf, int size, int rwflag, void *userdata);
H A Dui.h404 UI_METHOD *UI_UTIL_wrap_read_pem_callback(pem_password_cb *cb, int rwflag);
H A Dpem.h440 int PEM_def_callback(char *buf, int num, int rwflag, void *userdata);
H A Dui.h.in381 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.c370 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.c1182 if (args->rwflag & LINUX_MS_RDONLY) in linux_umount()
1184 if (args->rwflag & LINUX_MS_NOSUID) in linux_umount()
1186 if (args->rwflag & LINUX_MS_NOEXEC) in linux_umount()
1188 if (args->rwflag & LINUX_MS_REMOUNT)
/freebsd/contrib/wpa/src/crypto/
H A Dtls_wolfssl.c515 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.c6882 int *eofp, nfsv4stateid_t *stateidp, int rwflag, struct nfscldevinfo *dp, in nfscl_doflayoutio() argument
6958 } else if (rwflag == NFSV4OPEN_ACCESSREAD) in nfscl_doflayoutio()
6986 int *eofp, nfsv4stateid_t *stateidp, int rwflag, struct nfscldevinfo *dp, in nfscl_dofflayoutio() argument
7018 if (rwflag == NFSV4OPEN_ACCESSREAD) in nfscl_dofflayoutio()
7082 } else if (rwflag == NFSV4OPEN_ACCESSREAD) { in nfscl_dofflayoutio()
/freebsd/sys/arm64/linux/
H A Dlinux_systrace_args.c326 iarg[a++] = p->rwflag; /* l_ulong */ in systrace_args()
H A Dlinux_proto.h204 char rwflag_l_[PADL_(l_ulong)]; l_ulong rwflag; char rwflag_r_[PADR_(l_ulong)]; member
/freebsd/crypto/openssh/
H A Dsshkey.c3508 pem_passphrase_cb(char *buf, int size, int rwflag, void *u) in pem_passphrase_cb() argument
/freebsd/sys/amd64/linux/
H A Dlinux_systrace_args.c1346 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

12