Home
last modified time | relevance | path

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

/openssl/test/
H A Dtls-provider.c469 if (pxorctx == NULL) in xor_newkemkexctx()
472 pxorctx->provctx = provctx; in xor_newkemkexctx()
474 return pxorctx; in xor_newkemkexctx()
482 if (pxorctx == NULL || vkey == NULL) in xor_init()
484 pxorctx->key = vkey; in xor_init()
494 pxorctx->peerkey = vpeerkey; in xor_set_peer()
504 if (pxorctx->key == NULL || pxorctx->peerkey == NULL) in xor_derive()
515 secret[i] = pxorctx->key->privkey[i] ^ pxorctx->peerkey->pubkey[i]; in xor_derive()
520 static void xor_freectx(void *pxorctx) in xor_freectx() argument
522 OPENSSL_free(pxorctx); in xor_freectx()
[all …]

Completed in 20 milliseconds