Lines Matching defs:rv
96 CK_RV rv;
195 rv = pkcs_C_GenerateRandom(hSession, buf, len);
196 if (rv != CKR_OK) {
197 fprintf(stderr, "C_GenerateRandom: Error = 0x%.8lX\n", rv);
212 rv = pkcs_C_CreateObject(hSession, kTemplate, 5, &hKey[i]);
213 if (rv != CKR_OK) {
216 i, rv);
247 rv = pkcs_C_DestroyObject(hSession, hKey[i]);
248 if ((rv != CKR_OK) && !errflg) {
251 i, rv);