Nano-vanity compiles, but won't run with the GPU flag, even after installing GPU drivers from scratch + Visual Studio + CUDA Toolkit.
Estimated attempts needed: 1099511627776
183 errors generated.
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: OclCore(ProgramBuild(BuildLog("<kernel>:1788:17: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') changes address space of pointer
curve25519_mul(r->x, p->x, p->t);
^~~~
<kernel>:1258:28: note: passing argument to parameter 'out' here
curve25519_mul(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1788:23: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_mul(r->x, p->x, p->t);
^~~~
<kernel>:1258:51: note: passing argument to parameter 'a' here
curve25519_mul(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1788:29: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_mul(r->x, p->x, p->t);
^~~~
<kernel>:1258:72: note: passing argument to parameter 'b' here
curve25519_mul(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1789:17: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') changes address space of pointer
curve25519_mul(r->y, p->y, p->z);
^~~~
<kernel>:1258:28: note: passing argument to parameter 'out' here
curve25519_mul(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1789:23: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_mul(r->y, p->y, p->z);
^~~~
<kernel>:1258:51: note: passing argument to parameter 'a' here
curve25519_mul(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1789:29: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_mul(r->y, p->y, p->z);
^~~~
<kernel>:1258:72: note: passing argument to parameter 'b' here
curve25519_mul(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1790:17: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') changes address space of pointer
curve25519_mul(r->z, p->z, p->t);
^~~~
<kernel>:1258:28: note: passing argument to parameter 'out' here
curve25519_mul(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1790:23: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_mul(r->z, p->z, p->t);
^~~~
<kernel>:1258:51: note: passing argument to parameter 'a' here
curve25519_mul(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1790:29: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_mul(r->z, p->z, p->t);
^~~~
<kernel>:1258:72: note: passing argument to parameter 'b' here
curve25519_mul(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1795:17: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') changes address space of pointer
curve25519_mul(r->x, p->x, p->t);
^~~~
<kernel>:1258:28: note: passing argument to parameter 'out' here
curve25519_mul(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1795:23: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_mul(r->x, p->x, p->t);
^~~~
<kernel>:1258:51: note: passing argument to parameter 'a' here
curve25519_mul(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1795:29: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_mul(r->x, p->x, p->t);
^~~~
<kernel>:1258:72: note: passing argument to parameter 'b' here
curve25519_mul(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1796:17: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') changes address space of pointer
curve25519_mul(r->y, p->y, p->z);
^~~~
<kernel>:1258:28: note: passing argument to parameter 'out' here
curve25519_mul(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1796:23: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_mul(r->y, p->y, p->z);
^~~~
<kernel>:1258:51: note: passing argument to parameter 'a' here
curve25519_mul(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1796:29: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_mul(r->y, p->y, p->z);
^~~~
<kernel>:1258:72: note: passing argument to parameter 'b' here
curve25519_mul(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1797:17: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') changes address space of pointer
curve25519_mul(r->z, p->z, p->t);
^~~~
<kernel>:1258:28: note: passing argument to parameter 'out' here
curve25519_mul(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1797:23: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_mul(r->z, p->z, p->t);
^~~~
<kernel>:1258:51: note: passing argument to parameter 'a' here
curve25519_mul(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1797:29: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_mul(r->z, p->z, p->t);
^~~~
<kernel>:1258:72: note: passing argument to parameter 'b' here
curve25519_mul(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1798:17: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') changes address space of pointer
curve25519_mul(r->t, p->x, p->y);
^~~~
<kernel>:1258:28: note: passing argument to parameter 'out' here
curve25519_mul(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1798:23: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_mul(r->t, p->x, p->y);
^~~~
<kernel>:1258:51: note: passing argument to parameter 'a' here
curve25519_mul(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1798:29: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_mul(r->t, p->x, p->y);
^~~~
<kernel>:1258:72: note: passing argument to parameter 'b' here
curve25519_mul(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1803:17: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') changes address space of pointer
curve25519_sub(p->ysubx, r->y, r->x);
^~~~~~~~
<kernel>:1191:28: note: passing argument to parameter 'out' here
curve25519_sub(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1803:27: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_sub(p->ysubx, r->y, r->x);
^~~~
<kernel>:1191:51: note: passing argument to parameter 'a' here
curve25519_sub(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1803:33: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_sub(p->ysubx, r->y, r->x);
^~~~
<kernel>:1191:72: note: passing argument to parameter 'b' here
curve25519_sub(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1804:17: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') changes address space of pointer
curve25519_add(p->xaddy, r->y, r->x);
^~~~~~~~
<kernel>:1136:28: note: passing argument to parameter 'out' here
curve25519_add(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1804:27: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_add(p->xaddy, r->y, r->x);
^~~~
<kernel>:1136:51: note: passing argument to parameter 'a' here
curve25519_add(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1804:33: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_add(p->xaddy, r->y, r->x);
^~~~
<kernel>:1136:72: note: passing argument to parameter 'b' here
curve25519_add(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1805:18: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') changes address space of pointer
curve25519_copy(p->z, r->z);
^~~~
<kernel>:1121:29: note: passing argument to parameter 'out' here
curve25519_copy(bignum25519 out, const bignum25519 in) {
^
<kernel>:1805:24: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_copy(p->z, r->z);
^~~~
<kernel>:1121:52: note: passing argument to parameter 'in' here
curve25519_copy(bignum25519 out, const bignum25519 in) {
^
<kernel>:1806:23: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') changes address space of pointer
curve25519_mul_const(p->t2d, r->t, ge25519_ec2d);
^~~~~~
<kernel>:1355:34: note: passing argument to parameter 'out' here
curve25519_mul_const(bignum25519 out, const bignum25519 a, constant uint32_t *b) {
^
<kernel>:1806:31: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_mul_const(p->t2d, r->t, ge25519_ec2d);
^~~~
<kernel>:1355:57: note: passing argument to parameter 'a' here
curve25519_mul_const(bignum25519 out, const bignum25519 a, constant uint32_t *b) {
^
<kernel>:1817:20: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_sub(a, p->y, p->x);
^~~~
<kernel>:1191:51: note: passing argument to parameter 'a' here
curve25519_sub(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1817:26: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_sub(a, p->y, p->x);
^~~~
<kernel>:1191:72: note: passing argument to parameter 'b' here
curve25519_sub(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1818:20: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_add(b, p->y, p->x);
^~~~
<kernel>:1136:51: note: passing argument to parameter 'a' here
curve25519_add(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1818:26: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_add(b, p->y, p->x);
^~~~
<kernel>:1136:72: note: passing argument to parameter 'b' here
curve25519_add(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1819:20: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_sub(t, q->y, q->x);
^~~~
<kernel>:1191:51: note: passing argument to parameter 'a' here
curve25519_sub(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1819:26: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_sub(t, q->y, q->x);
^~~~
<kernel>:1191:72: note: passing argument to parameter 'b' here
curve25519_sub(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1820:20: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_add(u, q->y, q->x);
^~~~
<kernel>:1136:51: note: passing argument to parameter 'a' here
curve25519_add(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1820:26: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_add(u, q->y, q->x);
^~~~
<kernel>:1136:72: note: passing argument to parameter 'b' here
curve25519_add(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1823:20: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_mul(c, p->t, q->t);
^~~~
<kernel>:1258:51: note: passing argument to parameter 'a' here
curve25519_mul(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1823:26: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_mul(c, p->t, q->t);
^~~~
<kernel>:1258:72: note: passing argument to parameter 'b' here
curve25519_mul(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1825:20: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_mul(d, p->z, q->z);
^~~~
<kernel>:1258:51: note: passing argument to parameter 'a' here
curve25519_mul(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1825:26: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_mul(d, p->z, q->z);
^~~~
<kernel>:1258:72: note: passing argument to parameter 'b' here
curve25519_mul(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1827:17: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') changes address space of pointer
curve25519_sub(r->x, b, a);
^~~~
<kernel>:1191:28: note: passing argument to parameter 'out' here
curve25519_sub(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1828:17: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') changes address space of pointer
curve25519_add(r->y, b, a);
^~~~
<kernel>:1136:28: note: passing argument to parameter 'out' here
curve25519_add(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1829:29: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') changes address space of pointer
curve25519_add_after_basic(r->z, d, c);
^~~~
<kernel>:1150:40: note: passing argument to parameter 'out' here
curve25519_add_after_basic(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1830:29: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') changes address space of pointer
curve25519_sub_after_basic(r->t, d, c);
^~~~
<kernel>:1207:40: note: passing argument to parameter 'out' here
curve25519_sub_after_basic(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1838:23: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_square(a, p->x);
^~~~
<kernel>:1453:54: note: passing argument to parameter 'in' here
curve25519_square(bignum25519 out, const bignum25519 in) {
^
<kernel>:1839:23: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_square(b, p->y);
^~~~
<kernel>:1453:54: note: passing argument to parameter 'in' here
curve25519_square(bignum25519 out, const bignum25519 in) {
^
<kernel>:1840:23: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_square(c, p->z);
^~~~
<kernel>:1453:54: note: passing argument to parameter 'in' here
curve25519_square(bignum25519 out, const bignum25519 in) {
^
<kernel>:1842:17: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') changes address space of pointer
curve25519_add(r->x, p->x, p->y);
^~~~
<kernel>:1136:28: note: passing argument to parameter 'out' here
curve25519_add(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1842:23: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_add(r->x, p->x, p->y);
^~~~
<kernel>:1136:51: note: passing argument to parameter 'a' here
curve25519_add(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1842:29: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_add(r->x, p->x, p->y);
^~~~
<kernel>:1136:72: note: passing argument to parameter 'b' here
curve25519_add(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1843:20: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') changes address space of pointer
curve25519_square(r->x, r->x);
^~~~
<kernel>:1453:31: note: passing argument to parameter 'out' here
curve25519_square(bignum25519 out, const bignum25519 in) {
^
<kernel>:1843:26: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_square(r->x, r->x);
^~~~
<kernel>:1453:54: note: passing argument to parameter 'in' here
curve25519_square(bignum25519 out, const bignum25519 in) {
^
<kernel>:1844:17: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') changes address space of pointer
curve25519_add(r->y, b, a);
^~~~
<kernel>:1136:28: note: passing argument to parameter 'out' here
curve25519_add(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1845:17: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') changes address space of pointer
curve25519_sub(r->z, b, a);
^~~~
<kernel>:1191:28: note: passing argument to parameter 'out' here
curve25519_sub(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1846:29: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') changes address space of pointer
curve25519_sub_after_basic(r->x, r->x, r->y);
^~~~
<kernel>:1207:40: note: passing argument to parameter 'out' here
curve25519_sub_after_basic(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1846:35: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_sub_after_basic(r->x, r->x, r->y);
^~~~
<kernel>:1207:63: note: passing argument to parameter 'a' here
curve25519_sub_after_basic(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1846:41: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_sub_after_basic(r->x, r->x, r->y);
^~~~
<kernel>:1207:84: note: passing argument to parameter 'b' here
curve25519_sub_after_basic(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1847:29: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') changes address space of pointer
curve25519_sub_after_basic(r->t, c, r->z);
^~~~
<kernel>:1207:40: note: passing argument to parameter 'out' here
curve25519_sub_after_basic(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1847:38: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_sub_after_basic(r->t, c, r->z);
^~~~
<kernel>:1207:84: note: passing argument to parameter 'b' here
curve25519_sub_after_basic(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1856:20: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_sub(a, p->y, p->x);
^~~~
<kernel>:1191:51: note: passing argument to parameter 'a' here
curve25519_sub(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1856:26: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_sub(a, p->y, p->x);
^~~~
<kernel>:1191:72: note: passing argument to parameter 'b' here
curve25519_sub(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1857:20: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_add(b, p->y, p->x);
^~~~
<kernel>:1136:51: note: passing argument to parameter 'a' here
curve25519_add(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1857:26: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_add(b, p->y, p->x);
^~~~
<kernel>:1136:72: note: passing argument to parameter 'b' here
curve25519_add(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1858:23: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_mul(a, a, qb[signbit]); /* x for +, y for - */
^~~~~~~~~~~
<kernel>:1258:72: note: passing argument to parameter 'b' here
curve25519_mul(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1859:17: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') changes address space of pointer
curve25519_mul(r->x, b, qb[signbit^1]); /* y for +, x for - */
^~~~
<kernel>:1258:28: note: passing argument to parameter 'out' here
curve25519_mul(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1859:26: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_mul(r->x, b, qb[signbit^1]); /* y for +, x for - */
^~~~~~~~~~~~~
<kernel>:1258:72: note: passing argument to parameter 'b' here
curve25519_mul(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1860:17: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') changes address space of pointer
curve25519_add(r->y, r->x, a);
^~~~
<kernel>:1136:28: note: passing argument to parameter 'out' here
curve25519_add(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1860:23: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_add(r->y, r->x, a);
^~~~
<kernel>:1136:51: note: passing argument to parameter 'a' here
curve25519_add(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1861:17: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') changes address space of pointer
curve25519_sub(r->x, r->x, a);
^~~~
<kernel>:1191:28: note: passing argument to parameter 'out' here
curve25519_sub(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1861:23: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_sub(r->x, r->x, a);
^~~~
<kernel>:1191:51: note: passing argument to parameter 'a' here
curve25519_sub(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1862:20: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_mul(c, p->t, q->t2d);
^~~~
<kernel>:1258:51: note: passing argument to parameter 'a' here
curve25519_mul(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1862:26: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_mul(c, p->t, q->t2d);
^~~~~~
<kernel>:1258:72: note: passing argument to parameter 'b' here
curve25519_mul(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1863:24: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') changes address space of pointer
curve25519_add_reduce(r->t, p->z, p->z);
^~~~
<kernel>:1166:35: note: passing argument to parameter 'out' here
curve25519_add_reduce(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1863:30: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_add_reduce(r->t, p->z, p->z);
^~~~
<kernel>:1166:58: note: passing argument to parameter 'a' here
curve25519_add_reduce(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1863:36: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_add_reduce(r->t, p->z, p->z);
^~~~
<kernel>:1166:79: note: passing argument to parameter 'b' here
curve25519_add_reduce(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1864:18: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') changes address space of pointer
curve25519_copy(r->z, r->t);
^~~~
<kernel>:1121:29: note: passing argument to parameter 'out' here
curve25519_copy(bignum25519 out, const bignum25519 in) {
^
<kernel>:1864:24: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_copy(r->z, r->t);
^~~~
<kernel>:1121:52: note: passing argument to parameter 'in' here
curve25519_copy(bignum25519 out, const bignum25519 in) {
^
<kernel>:1865:17: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') changes address space of pointer
curve25519_add(rb[2+signbit], rb[2+signbit], c); /* z for +, t for - */
^~~~~~~~~~~~~
<kernel>:1136:28: note: passing argument to parameter 'out' here
curve25519_add(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1865:32: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_add(rb[2+signbit], rb[2+signbit], c); /* z for +, t for - */
^~~~~~~~~~~~~
<kernel>:1136:51: note: passing argument to parameter 'a' here
curve25519_add(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1866:17: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') changes address space of pointer
curve25519_sub(rb[2+(signbit^1)], rb[2+(signbit^1)], c); /* t for +, z for - */
^~~~~~~~~~~~~~~~~
<kernel>:1191:28: note: passing argument to parameter 'out' here
curve25519_sub(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1866:36: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_sub(rb[2+(signbit^1)], rb[2+(signbit^1)], c); /* t for +, z for - */
^~~~~~~~~~~~~~~~~
<kernel>:1191:51: note: passing argument to parameter 'a' here
curve25519_sub(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1875:20: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_sub(a, p->y, p->x);
^~~~
<kernel>:1191:51: note: passing argument to parameter 'a' here
curve25519_sub(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1875:26: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_sub(a, p->y, p->x);
^~~~
<kernel>:1191:72: note: passing argument to parameter 'b' here
curve25519_sub(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1876:20: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_add(b, p->y, p->x);
^~~~
<kernel>:1136:51: note: passing argument to parameter 'a' here
curve25519_add(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1876:26: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_add(b, p->y, p->x);
^~~~
<kernel>:1136:72: note: passing argument to parameter 'b' here
curve25519_add(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1877:23: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_mul(a, a, qb[signbit]); /* ysubx for +, xaddy for - */
^~~~~~~~~~~
<kernel>:1258:72: note: passing argument to parameter 'b' here
curve25519_mul(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1878:17: error: passing '__generic uint32_t *' (aka '__generic unsigned int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') changes address space of pointer
curve25519_mul(r->x, b, qb[signbit^1]); /* xaddy for +, ysubx for - */
^~~~
<kernel>:1258:28: note: passing argument to parameter 'out' here
curve25519_mul(bignum25519 out, const bignum25519 a, const bignum25519 b) {
^
<kernel>:1878:26: error: passing 'const __generic uint32_t *' (aka 'const __generic unsigned int *') to parameter of type 'const uint32_t *' (aka 'const unsigned int *') changes address space of pointer
curve25519_mul(r->x, b, qb[signbit^1]); /* xaddy for +, ysubx for - */
^~~~~~~~~~~~~