Home
last modified time | relevance | path

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

/openbsd/sbin/isakmpd/
H A Ddh.c472 EC_KEY *exkey = NULL; in ec_create_shared() local
484 if ((exkey = EC_KEY_new()) == NULL) in ec_create_shared()
486 if (!EC_KEY_set_group(exkey, ecgroup)) in ec_create_shared()
488 if (!EC_KEY_set_public_key(exkey, exchangep)) in ec_create_shared()
492 if (!EC_KEY_check_key(exkey)) in ec_create_shared()
505 if (exkey != NULL) in ec_create_shared()
506 EC_KEY_free(exkey); in ec_create_shared()
/openbsd/sbin/iked/
H A Ddh.c561 EC_KEY *exkey = NULL; in ec_create_shared() local
573 if ((exkey = EC_KEY_new()) == NULL) in ec_create_shared()
575 if (!EC_KEY_set_group(exkey, ecgroup)) in ec_create_shared()
577 if (!EC_KEY_set_public_key(exkey, exchangep)) in ec_create_shared()
581 if (!EC_KEY_check_key(exkey)) in ec_create_shared()
594 if (exkey != NULL) in ec_create_shared()
595 EC_KEY_free(exkey); in ec_create_shared()