Searched refs:HCRYPT_CTX_F_ENCRYPT (Results 1 – 4 of 4) sorted by relevance
95 crypto->ctx_pair[0].flags = HCRYPT_MSG_F_eSEK | (tx ? HCRYPT_CTX_F_ENCRYPT : 0); in sHaiCrypt_PrepareHandle()96 crypto->ctx_pair[1].flags = HCRYPT_MSG_F_oSEK | (tx ? HCRYPT_CTX_F_ENCRYPT : 0); in sHaiCrypt_PrepareHandle()197 if ((ctx->flags & HCRYPT_CTX_F_ENCRYPT) == HCRYPT_CTX_F_ENCRYPT) in HaiCrypt_ExtractConfig()316 cryptoClone->ctx_pair[0].flags &= ~HCRYPT_CTX_F_ENCRYPT; in HaiCrypt_Clone()317 cryptoClone->ctx_pair[1].flags &= ~HCRYPT_CTX_F_ENCRYPT; in HaiCrypt_Clone()
40 (HCRYPT_CTX_F_ENCRYPT & ctx->flags ? true : false), in hcryptCtx_SetSecret()90 …if (0 > (iret = crypto->cryspr->km_setkey(crypto->cryspr_cb, (HCRYPT_CTX_F_ENCRYPT & ctx->flags ? … in hcryptCtx_GenSecret()
53 #define HCRYPT_CTX_F_ENCRYPT 0x0100 /* 0:decrypt 1:encrypt */ macro
288 if ((ctx->flags & HCRYPT_CTX_F_ENCRYPT) /* Encrypt key */ in crysprFallback_MsSetKey()