Lines Matching defs:cofactor
114 BN_init(&group->cofactor);
127 BN_free(&group->cofactor);
142 BN_clear_free(&group->cofactor);
174 if (!BN_copy(&dest->cofactor, &src->cofactor)) return 0;
288 const BIGNUM *order, const BIGNUM *cofactor)
308 if (cofactor != NULL)
309 { if (!BN_copy(&group->cofactor, cofactor)) return 0; }
311 { if (!BN_zero(&group->cofactor)) return 0; }
332 int ec_GFp_simple_group_get_cofactor(const EC_GROUP *group, BIGNUM *cofactor, BN_CTX *ctx)
334 if (!BN_copy(cofactor, &group->cofactor))
337 return !BN_is_zero(&group->cofactor);