Lines Matching refs:ok
54 BOOL ok;
55 ok = CryptDecodeObjectEx(X509_ASN_ENCODING | PKCS_7_ASN_ENCODING,
63 if (!ok)
66 ok = CryptImportPublicKeyInfo(provider_,
70 if (!ok)
75 ok = CryptDecodeObjectEx(X509_ASN_ENCODING | PKCS_7_ASN_ENCODING,
83 DCHECK(ok || GetLastError() == ERROR_FILE_NOT_FOUND);
85 if (ok) {
106 ok = CryptCreateHash(provider_, hash_alg_id, 0, 0, hash_object_.receive());
107 if (!ok)
114 BOOL ok = CryptHashData(hash_object_, data_part, data_part_len, 0);
115 DCHECK(ok) << "CryptHashData failed: " << GetLastError();
119 BOOL ok = CryptVerifySignature(hash_object_, &signature_[0],
122 if (!ok)