Lines Matching refs:field_data1
109 group->field_data1 = NULL;
122 if (group->field_data1 != NULL)
124 BN_MONT_CTX_free(group->field_data1);
125 group->field_data1 = NULL;
151 group->field_data1 = mont;
160 BN_MONT_CTX_free(group->field_data1);
161 group->field_data1 = NULL;
177 if (group->field_data1 != NULL)
179 BN_MONT_CTX_free(group->field_data1);
180 group->field_data1 = NULL;
193 if (group->field_data1 != NULL)
195 BN_MONT_CTX_free(group->field_data1);
196 group->field_data1 = NULL;
209 if (dest->field_data1 != NULL)
211 BN_MONT_CTX_free(dest->field_data1);
212 dest->field_data1 = NULL;
222 if (src->field_data1 != NULL)
224 dest->field_data1 = BN_MONT_CTX_new();
225 if (dest->field_data1 == NULL) return 0;
226 if (!BN_MONT_CTX_copy(dest->field_data1, src->field_data1)) goto err;
237 if (dest->field_data1 != NULL)
239 BN_MONT_CTX_free(dest->field_data1);
240 dest->field_data1 = NULL;
248 if (group->field_data1 == NULL)
254 return BN_mod_mul_montgomery(r, a, b, group->field_data1, ctx);
260 if (group->field_data1 == NULL)
266 return BN_mod_mul_montgomery(r, a, a, group->field_data1, ctx);
272 if (group->field_data1 == NULL)
278 return BN_to_montgomery(r, a, (BN_MONT_CTX *)group->field_data1, ctx);
284 if (group->field_data1 == NULL)
290 return BN_from_montgomery(r, a, group->field_data1, ctx);