Lines Matching refs:newpwd
67 /* if newpwd is null, convert buf from hex to binary. if newpwd isn't
68 * null, convert newpwd to hex and save it in buf. */
70 static void convert_passwd(char *buf, char *newpwd, const int keyfd)
76 if (!newpwd) {
94 if (newpwd) {
95 ecb_encrypt((C_Block *) newpwd, (C_Block *) newpwd, schedule,
104 if (newpwd) {
109 buf[j] = hextable[(newpwd[i] & 0xF0) >> 4];
110 buf[j + 1] = hextable[newpwd[i] & 0x0F];