Lines Matching refs:field_len
773 size_t field_len, i, skip; in ec_GFp_simple_point2oct() local
800 field_len = BN_num_bytes(&group->field); in ec_GFp_simple_point2oct()
801 ret = (form == POINT_CONVERSION_COMPRESSED) ? 1 + field_len : 1 + 2*field_len; in ec_GFp_simple_point2oct()
834 skip = field_len - BN_num_bytes(x); in ec_GFp_simple_point2oct()
835 if (skip > field_len) in ec_GFp_simple_point2oct()
847 if (i != 1 + field_len) in ec_GFp_simple_point2oct()
855 skip = field_len - BN_num_bytes(y); in ec_GFp_simple_point2oct()
856 if (skip > field_len) in ec_GFp_simple_point2oct()
899 size_t field_len, enc_len; in ec_GFp_simple_oct2point() local
934 field_len = BN_num_bytes(&group->field); in ec_GFp_simple_oct2point()
935 enc_len = (form == POINT_CONVERSION_COMPRESSED) ? 1 + field_len : 1 + 2*field_len; in ec_GFp_simple_oct2point()
955 if (!BN_bin2bn(buf + 1, field_len, x)) goto err; in ec_GFp_simple_oct2point()
968 if (!BN_bin2bn(buf + 1 + field_len, field_len, y)) goto err; in ec_GFp_simple_oct2point()