Home
last modified time | relevance | path

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

/openbsd/src/sbin/isakmpd/
Ddh.c470 const EC_GROUP *ecgroup = NULL; in ec_create_shared() local
476 if ((ecgroup = EC_KEY_get0_group(group->ec)) == NULL || in ec_create_shared()
486 if (!EC_KEY_set_group(exkey, ecgroup)) in ec_create_shared()
495 if ((secretp = EC_POINT_new(ecgroup)) == NULL) in ec_create_shared()
498 if (!EC_POINT_mul(ecgroup, secretp, NULL, exchangep, privkey, NULL)) in ec_create_shared()
519 const EC_GROUP *ecgroup = NULL; in ec_point2raw() local
548 if ((ecgroup = EC_KEY_get0_group(group->ec)) == NULL) in ec_point2raw()
551 if (!EC_POINT_get_affine_coordinates(ecgroup, point, x, y, bnctx)) in ec_point2raw()
582 const EC_GROUP *ecgroup = NULL; in ec_raw2point() local
605 if ((ecgroup = EC_KEY_get0_group(group->ec)) == NULL) in ec_raw2point()
[all …]
/openbsd/src/sbin/iked/
Ddh.c559 const EC_GROUP *ecgroup = NULL; in ec_create_shared() local
565 if ((ecgroup = EC_KEY_get0_group(group->ec)) == NULL || in ec_create_shared()
575 if (!EC_KEY_set_group(exkey, ecgroup)) in ec_create_shared()
584 if ((secretp = EC_POINT_new(ecgroup)) == NULL) in ec_create_shared()
587 if (!EC_POINT_mul(ecgroup, secretp, NULL, exchangep, privkey, NULL)) in ec_create_shared()
608 const EC_GROUP *ecgroup = NULL; in ec_point2raw() local
637 if ((ecgroup = EC_KEY_get0_group(group->ec)) == NULL) in ec_point2raw()
640 if (!EC_POINT_get_affine_coordinates(ecgroup, point, x, y, bnctx)) in ec_point2raw()
671 const EC_GROUP *ecgroup = NULL; in ec_raw2point() local
694 if ((ecgroup = EC_KEY_get0_group(group->ec)) == NULL) in ec_raw2point()
[all …]
/openbsd/src/usr.bin/lex/
Dmain.c82 int numecs, nextecm[CSIZE + 1], ecgroup[CSIZE + 1], nummecs, tecfwd[CSIZE + 1]; variable
300 ecgroup[1] = NIL; in check_options()
303 ecgroup[i] = i - 1; in check_options()
311 ecgroup[i] = i; in check_options()
1632 numecs = cre8ecs(nextecm, ecgroup, csize); in readin()
1637 ecgroup[0] = ecgroup[csize]; in readin()
1638 NUL_ec = ABS(ecgroup[0]); in readin()
Dgen.c465 ecgroup[i] = ABS(ecgroup[i]); in mkecstbl()
466 tdata[i] = ecgroup[i]; in mkecstbl()
487 ecgroup[i] = ABS(ecgroup[i]); in genecs()
488 mkdata(ecgroup[i]); in genecs()
501 readable_form(i), ecgroup[i]); in genecs()
Ddfa.c192 ec = ABS (ecgroup[i]); in dump_transitions()
460 if (!fullspd && ecgroup[0] == numecs) { in ntod()
999 else if (ABS (ecgroup[sym]) == transsym) in symfollowset()
1044 int ec = ecgroup[tch]; in sympartition()
Dparse.y701 ecgroup, csize, csize );
710 ecgroup, csize, csize );
731 nextecm, ecgroup, csize, csize );
Decs.c60 cclmec = ecgroup[ich]; in ccl2ecl()
Dnfa.c656 mkechar(sym ? sym : csize, nextecm, ecgroup); in mkstate()
Dflexdef.h531 extern int numecs, nextecm[CSIZE + 1], ecgroup[CSIZE + 1], nummecs;