Searched refs:ctx_pair (Results 1 – 6 of 6) sorted by relevance
98 crypto->ctx_pair[0].alt = &crypto->ctx_pair[1]; in sHaiCrypt_PrepareHandle()99 crypto->ctx_pair[1].alt = &crypto->ctx_pair[0]; in sHaiCrypt_PrepareHandle()155 if (hcryptCtx_Tx_Init(crypto, &crypto->ctx_pair[0], cfg) in HaiCrypt_Create()161 if (hcryptCtx_Tx_Rekey(crypto, &crypto->ctx_pair[0])) { in HaiCrypt_Create()165 crypto->ctx = &crypto->ctx_pair[0]; in HaiCrypt_Create()189 ctx = &crypto->ctx_pair[0]; in HaiCrypt_ExtractConfig()262 cryptoClone->ctx = &cryptoClone->ctx_pair[0]; in HaiCrypt_Clone()295 cryptoClone->ctx_pair[0].alt = &cryptoClone->ctx_pair[1]; in HaiCrypt_Clone()296 cryptoClone->ctx_pair[1].alt = &cryptoClone->ctx_pair[0]; in HaiCrypt_Clone()318 memset(cryptoClone->ctx_pair[0].salt, 0, sizeof(cryptoClone->ctx_pair[0].salt)); in HaiCrypt_Clone()[all …]
116 ctxSrc = &cryptoSrc->ctx_pair[0]; in hcryptCtx_Tx_CloneKey()389 …if (crypto->ctx_pair[0].flags & HCRYPT_CTX_F_ANNOUNCE) crypto->ctx_pair[0].flags |= HCRYPT_CTX_F_T… in hcryptCtx_Tx_ManageKM()390 …if (crypto->ctx_pair[1].flags & HCRYPT_CTX_F_ANNOUNCE) crypto->ctx_pair[1].flags |= HCRYPT_CTX_F_T… in hcryptCtx_Tx_ManageKM()404 if (crypto->ctx_pair[i].flags & HCRYPT_CTX_F_TTSEND) { /* Time To Send */ in hcryptCtx_Tx_InjectKM()406 crypto->ctx_pair[i].KMmsg_len); in hcryptCtx_Tx_InjectKM()408 out_p[nbout] = crypto->ctx_pair[i].KMmsg_cache; in hcryptCtx_Tx_InjectKM()409 out_len_p[nbout] = crypto->ctx_pair[i].KMmsg_len; in hcryptCtx_Tx_InjectKM()411 crypto->ctx_pair[i].flags &= ~HCRYPT_CTX_F_TTSEND; in hcryptCtx_Tx_InjectKM()
39 ctx = &crypto->ctx_pair[hcryptMsg_GetKeyIndex(crypto->msg_info, in_pfx)]; in HaiCrypt_Rx_Data()87 ctx = &crypto->ctx_pair[hcryptMsg_GetKeyIndex(crypto->msg_info, in_msg)]; in HaiCrypt_Rx_Process()118 ctx = &crypto->ctx_pair[hcryptMsg_GetKeyIndex(crypto->msg_info, in_msg)]; in HaiCrypt_Rx_Process()
74 hcrypt_Ctx ctx_pair[2]; /* Even(0)/Odd(1) crypto contexts */ member
124 ctx = &crypto->ctx_pair[hcryptMsg_KM_GetKeyIndex(km_msg)]; in hcryptCtx_Rx_ParseKM()
9461 for (auto &ctx_pair : ca_pair.second) { in TSSslClientContextsNamesGet() local9464 mem[idx++] = ctx_pair.first; in TSSslClientContextsNamesGet()