Lines Matching refs:cc
72 int cc;
75 cc = snprintf(raw, sizeof(raw), "%s;%s;%lld;", challenge->realm, server->hostaddress, (int64_t)t);
76 cc += randomise(&raw[cc], 64); /* 64 is arbitrary */
78 challenge->encc = b64encode(raw, (const unsigned)cc, challenge->encoded_challenge,
80 cc += snprintf(&raw[cc], sizeof(raw) - cc, ";%.*s", server->secretc, server->secret);
81 (void) SHA1Data((uint8_t *)raw, (unsigned)cc, digest);
191 int cc;
197 cc = snprintf(buf, size, "401 Unauthorized\r\nWWW-Authenticate: PubKey.v1\r\n");
199 cc += snprintf(&buf[cc], size - cc, " challenge=\"%s\"", challenge->challenge);
201 cc += snprintf(&buf[cc], size - cc, ",\r\n realm=\"%s\"", challenge->realm);
204 cc += snprintf(&buf[cc], size - cc, ",\r\n domain=\"%s\"", challenge->domain);
206 cc += snprintf(&buf[cc], size - cc, "\r\n");
207 return cc;
360 paa_write_file(const char *f, char *s, unsigned cc)
368 write(fileno(fp), s, cc);
378 int cc;
384 cc = read(fileno(fp), s, size);
386 return cc;