Lines Matching defs:cred
200 PK11SlotInfo *nss_slot, KMF_CREDENTIAL *cred)
207 if (cred == NULL || cred->cred == NULL || cred->credlen == 0 ||
217 nssrv = PK11_Authenticate(nss_slot, PR_TRUE, (void *)cred->cred);
820 KMF_CREDENTIAL cred;
838 (void *)&cred, NULL);
842 rv = nss_authenticate(handle, nss_slot, &cred);
961 (void *)cred.cred);
1132 KMF_CREDENTIAL cred;
1165 (void *)&cred, NULL);
1169 rv = nss_authenticate(handle, nss_slot, &cred);
1233 KMF_CREDENTIAL cred;
1249 (void *)&cred, NULL);
1252 rv = nss_authenticate(handle, nss_slot, &cred);
1377 KMF_CREDENTIAL *cred = NULL;
1397 /* It is OK if this is NULL, we dont need a cred to find public keys */
1398 cred = kmf_get_attr_ptr(KMF_CREDENTIAL_ATTR, attrlist, numattr);
1400 if (cred != NULL) {
1401 rv = nss_authenticate(handle, nss_slot, cred);
1778 KMF_CREDENTIAL *cred = NULL;
1794 cred = kmf_get_attr_ptr(KMF_CREDENTIAL_ATTR, attrlist, numattr);
1795 if (cred == NULL)
1798 rv = nss_authenticate(handle, slot, cred);
1840 pwitem.data = (uchar_t *)p12cred->cred;
1912 KMF_CREDENTIAL cred;
1982 (void *)&cred, NULL);
1986 rv = nss_authenticate(handle, nss_slot, &cred);
1993 PR_TRUE, (void *)cred.cred);
2118 rv = PK11_InitPin(nss_slot, NULL, newcred.cred);
2130 rv = PK11_ChangePW(nss_slot, oldcred.cred, newcred.cred);
2147 KMF_CREDENTIAL cred = {NULL, 0};
2165 (void *)&cred, NULL);
2169 rv = nss_authenticate(handle, nss_slot, &cred);