Lines Matching +full:function +full:- +full:group
17 - Functions for manipulating EC_GROUP objects
26 int EC_GROUP_set_generator(EC_GROUP *group, const EC_POINT *generator,
28 const EC_POINT *EC_GROUP_get0_generator(const EC_GROUP *group);
30 int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx);
31 const BIGNUM *EC_GROUP_get0_order(const EC_GROUP *group);
32 int EC_GROUP_order_bits(const EC_GROUP *group);
33 int EC_GROUP_get_cofactor(const EC_GROUP *group, BIGNUM *cofactor, BN_CTX *ctx);
34 const BIGNUM *EC_GROUP_get0_cofactor(const EC_GROUP *group);
35 const BIGNUM *EC_GROUP_get0_field(const EC_GROUP *group);
37 void EC_GROUP_set_curve_name(EC_GROUP *group, int nid);
38 int EC_GROUP_get_curve_name(const EC_GROUP *group);
40 void EC_GROUP_set_asn1_flag(EC_GROUP *group, int flag);
41 int EC_GROUP_get_asn1_flag(const EC_GROUP *group);
43 void EC_GROUP_set_point_conversion_form(EC_GROUP *group, point_conversion_form_t form);
44 point_conversion_form_t EC_GROUP_get_point_conversion_form(const EC_GROUP *group);
46 unsigned char *EC_GROUP_get0_seed(const EC_GROUP *group);
47 size_t EC_GROUP_get_seed_len(const EC_GROUP *group);
48 size_t EC_GROUP_set_seed(EC_GROUP *group, const unsigned char *, size_t len);
50 int EC_GROUP_get_degree(const EC_GROUP *group);
52 int EC_GROUP_check(const EC_GROUP *group, BN_CTX *ctx);
53 int EC_GROUP_check_named_curve(const EC_GROUP *group, int nist_only,
56 int EC_GROUP_check_discriminant(const EC_GROUP *group, BN_CTX *ctx);
60 int EC_GROUP_get_basis_type(const EC_GROUP *group);
61 int EC_GROUP_get_trinomial_basis(const EC_GROUP *group, unsigned int *k);
62 int EC_GROUP_get_pentanomial_basis(const EC_GROUP *group, unsigned int *k1,
65 int EC_GROUP_get_field_type(const EC_GROUP *group);
67 The following function has been deprecated since OpenSSL 3.0, and can be
71 const EC_METHOD *EC_GROUP_method_of(const EC_GROUP *group);
80 EC_GROUP_method_of() obtains the EC_METHOD of B<group>.
81 This function was deprecated in OpenSSL 3.0, since EC_METHOD is no longer a public concept.
86 n-1 where n is the B<order>. The B<order> multiplied by the B<cofactor> gives the number of points …
88 EC_GROUP_get0_generator() returns the generator for the identified B<group>.
90 EC_GROUP_get_order() retrieves the order of B<group> and copies its value into
91 B<order>. It fails in case B<group> is not fully initialized (i.e., its order
94 EC_GROUP_get_cofactor() retrieves the cofactor of B<group> and copies its value
95 into B<cofactor>. It fails in case B<group> is not fully initialized or if the
147 built-in curves within the library provide seed values that can be obtained. It is also possible to…
158 The function EC_GROUP_check_discriminant() calculates the discriminant for the curve and verifies t…
162 The function EC_GROUP_check() behaves in the following way:
165 …rder. For the OpenSSL FIPS provider it uses EC_GROUP_check_named_curve() to conform to SP800-56Ar3.
167 The function EC_GROUP_check_named_curve() determines if the group's domain parameters match one of …
168 The curve name is returned as a B<NID> if it matches. If the group's domain parameters have been mo…
169 If the curve name of the given group is B<NID_undef> (e.g. it has been created by using explicit pa…
170 …n be used to lookup the name of the curve that matches the group domain parameters. The built-in c…
172 returned if the curve name of the given group is NID_undef.
173 If B<nist_only> is 1 it will only look for NIST approved curves, otherwise it searches all built-in…
174 This function may be passed a BN_CTX object in the B<ctx> parameter.
181 function f(x). This function is either a trinomial of the form:
189 The function EC_GROUP_get_basis_type() returns a NID identifying whether a trinomial or pentanomial…
190 function EC_GROUP_get_trinomial_basis() must only be called where f(x) is of the trinomial form, an…
191 the function EC_GROUP_get_pentanomial_basis() must only be called where f(x) is of the pentanomial …
206 B<group> or if copying into B<order> fails, 1 otherwise.
208 EC_GROUP_get_cofactor() returns 0 if the cofactor is not set (or is set to zero) for B<group> or if…
210 EC_GROUP_get_curve_name() returns the curve name (NID) for B<group> or will return NID_undef if no …
212 EC_GROUP_get_asn1_flag() returns the ASN1 flag for the specified B<group> .
214 EC_GROUP_get_point_conversion_form() returns the point_conversion_form for B<group>.
216 …OUP_get_degree() returns the degree for B<group> or 0 if the operation is not supported by the und…
222 …) returns the nid of the matching named curve, otherwise it returns 0 for no match, or -1 on error.
224 EC_GROUP_get0_order() returns an internal pointer to the group order.
225 EC_GROUP_order_bits() returns the number of bits in the group order.
226 EC_GROUP_get0_cofactor() returns an internal pointer to the group cofactor.
227 EC_GROUP_get0_field() returns an internal pointer to the group field. For curves over GF(p), this i…
236 EC_GROUP_cmp() returns 0 if the curves are equal, 1 if they are not equal, or -1 on error.
255 Copyright 2013-2023 The OpenSSL Project Authors. All Rights Reserved.