Searched defs:passwd (Results 1 - 15 of 15) sorted by relevance

/vbox/src/libs/zlib-1.2.6/contrib/minizip/
H A Dcrypt.h65 static void init_keys(const char* passwd,unsigned long* pkeys,const unsigned long* pcrc_32_tab) argument
70 while (*passwd != '\0') {
71 update_keys(pkeys,pcrc_32_tab,(int)*passwd);
72 passwd++;
90 static int crypthead(const char* passwd, /* password string */ argument
114 init_keys(passwd, pkeys, pcrc_32_tab);
121 init_keys(passwd, pkeys, pcrc_32_tab);
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/Include/
H A Dpwd.h71 #define _PATH_PASSWD "/etc/passwd"
72 #define _PATH_MASTERPASSWD "/etc/master.passwd"
75 #define _PATH_PASSWD_CONF "/etc/passwd.conf"
105 struct passwd { struct
119 struct passwd *getpwuid(uid_t);
120 struct passwd *getpwnam(const char *);
124 int getpwnam_r( const char *, struct passwd *, char *, size_t,
125 struct passwd **);
126 int getpwuid_r( uid_t, struct passwd *, char *, size_t,
127 struct passwd **);
[all...]
/vbox/src/VBox/Frontends/VBoxManage/
H A DVBoxManage.cpp291 com::Utf8Str passwd; local
292 RTEXITCODE rcExit = readPasswordFile(pszFilename, &passwd);
296 CHECK_ERROR(virtualBox, SetSettingsSecret(com::Bstr(passwd).raw()));
H A DVBoxManageControlVM.cpp1098 Utf8Str passwd, domain; local
1101 passwd = a->argv[3];
1106 RTEXITCODE rcExit = readPasswordFile(a->argv[4], &passwd);
1124 Bstr(passwd).raw(),
/vbox/src/VBox/Devices/Network/lwip/src/netif/ppp/
H A Dauth.c166 /* Set if we got the contents of passwd[] from the pap-secrets file. */
294 if (ppp_settings.passwd[0] == 0) {
296 if (!get_pap_passwd(unit, ppp_settings.user, ppp_settings.passwd))
299 upap_authwithpeer(unit, ppp_settings.user, ppp_settings.passwd);
370 BZERO(ppp_settings.passwd, MAXSECRETLEN);
399 BZERO(ppp_settings.passwd, MAXSECRETLEN);
478 ao->neg_upap = !ppp_settings.refuse_pap && (ppp_settings.passwd[0] != 0 || get_pap_passwd(unit, NULL, NULL));
479 ao->neg_chap = !ppp_settings.refuse_chap && ppp_settings.passwd[0] != 0 /*have_chap_secret(ppp_settings.user, ppp_settings.remote_name, (u32_t)0)*/;
493 * check_passwd - Check the user name and passwd against the PAP secrets
518 char passwd[25
818 get_pap_passwd(int unit, char *user, char *passwd) argument
[all...]
H A Dppp.h319 char passwd[MAXSECRETLEN + 1]; /* Password for PAP, secret for CHAP */ member in struct:ppp_settings
372 void pppSetAuth(enum pppAuthType authType, const char *user, const char *passwd);
H A Dppp.c318 void pppSetAuth(enum pppAuthType authType, const char *user, const char *passwd) argument
370 if(passwd) {
371 strncpy(ppp_settings.passwd, passwd, sizeof(ppp_settings.passwd)-1);
372 ppp_settings.passwd[sizeof(ppp_settings.passwd)-1] = '\0';
374 ppp_settings.passwd[0] = '\0';
/vbox/src/VBox/Devices/Network/lwip-new/src/netif/ppp/
H A Dauth.c130 /* Set if we got the contents of passwd[] from the pap-secrets file. */
145 int (*pap_auth_hook) __P((char *user, char *passwd, char **msgp,
153 int (*pap_passwd_hook) __P((char *user, char *passwd)) = NULL;
172 bool uselogin = 0; /* Use /etc/passwd for checking PAP */
271 { "password", o_string, passwd,
306 || fgets(passwd, MAXSECRETLEN - 1, ufile) == NULL){
316 l = strlen(passwd);
317 if (l > 0 && passwd[l-1] == '\n')
318 passwd[l-1] = 0;
504 if (ppp_settings.passwd[
1020 get_pap_passwd(int unit, char *user, char *passwd) argument
[all...]
H A Dppp_impl.h297 char passwd [MAXSECRETLEN + 1]; /* Password for PAP, secret for CHAP */ member in struct:ppp_settings
H A Dppp.c457 pppSetAuth(enum pppAuthType authType, const char *user, const char *passwd) argument
513 if(passwd) {
514 strncpy(ppp_settings.passwd, passwd, sizeof(ppp_settings.passwd)-1);
515 ppp_settings.passwd[sizeof(ppp_settings.passwd)-1] = '\0';
517 ppp_settings.passwd[0] = '\0';
/vbox/src/VBox/Frontends/VBoxHeadless/
H A DVBoxHeadless.cpp618 com::Utf8Str passwd; local
619 RTEXITCODE rcExit = readPasswordFile(pszFilename, &passwd);
623 CHECK_ERROR(virtualBox, SetSettingsSecret(com::Bstr(passwd).raw()));
/vbox/src/libs/libxml2-2.6.31/
H A Dnanoftp.c127 char *passwd; /* passwd string */ member in struct:xmlNanoFTPCtxt
149 static char *proxyPasswd = NULL;/* passwd for proxy authentication */
257 * @passwd: the proxy password
267 const char *passwd, int type) {
284 if (passwd)
285 proxyPasswd = xmlMemStrdup(passwd);
346 ctxt->passwd = xmlMemStrdup(cptr+1);
796 if (ctxt->passwd == NULL)
799 snprintf(buf, sizeof(buf), "PASS %s\r\n", ctxt->passwd);
266 xmlNanoFTPProxy(const char *host, int port, const char *user, const char *passwd, int type) argument
[all...]
H A Dtestapi.c11776 char * passwd; /* the proxy password */ local
11789 passwd = gen_const_char_ptr(n_passwd, 3);
11792 xmlNanoFTPProxy((const char *)host, port, (const char *)user, (const char *)passwd, type);
11797 des_const_char_ptr(n_passwd, (const char *)passwd, 3);
[all...]
/vbox/src/VBox/Frontends/VBoxSDL/
H A DVBoxSDL.cpp3152 com::Utf8Str passwd; local
3153 RTEXITCODE rcExit = readPasswordFile(pszFilename, &passwd);
3157 CHECK_ERROR(virtualBox, SetSettingsSecret(com::Bstr(passwd).raw()));
/vbox/src/libs/libxml2-2.6.31/python/
H A Dlibxml2-py.c8082 char * passwd; local
8085 if (!PyArg_ParseTuple(args, (char *)"zizzi:xmlNanoFTPProxy", &host, &port, &user, &passwd, &type))
8088 xmlNanoFTPProxy(host, port, user, passwd, type);

Completed in 547 milliseconds