Lines Matching defs:ent
192 struct module_file_userinfo *ent;
217 if ((ent = calloc(1, entsz)) == NULL) {
221 strlcpy(ent->password, str, passz);
223 ent, entsz);
224 freezero(ent, entsz);
351 struct module_file_userinfo *ent;
382 ent = imsg.data;
384 auth_pap(self, query_id, radpkt, username, ent);
386 auth_md5chap(self, query_id, radpkt, username, ent);
389 auth_mschapv2(self, query_id, radpkt, username, ent);
391 auth_reject(self, query_id, radpkt, username, ent);
403 char *username, struct module_file_userinfo *ent)
414 ret = strcmp(ent->password, pass);
415 explicit_bzero(ent->password, strlen(ent->password));
431 char *username, struct module_file_userinfo *ent)
453 MD5Update(&md5, ent->password, strlen(ent->password));
473 char *username, struct module_file_userinfo *ent)
515 lpass = strlen(ent->password);
521 pass[i * 2] = ent->password[i];
588 explicit_bzero(ent->password, strlen(ent->password));
598 char *username, struct module_file_userinfo *ent)
602 if (ent != NULL)
603 explicit_bzero(ent->password, strlen(ent->password));