Lines Matching refs:passwd
92 SMBOWFencrypt(unsigned char passwd[16], const unsigned char *c8, in SMBOWFencrypt()
99 memcpy(p21, passwd, 16); in SMBOWFencrypt()
109 SMBencrypt(unsigned char *passwd, const unsigned char *c8, unsigned char *p24) in SMBencrypt() argument
115 strncpy((char *) p14, (char *) passwd, 14); in SMBencrypt()
165 E_md4hash(const unsigned char *passwd, unsigned char *p16) in E_md4hash() argument
172 if (passwd) { in E_md4hash()
173 len = strlen((char *) passwd); in E_md4hash()
178 _my_mbstowcs(wpwd, passwd, len); in E_md4hash()
197 char passwd[514];
199 memset(passwd, '\0', 514);
201 strcpy(passwd, pwd);
203 memcpy(passwd, pwd, 512);
206 E_md4hash(passwd, nt_p16);
209 passwd[14] = '\0';
215 E_P16((unsigned char *) passwd, (unsigned char *) p16);
218 memset(passwd, '\0', sizeof(passwd));
264 NTLMSSPOWFencrypt(unsigned char passwd[8],
270 memcpy(p21, passwd, 8);
279 SMBNTencrypt(unsigned char *passwd, unsigned char *c8, unsigned char *p24) in SMBNTencrypt() argument
286 rc = E_md4hash(passwd, p21); in SMBNTencrypt()