Home
last modified time | relevance | path

Searched refs:HCRYPT_CTX_F_ENCRYPT (Results 1 – 4 of 4) sorted by relevance

/dports/www/srt/srt-1.4.4/haicrypt/
H A Dhcrypt.c95 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()
H A Dhcrypt_sa.c40 (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()
H A Dhcrypt_ctx.h53 #define HCRYPT_CTX_F_ENCRYPT 0x0100 /* 0:decrypt 1:encrypt */ macro
H A Dcryspr.c288 if ((ctx->flags & HCRYPT_CTX_F_ENCRYPT) /* Encrypt key */ in crysprFallback_MsSetKey()