1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#![allow(non_camel_case_types)]
use crate::deps::*;
use crate::fmpz::fmpz;
use crate::fmpz_mod::fmpz_mod_ctx_struct;
extern "C" {
pub fn _fmpz_mod_vec_set_fmpz_vec(
A: *mut fmpz,
B: *const fmpz,
len: mp_limb_signed_t,
ctx: *mut fmpz_mod_ctx_struct,
);
}
extern "C" {
pub fn _fmpz_mod_vec_neg(
A: *mut fmpz,
B: *const fmpz,
len: mp_limb_signed_t,
ctx: *mut fmpz_mod_ctx_struct,
);
}
extern "C" {
pub fn _fmpz_mod_vec_sub(
a: *mut fmpz,
b: *const fmpz,
c: *const fmpz,
n: mp_limb_signed_t,
ctx: *mut fmpz_mod_ctx_struct,
);
}
extern "C" {
pub fn _fmpz_mod_vec_scalar_mul_fmpz_mod(
A: *mut fmpz,
B: *const fmpz,
len: mp_limb_signed_t,
c: *mut fmpz,
ctx: *mut fmpz_mod_ctx_struct,
);
}
extern "C" {
pub fn _fmpz_mod_vec_mul(
A: *mut fmpz,
B: *const fmpz,
C: *const fmpz,
len: mp_limb_signed_t,
ctx: *mut fmpz_mod_ctx_struct,
);
}
extern "C" {
pub fn _fmpz_mod_vec_scalar_div_fmpz_mod(
A: *mut fmpz,
B: *const fmpz,
len: mp_limb_signed_t,
c: *mut fmpz,
ctx: *mut fmpz_mod_ctx_struct,
);
}
extern "C" {
pub fn _fmpz_mod_vec_dot(
d: *mut fmpz,
A: *const fmpz,
B: *const fmpz,
len: mp_limb_signed_t,
ctx: *mut fmpz_mod_ctx_struct,
);
}
extern "C" {
pub fn _fmpz_mod_vec_dot_rev(
r: *mut fmpz,
a: *const fmpz,
b: *const fmpz,
len: mp_limb_signed_t,
ctx: *mut fmpz_mod_ctx_struct,
);
}