Lines Matching refs:field
187 static int ec_asn1_group2fieldid(const EC_GROUP *group, X9_62_FIELDID *field)
192 if (group == NULL || field == NULL)
196 ASN1_OBJECT_free(field->fieldType);
197 ASN1_TYPE_free(field->p.other);
200 /* set OID for the field */
201 if ((field->fieldType = OBJ_nid2obj(nid)) == NULL) {
217 field->p.prime = BN_to_ASN1_INTEGER(tmp, NULL);
218 if (field->p.prime == NULL) {
233 field->p.char_two = X9_62_CHARACTERISTIC_TWO_new();
234 char_two = field->p.char_two;
333 * definition of how to encode the field elements.
562 /* get the field parameters */
653 /* we have a curve over a prime field */
817 * If the input params do not contain the optional seed field we make
820 * The seed field is not really used inside libcrypto anyway, and
822 * encoding output (because of the extra field) which could impact