Lines Matching refs:cred
33 cert = conn->cred->cert;
38 cert = x509_certificate_get_subject(conn->cred->trusted_certs,
193 cert = conn->cred->cert;
211 cert = x509_certificate_get_subject(conn->cred->trusted_certs,
214 if (cert == conn->cred->cert || cert == NULL) {
273 if (conn->cred == NULL || conn->cred->dh_p == NULL ||
274 conn->cred->dh_g == NULL) {
281 conn->dh_secret_len = conn->cred->dh_p_len;
300 if (os_memcmp(conn->dh_secret, conn->cred->dh_p, conn->dh_secret_len) >
316 dh_ys_len = conn->cred->dh_p_len;
325 if (crypto_mod_exp(conn->cred->dh_g, conn->cred->dh_g_len,
327 conn->cred->dh_p, conn->cred->dh_p_len,
375 if (pos + 2 + conn->cred->dh_p_len > end) {
383 WPA_PUT_BE16(pos, conn->cred->dh_p_len);
385 os_memcpy(pos, conn->cred->dh_p, conn->cred->dh_p_len);
386 pos += conn->cred->dh_p_len;
389 if (pos + 2 + conn->cred->dh_g_len > end) {
397 WPA_PUT_BE16(pos, conn->cred->dh_g_len);
399 os_memcpy(pos, conn->cred->dh_g, conn->cred->dh_g_len);
400 pos += conn->cred->dh_g_len;