Logo Search packages:      
Sourcecode: openssl version File versions  Download package

int EC_GROUP_get_degree ( const EC_GROUP group)

Returns the number of bits needed to represent a field element

Parameters:
groupEC_GROUP object
Returns:
number of bits needed to represent a field element

Definition at line 451 of file ec_lib.c.

References EC_GROUP_get_degree().

Referenced by EC_GROUP_get_degree().

      {
      if (group->meth->group_get_degree == 0)
            {
            ECerr(EC_F_EC_GROUP_GET_DEGREE, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED);
            return 0;
            }
      return group->meth->group_get_degree(group);
      }

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index