Searched refs:pxorctx (Results 1 – 6 of 6) sorted by relevance
234 if (pxorctx == NULL) in xor_newctx()237 pxorctx->provctx = provctx; in xor_newctx()239 return pxorctx; in xor_newctx()249 pxorctx->key = vkey; in xor_init()259 pxorctx->peerkey = vpeerkey; in xor_set_peer()269 if (pxorctx->key == NULL || pxorctx->peerkey == NULL) in xor_derive()280 secret[i] = pxorctx->key->privkey[i] ^ pxorctx->peerkey->pubkey[i]; in xor_derive()285 static void xor_freectx(void *pxorctx) in xor_freectx() argument287 OPENSSL_free(pxorctx); in xor_freectx()343 PROV_XOR_CTX *pxorctx = vpxorctx; in xor_encapsulate() local[all …]
234 if (pxorctx == NULL)237 pxorctx->provctx = provctx;239 return pxorctx;249 pxorctx->key = vkey;259 pxorctx->peerkey = vpeerkey;269 if (pxorctx->key == NULL || pxorctx->peerkey == NULL)280 secret[i] = pxorctx->key->privkey[i] ^ pxorctx->peerkey->pubkey[i];285 static void xor_freectx(void *pxorctx)287 OPENSSL_free(pxorctx);343 PROV_XOR_CTX *pxorctx = vpxorctx;[all …]