Lines Matching refs:ok
20 BOOL ok = CryptGetKeyParam(key, KP_BLOCKLEN,
23 if (!ok)
47 BOOL ok = CryptDuplicateKey(key->key(), NULL, 0, capi_key_.receive());
48 if (!ok)
54 ok = CryptSetKeyParam(capi_key_.get(), KP_MODE,
56 if (!ok)
66 ok = CryptSetKeyParam(capi_key_.get(), KP_IV,
68 if (!ok)
72 ok = CryptSetKeyParam(capi_key_.get(), KP_PADDING,
74 if (!ok)
88 BOOL ok = CryptEncrypt(capi_key_.get(), NULL, TRUE, 0, &tmp[0],
90 if (!ok)
105 BOOL ok = CryptDecrypt(capi_key_.get(), NULL, TRUE, 0, &tmp[0], &data_len);
106 if (!ok)