Lines Matching refs:val

292     unsigned val = 0;
297 val ^= i;
298 val <<= 1;
302 return val;
3036 * username-value = qdstr-val cnonce = "cnonce" "=" <">
3037 * cnonce-value <"> cnonce-value = qdstr-val nonce-count = "nc"
3065 unsigned val = hash(username) % text->reauth->size;
3069 if (text->reauth->e[val].authid &&
3070 !strcmp(username, text->reauth->e[val].authid)) {
3072 _plug_strdup(sparams->utils, text->reauth->e[val].realm,
3075 _plug_strdup(sparams->utils, (char *)text->reauth->e[val].nonce,
3078 _plug_strdup(sparams->utils, text->reauth->e[val].nonce,
3081 text->nonce_count = ++text->reauth->e[val].nonce_count;
3083 _plug_strdup(sparams->utils, (char *)text->reauth->e[val].cnonce,
3086 _plug_strdup(sparams->utils, text->reauth->e[val].cnonce,
3089 stext->timestamp = text->reauth->e[val].u.s.timestamp;
3520 unsigned val = hash(username) % text->reauth->size;
3527 clear_reauth_entry(&text->reauth->e[val], SERVER, sparams->utils);
3528 text->reauth->e[val].authid = username; username = NULL;
3529 text->reauth->e[val].realm = text->realm; text->realm = NULL;
3530 text->reauth->e[val].nonce = text->nonce; text->nonce = NULL;
3531 text->reauth->e[val].cnonce = cnonce; cnonce = NULL;
3533 if (text->nonce_count <= text->reauth->e[val].nonce_count) {
3535 clear_reauth_entry(&text->reauth->e[val], SERVER, sparams->utils);
3538 text->reauth->e[val].nonce_count = text->nonce_count;
3539 text->reauth->e[val].u.s.timestamp = time(0);
3545 clear_reauth_entry(&text->reauth->e[val], SERVER, sparams->utils);
4810 unsigned val;
4819 val = hash(params->serverFQDN) % text->reauth->size;
4821 if (text->reauth->e[val].u.c.serverFQDN &&
4822 !strcasecmp(text->reauth->e[val].u.c.serverFQDN,
4824 !strcmp(text->reauth->e[val].authid, oparams->authid)) {
4832 _plug_strdup(params->utils, text->reauth->e[val].realm,
4835 _plug_strdup(params->utils, (char *)text->reauth->e[val].nonce,
4838 _plug_strdup(params->utils, text->reauth->e[val].nonce,
4841 text->nonce_count = ++text->reauth->e[val].nonce_count;
4843 _plug_strdup(params->utils, (char *)text->reauth->e[val].cnonce,
4846 _plug_strdup(params->utils, text->reauth->e[val].cnonce,
4849 ctext->protection = text->reauth->e[val].u.c.protection;
4850 ctext->cipher = text->reauth->e[val].u.c.cipher;
4851 ctext->server_maxbuf = text->reauth->e[val].u.c.server_maxbuf;
5018 unsigned val = hash(params->serverFQDN) % text->reauth->size;
5023 clear_reauth_entry(&text->reauth->e[val], CLIENT, params->utils);
5025 &text->reauth->e[val].authid, NULL);
5026 text->reauth->e[val].realm = text->realm; text->realm = NULL;
5027 text->reauth->e[val].nonce = text->nonce; text->nonce = NULL;
5028 text->reauth->e[val].nonce_count = text->nonce_count;
5029 text->reauth->e[val].cnonce = text->cnonce; text->cnonce = NULL;
5031 &text->reauth->e[val].u.c.serverFQDN, NULL);
5032 text->reauth->e[val].u.c.protection = ctext->protection;
5033 text->reauth->e[val].u.c.cipher = ctext->cipher;
5034 text->reauth->e[val].u.c.server_maxbuf = ctext->server_maxbuf;
5045 clear_reauth_entry(&text->reauth->e[val], CLIENT, params->utils);
5069 unsigned val = hash(params->serverFQDN) % text->reauth->size;
5085 reauth = text->reauth->e[val].u.c.serverFQDN &&
5086 !strcasecmp(text->reauth->e[val].u.c.serverFQDN,
5121 clear_reauth_entry(&text->reauth->e[val], CLIENT, params->utils);