Home
last modified time | relevance | path

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

/third_party/openssl/test/
Dtls-provider.c341 void *genctx = NULL, *derivectx = NULL; in xor_encapsulate() local
370 derivectx = xor_newctx(pxorctx->provctx); in xor_encapsulate()
371 if (derivectx == NULL in xor_encapsulate()
372 || !xor_init(derivectx, ourkey, NULL) in xor_encapsulate()
373 || !xor_set_peer(derivectx, pxorctx->key) in xor_encapsulate()
374 || !xor_derive(derivectx, ss, sslen, XOR_KEY_SIZE)) in xor_encapsulate()
382 xor_freectx(derivectx); in xor_encapsulate()
397 void *derivectx = NULL; in xor_decapsulate() local
417 derivectx = xor_newctx(pxorctx->provctx); in xor_decapsulate()
418 if (derivectx == NULL in xor_decapsulate()
[all …]