Lines Matching defs:rv
141 CK_RV rv = CKR_OK;
152 if ((rv = C_Initialize(NULL_PTR)) != CKR_OK &&
153 rv != CKR_CRYPTOKI_ALREADY_INITIALIZED) {
154 return (rv);
331 int rv = CKR_OK;
334 if ((rv = init_pkcs11()) != CKR_OK)
335 return (rv);
345 if ((rv = C_GetSlotList(1, NULL_PTR, &tmp_count)) != CKR_OK)
346 return (rv);
361 if ((rv = C_GetSlotList(1, tmp_list, &tmp_count)) == CKR_OK) {
367 if (rv != CKR_BUFFER_TOO_SMALL) {
376 rv = CKR_HOST_MEMORY;
382 return (rv);
723 KMF_RETURN rv = KMF_OK;
745 rv = kmf_configure_keystore(kmfhandle, i, attlist);
746 if (rv == KMF_ERR_TOKEN_SELECTED)
747 rv = KMF_OK;
748 return (rv);
757 KMF_RETURN rv = KMF_OK;
783 rv = kmf_configure_keystore(kmfhandle, i, attlist);
784 if (rv == KMF_KEYSTORE_ALREADY_INITIALIZED)
785 rv = KMF_OK;
787 return (rv);
793 KMF_RETURN rv = KMF_OK;
809 return (rv);
1066 KMF_RETURN rv = KMF_OK;
1100 rv = KMF_ERR_BAD_PARAMETER;
1104 return (rv);
1251 KMF_RETURN rv = KMF_OK;
1264 rv = addToEKUList(ekus, critical, newoid);
1267 rv = PK_ERR_USAGE;
1270 return (rv);
1276 KMF_RETURN rv = KMF_OK;
1294 rv = parse_ekus(ekuliststr, ekus);
1298 rv = parse_ekus(p, ekus);
1300 if (rv != KMF_OK)
1305 if (rv != KMF_OK)
1310 return (rv);
1319 KMF_RETURN rv;
1322 rv = kmf_pk11_token_lookup(handle, tokenlabel, &slot);
1323 if (rv != KMF_OK)
1324 return (rv);