Home
last modified time | relevance | path

Searched refs:ctx_pair (Results 1 – 6 of 6) sorted by relevance

/dports/www/srt/srt-1.4.4/haicrypt/
H A Dhcrypt.c98 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 …]
H A Dhcrypt_ctx_tx.c116 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()
H A Dhcrypt_rx.c39 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()
H A Dhcrypt.h74 hcrypt_Ctx ctx_pair[2]; /* Even(0)/Odd(1) crypto contexts */ member
H A Dhcrypt_ctx_rx.c124 ctx = &crypto->ctx_pair[hcryptMsg_KM_GetKeyIndex(km_msg)]; in hcryptCtx_Rx_ParseKM()
/dports/www/trafficserver/trafficserver-9.1.1/src/traffic_server/
H A DInkAPI.cc9461 for (auto &ctx_pair : ca_pair.second) { in TSSslClientContextsNamesGet() local
9464 mem[idx++] = ctx_pair.first; in TSSslClientContextsNamesGet()