Lines Matching refs:passwd
72 rfbEncryptAndStorePasswd(char *passwd, char *fname) in rfbEncryptAndStorePasswd() argument
88 if (i < strlen(passwd)) { in rfbEncryptAndStorePasswd()
89 encryptedPasswd[i] = passwd[i]; in rfbEncryptAndStorePasswd()
121 unsigned char *passwd = (unsigned char *)malloc(9); in rfbDecryptPasswdFromFile() local
124 free(passwd); in rfbDecryptPasswdFromFile()
132 free(passwd); in rfbDecryptPasswdFromFile()
135 passwd[i] = ch; in rfbDecryptPasswdFromFile()
141 rfbDes(passwd, passwd); in rfbDecryptPasswdFromFile()
143 passwd[8] = 0; in rfbDecryptPasswdFromFile()
145 return (char *)passwd; in rfbDecryptPasswdFromFile()
177 rfbEncryptBytes(unsigned char *bytes, char *passwd) in rfbEncryptBytes() argument
185 if (i < strlen(passwd)) { in rfbEncryptBytes()
186 key[i] = passwd[i]; in rfbEncryptBytes()