===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for termscp-0.16.1 Compiling proc-macro2 v1.0.87 Compiling unicode-ident v1.0.13 Compiling quote v1.0.37 Compiling syn v2.0.79 Compiling libc v0.2.159 Compiling cfg-if v1.0.0 Compiling jobserver v0.1.32 Compiling shlex v1.3.0 Compiling cc v1.1.30 Compiling serde_derive v1.0.210 Compiling log v0.4.22 Compiling autocfg v1.4.0 Compiling memchr v2.7.4 Compiling itoa v1.0.11 Compiling once_cell v1.20.2 Compiling serde v1.0.210 Compiling pkg-config v0.3.31 Compiling thiserror v1.0.64 Compiling bytes v1.7.2 Compiling thiserror-impl v1.0.64 Compiling pin-project-lite v0.2.14 Compiling vcpkg v0.2.15 Compiling fnv v1.0.7 Compiling signal-hook-registry v1.4.2 Compiling bitflags v2.6.0 Compiling futures-core v0.3.31 Compiling version_check v0.9.5 Compiling typenum v1.17.0 Compiling generic-array v0.14.7 Compiling futures-io v0.3.31 Compiling slab v0.4.9 Compiling futures-sink v0.3.31 Compiling mio v0.8.11 Compiling getrandom v0.2.15 Compiling ryu v1.0.18 Compiling crossbeam-utils v0.8.20 Compiling futures-channel v0.3.31 Compiling socket2 v0.5.7 Compiling futures-macro v0.3.31 Compiling tokio-macros v2.3.0 Compiling futures-task v0.3.31 Compiling pin-utils v0.1.0 Compiling futures-util v0.3.31 Compiling tokio v1.38.1 Compiling ring v0.17.8 Compiling allocator-api2 v0.2.18 Compiling equivalent v1.0.1 Compiling rustversion v1.0.17 Compiling smallvec v1.13.2 Compiling foldhash v0.1.3 Compiling hashbrown v0.15.0 The following warnings were emitted during compilation: warning: ring@0.17.8: In file included from include/ring-core/base.h:74, warning: ring@0.17.8: from include/ring-core/mem.h:60, warning: ring@0.17.8: from crypto/curve25519/curve25519.c:22: warning: ring@0.17.8: include/ring-core/target.h:64:2: error: #error "Unknown target CPU" warning: ring@0.17.8: 64 | #error "Unknown target CPU" warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: In file included from crypto/curve25519/internal.h:20, warning: ring@0.17.8: from crypto/curve25519/curve25519.c:24: warning: ring@0.17.8: crypto/curve25519/../internal.h:219:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" warning: ring@0.17.8: 219 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:232:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:232:45: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:244:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:244:49: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:249:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:249:53: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:264:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:264:56: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:269:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:269:48: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:270:48: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 270 | crypto_word_t b) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:277:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:277:52: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:278:52: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 278 | crypto_word_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:279:52: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 279 | crypto_word_t b) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:291:46: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 291 | static inline uint8_t constant_time_select_8(crypto_word_t mask, uint8_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:308:59: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 308 | const crypto_word_t mask) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h: In function 'constant_time_conditional_memcpy': warning: ring@0.17.8: crypto/curve25519/../internal.h:313:14: warning: implicit declaration of function 'constant_time_select_8' [-Wimplicit-function-declaration] warning: ring@0.17.8: 313 | out[i] = constant_time_select_8(mask, in[i], out[i]); warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:313:14: warning: nested extern declaration of 'constant_time_select_8' [-Wnested-externs] warning: ring@0.17.8: crypto/curve25519/../internal.h: At top level: warning: ring@0.17.8: crypto/curve25519/../internal.h:322:59: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 322 | const crypto_word_t mask) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h: In function 'constant_time_conditional_memxor': warning: ring@0.17.8: crypto/curve25519/../internal.h:327:15: warning: implicit declaration of function 'value_barrier_w' [-Wimplicit-function-declaration] warning: ring@0.17.8: 327 | out[i] ^= value_barrier_w(mask) & in[i]; warning: ring@0.17.8: | ^~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:327:15: warning: nested extern declaration of 'value_barrier_w' [-Wnested-externs] warning: ring@0.17.8: crypto/curve25519/../internal.h: At top level: warning: ring@0.17.8: crypto/curve25519/../internal.h:359:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:359:56: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/curve25519.c: In function 'x25519_ge_scalarmult_small_precomp': warning: ring@0.17.8: crypto/curve25519/curve25519.c:725:35: warning: implicit declaration of function 'constant_time_eq_w' [-Wimplicit-function-declaration] warning: ring@0.17.8: 725 | cmov(&e, &multiples[j-1], 1&constant_time_eq_w(index, j)); warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/curve25519.c:725:35: warning: nested extern declaration of 'constant_time_eq_w' [-Wnested-externs] warning: ring@0.17.8: ToolExecError: Command "gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "include" "-I" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out" "-O2" "-I/usr/pkg/include" "-I/usr/include" "-fvisibility=hidden" "-std=c1x" "-Wall" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-g3" "-DNDEBUG" "-o" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out/fad98b632b8ce3cc-curve25519.o" "-c" "crypto/curve25519/curve25519.c" with args gcc did not execute successfully (status code exit status: 1).cargo:warning=In file included from include/ring-core/base.h:74, warning: ring@0.17.8: from include/ring-core/aes.h:52, warning: ring@0.17.8: from crypto/fipsmodule/aes/aes_nohw.c:15: warning: ring@0.17.8: include/ring-core/target.h:64:2: error: #error "Unknown target CPU" warning: ring@0.17.8: 64 | #error "Unknown target CPU" warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: In file included from crypto/fipsmodule/aes/aes_nohw.c:17: warning: ring@0.17.8: crypto/fipsmodule/aes/../../internal.h:219:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" warning: ring@0.17.8: 219 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: crypto/fipsmodule/aes/../../internal.h:232:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/aes/../../internal.h:232:45: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/aes/../../internal.h:244:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/aes/../../internal.h:244:49: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/aes/../../internal.h:249:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/aes/../../internal.h:249:53: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/aes/../../internal.h:264:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/aes/../../internal.h:264:56: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/aes/../../internal.h:269:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/aes/../../internal.h:269:48: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/aes/../../internal.h:270:48: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 270 | crypto_word_t b) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/aes/../../internal.h:277:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/aes/../../internal.h:277:52: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/aes/../../internal.h:278:52: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 278 | crypto_word_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/aes/../../internal.h:279:52: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 279 | crypto_word_t b) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/aes/../../internal.h:291:46: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 291 | static inline uint8_t constant_time_select_8(crypto_word_t mask, uint8_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/aes/../../internal.h:308:59: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 308 | const crypto_word_t mask) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/aes/../../internal.h: In function 'constant_time_conditional_memcpy': warning: ring@0.17.8: crypto/fipsmodule/aes/../../internal.h:313:14: warning: implicit declaration of function 'constant_time_select_8' [-Wimplicit-function-declaration] warning: ring@0.17.8: 313 | out[i] = constant_time_select_8(mask, in[i], out[i]); warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/aes/../../internal.h:313:14: warning: nested extern declaration of 'constant_time_select_8' [-Wnested-externs] warning: ring@0.17.8: crypto/fipsmodule/aes/../../internal.h: At top level: warning: ring@0.17.8: crypto/fipsmodule/aes/../../internal.h:322:59: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 322 | const crypto_word_t mask) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/aes/../../internal.h: In function 'constant_time_conditional_memxor': warning: ring@0.17.8: crypto/fipsmodule/aes/../../internal.h:327:15: warning: implicit declaration of function 'value_barrier_w' [-Wimplicit-function-declaration] warning: ring@0.17.8: 327 | out[i] ^= value_barrier_w(mask) & in[i]; warning: ring@0.17.8: | ^~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/aes/../../internal.h:327:15: warning: nested extern declaration of 'value_barrier_w' [-Wnested-externs] warning: ring@0.17.8: crypto/fipsmodule/aes/../../internal.h: At top level: warning: ring@0.17.8: crypto/fipsmodule/aes/../../internal.h:359:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/aes/../../internal.h:359:56: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: ToolExecError: Command "gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "include" "-I" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out" "-O2" "-I/usr/pkg/include" "-I/usr/include" "-fvisibility=hidden" "-std=c1x" "-Wall" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-g3" "-DNDEBUG" "-o" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out/ca4b6ef5433f5aeb-aes_nohw.o" "-c" "crypto/fipsmodule/aes/aes_nohw.c" with args gcc did not execute successfully (status code exit status: 1).cargo:warning=In file included from include/ring-core/base.h:74, warning: ring@0.17.8: from crypto/fipsmodule/bn/internal.h:126, warning: ring@0.17.8: from crypto/fipsmodule/bn/montgomery.c:109: warning: ring@0.17.8: include/ring-core/target.h:64:2: error: #error "Unknown target CPU" warning: ring@0.17.8: 64 | #error "Unknown target CPU" warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: In file included from crypto/fipsmodule/bn/internal.h:135, warning: ring@0.17.8: from crypto/fipsmodule/bn/montgomery.c:109: warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:219:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" warning: ring@0.17.8: 219 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:232:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:232:45: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:244:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:244:49: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:249:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:249:53: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:264:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:264:56: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:269:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:269:48: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:270:48: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 270 | crypto_word_t b) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:277:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:277:52: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:278:52: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 278 | crypto_word_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:279:52: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 279 | crypto_word_t b) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:291:46: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 291 | static inline uint8_t constant_time_select_8(crypto_word_t mask, uint8_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:308:59: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 308 | const crypto_word_t mask) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h: In function 'constant_time_conditional_memcpy': warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:313:14: warning: implicit declaration of function 'constant_time_select_8' [-Wimplicit-function-declaration] warning: ring@0.17.8: 313 | out[i] = constant_time_select_8(mask, in[i], out[i]); warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:313:14: warning: nested extern declaration of 'constant_time_select_8' [-Wnested-externs] warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h: At top level: warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:322:59: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 322 | const crypto_word_t mask) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h: In function 'constant_time_conditional_memxor': warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:327:15: warning: implicit declaration of function 'value_barrier_w' [-Wimplicit-function-declaration] warning: ring@0.17.8: 327 | out[i] ^= value_barrier_w(mask) & in[i]; warning: ring@0.17.8: | ^~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:327:15: warning: nested extern declaration of 'value_barrier_w' [-Wnested-externs] warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h: At top level: warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:359:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:359:56: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: In file included from crypto/fipsmodule/bn/montgomery.c:109: warning: ring@0.17.8: crypto/fipsmodule/bn/internal.h:137:9: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 137 | typedef crypto_word_t BN_ULONG; warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/internal.h:165:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" warning: ring@0.17.8: 165 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/internal.h: In function 'bn_umult_lohi': warning: ring@0.17.8: crypto/fipsmodule/bn/internal.h:191:3: error: unknown type name 'BN_ULLONG'; did you mean 'BN_ULONG'? warning: ring@0.17.8: 191 | BN_ULLONG result = (BN_ULLONG)a * b; warning: ring@0.17.8: | ^~~~~~~~~ warning: ring@0.17.8: | BN_ULONG warning: ring@0.17.8: crypto/fipsmodule/bn/internal.h:191:23: error: 'BN_ULLONG' undeclared (first use in this function); did you mean 'BN_ULONG'? warning: ring@0.17.8: 191 | BN_ULLONG result = (BN_ULLONG)a * b; warning: ring@0.17.8: | ^~~~~~~~~ warning: ring@0.17.8: | BN_ULONG warning: ring@0.17.8: crypto/fipsmodule/bn/internal.h:191:23: note: each undeclared identifier is reported only once for each function it appears in warning: ring@0.17.8: crypto/fipsmodule/bn/internal.h:191:33: error: expected ',' or ';' before 'a' warning: ring@0.17.8: 191 | BN_ULLONG result = (BN_ULLONG)a * b; warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/bn/internal.h:193:36: error: 'BN_BITS2' undeclared (first use in this function) warning: ring@0.17.8: 193 | *high_out = (BN_ULONG)(result >> BN_BITS2); warning: ring@0.17.8: | ^~~~~~~~ warning: ring@0.17.8: In file included from crypto/fipsmodule/bn/montgomery.c:112: warning: ring@0.17.8: crypto/fipsmodule/bn/../../limbs/limbs.h: At top level: warning: ring@0.17.8: crypto/fipsmodule/bn/../../limbs/limbs.h:22:9: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 22 | typedef crypto_word_t Limb; warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../limbs/limbs.h:24:19: warning: "CRYPTO_WORD_BITS" is not defined, evaluates to 0 [-Wundef] warning: ring@0.17.8: 24 | #define LIMB_BITS CRYPTO_WORD_BITS warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../limbs/limbs.inl:49:5: note: in expansion of macro 'LIMB_BITS' warning: ring@0.17.8: 49 | #if LIMB_BITS == 64 warning: ring@0.17.8: | ^~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../limbs/limbs.h:24:19: warning: "CRYPTO_WORD_BITS" is not defined, evaluates to 0 [-Wundef] warning: ring@0.17.8: 24 | #define LIMB_BITS CRYPTO_WORD_BITS warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../limbs/limbs.inl:51:7: note: in expansion of macro 'LIMB_BITS' warning: ring@0.17.8: 51 | #elif LIMB_BITS == 32 warning: ring@0.17.8: | ^~~~~~~~~ warning: ring@0.17.8: In file included from crypto/fipsmodule/bn/montgomery.c:113: warning: ring@0.17.8: crypto/fipsmodule/bn/../../limbs/limbs.inl: In function 'limb_adc': warning: ring@0.17.8: crypto/fipsmodule/bn/../../limbs/limbs.inl:64:3: error: unknown type name 'DoubleLimb' warning: ring@0.17.8: 64 | DoubleLimb x = (DoubleLimb)a + b + carry_in; warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../limbs/limbs.inl:64:19: error: 'DoubleLimb' undeclared (first use in this function) warning: ring@0.17.8: 64 | DoubleLimb x = (DoubleLimb)a + b + carry_in; warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../limbs/limbs.inl:64:30: error: expected ',' or ';' before 'a' warning: ring@0.17.8: 64 | DoubleLimb x = (DoubleLimb)a + b + carry_in; warning: ring@0.17.8: | ^ warning: ring@0.17.8: In file included from crypto/fipsmodule/bn/montgomery.c:112: warning: ring@0.17.8: crypto/fipsmodule/bn/../../limbs/limbs.h:24:19: error: 'CRYPTO_WORD_BITS' undeclared (first use in this function) warning: ring@0.17.8: 24 | #define LIMB_BITS CRYPTO_WORD_BITS warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../limbs/limbs.inl:66:22: note: in expansion of macro 'LIMB_BITS' warning: ring@0.17.8: 66 | ret = (Carry)(x >> LIMB_BITS); warning: ring@0.17.8: | ^~~~~~~~~ warning: ring@0.17.8: In file included from crypto/fipsmodule/bn/montgomery.c:113: warning: ring@0.17.8: crypto/fipsmodule/bn/../../limbs/limbs.inl: In function 'limb_add': warning: ring@0.17.8: crypto/fipsmodule/bn/../../limbs/limbs.inl:78:3: error: unknown type name 'DoubleLimb' warning: ring@0.17.8: 78 | DoubleLimb x = (DoubleLimb)a + b; warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../limbs/limbs.inl:78:19: error: 'DoubleLimb' undeclared (first use in this function) warning: ring@0.17.8: 78 | DoubleLimb x = (DoubleLimb)a + b; warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../limbs/limbs.inl:78:30: error: expected ',' or ';' before 'a' warning: ring@0.17.8: 78 | DoubleLimb x = (DoubleLimb)a + b; warning: ring@0.17.8: | ^ warning: ring@0.17.8: In file included from crypto/fipsmodule/bn/montgomery.c:112: warning: ring@0.17.8: crypto/fipsmodule/bn/../../limbs/limbs.h:24:19: error: 'CRYPTO_WORD_BITS' undeclared (first use in this function) warning: ring@0.17.8: 24 | #define LIMB_BITS CRYPTO_WORD_BITS warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../limbs/limbs.inl:80:22: note: in expansion of macro 'LIMB_BITS' warning: ring@0.17.8: 80 | ret = (Carry)(x >> LIMB_BITS); warning: ring@0.17.8: | ^~~~~~~~~ warning: ring@0.17.8: In file included from crypto/fipsmodule/bn/montgomery.c:113: warning: ring@0.17.8: crypto/fipsmodule/bn/../../limbs/limbs.inl: In function 'limb_sbb': warning: ring@0.17.8: crypto/fipsmodule/bn/../../limbs/limbs.inl:94:3: error: unknown type name 'DoubleLimb' warning: ring@0.17.8: 94 | DoubleLimb x = (DoubleLimb)a - b - borrow_in; warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../limbs/limbs.inl:94:19: error: 'DoubleLimb' undeclared (first use in this function) warning: ring@0.17.8: 94 | DoubleLimb x = (DoubleLimb)a - b - borrow_in; warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../limbs/limbs.inl:94:30: error: expected ',' or ';' before 'a' warning: ring@0.17.8: 94 | DoubleLimb x = (DoubleLimb)a - b - borrow_in; warning: ring@0.17.8: | ^ warning: ring@0.17.8: In file included from crypto/fipsmodule/bn/montgomery.c:112: warning: ring@0.17.8: crypto/fipsmodule/bn/../../limbs/limbs.h:24:19: error: 'CRYPTO_WORD_BITS' undeclared (first use in this function) warning: ring@0.17.8: 24 | #define LIMB_BITS CRYPTO_WORD_BITS warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../limbs/limbs.inl:96:23: note: in expansion of macro 'LIMB_BITS' warning: ring@0.17.8: 96 | ret = (Carry)((x >> LIMB_BITS) & 1); warning: ring@0.17.8: | ^~~~~~~~~ warning: ring@0.17.8: In file included from crypto/fipsmodule/bn/montgomery.c:113: warning: ring@0.17.8: crypto/fipsmodule/bn/../../limbs/limbs.inl: In function 'limb_sub': warning: ring@0.17.8: crypto/fipsmodule/bn/../../limbs/limbs.inl:108:3: error: unknown type name 'DoubleLimb' warning: ring@0.17.8: 108 | DoubleLimb x = (DoubleLimb)a - b; warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../limbs/limbs.inl:108:19: error: 'DoubleLimb' undeclared (first use in this function) warning: ring@0.17.8: 108 | DoubleLimb x = (DoubleLimb)a - b; warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../limbs/limbs.inl:108:30: error: expected ',' or ';' before 'a' warning: ring@0.17.8: 108 | DoubleLimb x = (DoubleLimb)a - b; warning: ring@0.17.8: | ^ warning: ring@0.17.8: In file included from crypto/fipsmodule/bn/montgomery.c:112: warning: ring@0.17.8: crypto/fipsmodule/bn/../../limbs/limbs.h:24:19: error: 'CRYPTO_WORD_BITS' undeclared (first use in this function) warning: ring@0.17.8: 24 | #define LIMB_BITS CRYPTO_WORD_BITS warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../limbs/limbs.inl:110:23: note: in expansion of macro 'LIMB_BITS' warning: ring@0.17.8: 110 | ret = (Carry)((x >> LIMB_BITS) & 1); warning: ring@0.17.8: | ^~~~~~~~~ warning: ring@0.17.8: In file included from crypto/fipsmodule/bn/montgomery.c:113: warning: ring@0.17.8: crypto/fipsmodule/bn/../../limbs/limbs.inl: At top level: warning: ring@0.17.8: crypto/fipsmodule/bn/../../limbs/limbs.inl:145:33: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 145 | crypto_word_t index) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: In file included from include/ring-core/base.h:78, warning: ring@0.17.8: from crypto/fipsmodule/bn/internal.h:126, warning: ring@0.17.8: from crypto/fipsmodule/bn/montgomery.c:109: warning: ring@0.17.8: crypto/fipsmodule/bn/montgomery.c:115:23: error: 'BN_MONT_CTX_N0_LIMBS' undeclared here (not in a function) warning: ring@0.17.8: 115 | OPENSSL_STATIC_ASSERT(BN_MONT_CTX_N0_LIMBS == 1 || BN_MONT_CTX_N0_LIMBS == 2, warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~~~~~ warning: ring@0.17.8: include/ring-core/type_check.h:71:57: note: in definition of macro 'OPENSSL_STATIC_ASSERT' warning: ring@0.17.8: 71 | #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) warning: ring@0.17.8: | ^~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/montgomery.c:115:23: error: expression in static assertion is not an integer warning: ring@0.17.8: 115 | OPENSSL_STATIC_ASSERT(BN_MONT_CTX_N0_LIMBS == 1 || BN_MONT_CTX_N0_LIMBS == 2, warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~~~~~ warning: ring@0.17.8: include/ring-core/type_check.h:71:57: note: in definition of macro 'OPENSSL_STATIC_ASSERT' warning: ring@0.17.8: 71 | #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) warning: ring@0.17.8: | ^~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/montgomery.c:118:3: error: expression in static assertion is not an integer warning: ring@0.17.8: 118 | sizeof(BN_ULONG) * BN_MONT_CTX_N0_LIMBS == sizeof(uint64_t), warning: ring@0.17.8: | ^~~~~~ warning: ring@0.17.8: include/ring-core/type_check.h:71:57: note: in definition of macro 'OPENSSL_STATIC_ASSERT' warning: ring@0.17.8: 71 | #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) warning: ring@0.17.8: | ^~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/montgomery.c: In function 'ring_core_0_17_8_bn_from_montgomery_in_place': warning: ring@0.17.8: crypto/fipsmodule/bn/montgomery.c:152:10: warning: conversion to 'unsigned int' from 'BN_ULONG' {aka 'int'} may change the sign of the result [-Wsign-conversion] warning: ring@0.17.8: 152 | v = 0u - v; warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/bn/montgomery.c:152:7: warning: conversion to 'BN_ULONG' {aka 'int'} from 'unsigned int' may change the sign of the result [-Wsign-conversion] warning: ring@0.17.8: 152 | v = 0u - v; warning: ring@0.17.8: | ^~ warning: ring@0.17.8: crypto/fipsmodule/bn/montgomery.c:154:12: warning: implicit declaration of function 'constant_time_select_w' [-Wimplicit-function-declaration] warning: ring@0.17.8: 154 | r[i] = constant_time_select_w(v, a[i], r[i]); warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/montgomery.c:154:12: warning: nested extern declaration of 'constant_time_select_w' [-Wnested-externs] warning: ring@0.17.8: ToolExecError: Command "gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "include" "-I" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out" "-O2" "-I/usr/pkg/include" "-I/usr/include" "-fvisibility=hidden" "-std=c1x" "-Wall" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-g3" "-DNDEBUG" "-o" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out/ca8bd8684bb569fa-montgomery.o" "-c" "crypto/fipsmodule/bn/montgomery.c" with args gcc did not execute successfully (status code exit status: 1).cargo:warning=In file included from include/ring-core/base.h:74, warning: ring@0.17.8: from crypto/fipsmodule/bn/internal.h:126, warning: ring@0.17.8: from crypto/fipsmodule/bn/montgomery_inv.c:15: warning: ring@0.17.8: include/ring-core/target.h:64:2: error: #error "Unknown target CPU" warning: ring@0.17.8: 64 | #error "Unknown target CPU" warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: In file included from crypto/fipsmodule/bn/internal.h:135, warning: ring@0.17.8: from crypto/fipsmodule/bn/montgomery_inv.c:15: warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:219:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" warning: ring@0.17.8: 219 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:232:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:232:45: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:244:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:244:49: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:249:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:249:53: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:264:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:264:56: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:269:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:269:48: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:270:48: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 270 | crypto_word_t b) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:277:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:277:52: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:278:52: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 278 | crypto_word_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:279:52: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 279 | crypto_word_t b) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:291:46: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 291 | static inline uint8_t constant_time_select_8(crypto_word_t mask, uint8_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:308:59: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 308 | const crypto_word_t mask) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h: In function 'constant_time_conditional_memcpy': warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:313:14: warning: implicit declaration of function 'constant_time_select_8' [-Wimplicit-function-declaration] warning: ring@0.17.8: 313 | out[i] = constant_time_select_8(mask, in[i], out[i]); warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:313:14: warning: nested extern declaration of 'constant_time_select_8' [-Wnested-externs] warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h: At top level: warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:322:59: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 322 | const crypto_word_t mask) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h: In function 'constant_time_conditional_memxor': warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:327:15: warning: implicit declaration of function 'value_barrier_w' [-Wimplicit-function-declaration] warning: ring@0.17.8: 327 | out[i] ^= value_barrier_w(mask) & in[i]; warning: ring@0.17.8: | ^~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:327:15: warning: nested extern declaration of 'value_barrier_w' [-Wnested-externs] warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h: At top level: warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:359:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/../../internal.h:359:56: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: In file included from crypto/fipsmodule/bn/montgomery_inv.c:15: warning: ring@0.17.8: crypto/fipsmodule/bn/internal.h:137:9: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 137 | typedef crypto_word_t BN_ULONG; warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/internal.h:165:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" warning: ring@0.17.8: 165 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/internal.h: In function 'bn_umult_lohi': warning: ring@0.17.8: crypto/fipsmodule/bn/internal.h:191:3: error: unknown type name 'BN_ULLONG'; did you mean 'BN_ULONG'? warning: ring@0.17.8: 191 | BN_ULLONG result = (BN_ULLONG)a * b; warning: ring@0.17.8: | ^~~~~~~~~ warning: ring@0.17.8: | BN_ULONG warning: ring@0.17.8: crypto/fipsmodule/bn/internal.h:191:23: error: 'BN_ULLONG' undeclared (first use in this function); did you mean 'BN_ULONG'? warning: ring@0.17.8: 191 | BN_ULLONG result = (BN_ULLONG)a * b; warning: ring@0.17.8: | ^~~~~~~~~ warning: ring@0.17.8: | BN_ULONG warning: ring@0.17.8: crypto/fipsmodule/bn/internal.h:191:23: note: each undeclared identifier is reported only once for each function it appears in warning: ring@0.17.8: crypto/fipsmodule/bn/internal.h:191:33: error: expected ',' or ';' before 'a' warning: ring@0.17.8: 191 | BN_ULLONG result = (BN_ULLONG)a * b; warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/bn/internal.h:193:36: error: 'BN_BITS2' undeclared (first use in this function) warning: ring@0.17.8: 193 | *high_out = (BN_ULONG)(result >> BN_BITS2); warning: ring@0.17.8: | ^~~~~~~~ warning: ring@0.17.8: In file included from include/ring-core/base.h:78, warning: ring@0.17.8: from crypto/fipsmodule/bn/internal.h:126, warning: ring@0.17.8: from crypto/fipsmodule/bn/montgomery_inv.c:15: warning: ring@0.17.8: crypto/fipsmodule/bn/montgomery_inv.c: At top level: warning: ring@0.17.8: crypto/fipsmodule/bn/montgomery_inv.c:19:23: error: 'BN_MONT_CTX_N0_LIMBS' undeclared here (not in a function) warning: ring@0.17.8: 19 | OPENSSL_STATIC_ASSERT(BN_MONT_CTX_N0_LIMBS == 1 || BN_MONT_CTX_N0_LIMBS == 2, warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~~~~~ warning: ring@0.17.8: include/ring-core/type_check.h:71:57: note: in definition of macro 'OPENSSL_STATIC_ASSERT' warning: ring@0.17.8: 71 | #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) warning: ring@0.17.8: | ^~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/montgomery_inv.c:19:23: error: expression in static assertion is not an integer warning: ring@0.17.8: 19 | OPENSSL_STATIC_ASSERT(BN_MONT_CTX_N0_LIMBS == 1 || BN_MONT_CTX_N0_LIMBS == 2, warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~~~~~ warning: ring@0.17.8: include/ring-core/type_check.h:71:57: note: in definition of macro 'OPENSSL_STATIC_ASSERT' warning: ring@0.17.8: 71 | #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) warning: ring@0.17.8: | ^~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/montgomery_inv.c:21:23: error: expression in static assertion is not an integer warning: ring@0.17.8: 21 | OPENSSL_STATIC_ASSERT(sizeof(BN_ULONG) * BN_MONT_CTX_N0_LIMBS == sizeof(uint64_t), warning: ring@0.17.8: | ^~~~~~ warning: ring@0.17.8: include/ring-core/type_check.h:71:57: note: in definition of macro 'OPENSSL_STATIC_ASSERT' warning: ring@0.17.8: 71 | #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) warning: ring@0.17.8: | ^~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/montgomery_inv.c: In function 'ring_core_0_17_8_bn_neg_inv_mod_r_u64': warning: ring@0.17.8: crypto/fipsmodule/bn/montgomery_inv.c:25:45: error: 'BN_BITS2' undeclared (first use in this function) warning: ring@0.17.8: 25 | #define LG_LITTLE_R (BN_MONT_CTX_N0_LIMBS * BN_BITS2) warning: ring@0.17.8: | ^~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/montgomery_inv.c:53:49: note: in expansion of macro 'LG_LITTLE_R' warning: ring@0.17.8: 53 | static const uint64_t alpha = UINT64_C(1) << (LG_LITTLE_R - 1); warning: ring@0.17.8: | ^~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/montgomery_inv.c:63:5: warning: "BN_BITS2" is not defined, evaluates to 0 [-Wundef] warning: ring@0.17.8: 63 | #if BN_BITS2 == 64 && defined(BN_ULLONG) warning: ring@0.17.8: | ^~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/bn/montgomery_inv.c:100:5: warning: "BN_BITS2" is not defined, evaluates to 0 [-Wundef] warning: ring@0.17.8: 100 | #if BN_BITS2 == 64 && defined(BN_ULLONG) warning: ring@0.17.8: | ^~~~~~~~ warning: ring@0.17.8: ToolExecError: Command "gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "include" "-I" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out" "-O2" "-I/usr/pkg/include" "-I/usr/include" "-fvisibility=hidden" "-std=c1x" "-Wall" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-g3" "-DNDEBUG" "-o" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out/ca8bd8684bb569fa-montgomery_inv.o" "-c" "crypto/fipsmodule/bn/montgomery_inv.c" with args gcc did not execute successfully (status code exit status: 1).cargo:warning=In file included from include/ring-core/base.h:74, warning: ring@0.17.8: from crypto/fipsmodule/ec/ecp_nistz.h:18, warning: ring@0.17.8: from crypto/fipsmodule/ec/ecp_nistz.c:15: warning: ring@0.17.8: include/ring-core/target.h:64:2: error: #error "Unknown target CPU" warning: ring@0.17.8: 64 | #error "Unknown target CPU" warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/../../limbs/limbs.h:20, warning: ring@0.17.8: from crypto/fipsmodule/ec/ecp_nistz.h:20, warning: ring@0.17.8: from crypto/fipsmodule/ec/ecp_nistz.c:15: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:219:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" warning: ring@0.17.8: 219 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:232:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:232:45: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:244:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:244:49: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:249:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:249:53: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:264:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:264:56: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:269:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:269:48: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:270:48: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 270 | crypto_word_t b) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:277:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:277:52: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:278:52: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 278 | crypto_word_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:279:52: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 279 | crypto_word_t b) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:291:46: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 291 | static inline uint8_t constant_time_select_8(crypto_word_t mask, uint8_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:308:59: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 308 | const crypto_word_t mask) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h: In function 'constant_time_conditional_memcpy': warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:313:14: warning: implicit declaration of function 'constant_time_select_8' [-Wimplicit-function-declaration] warning: ring@0.17.8: 313 | out[i] = constant_time_select_8(mask, in[i], out[i]); warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:313:14: warning: nested extern declaration of 'constant_time_select_8' [-Wnested-externs] warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h: At top level: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:322:59: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 322 | const crypto_word_t mask) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h: In function 'constant_time_conditional_memxor': warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:327:15: warning: implicit declaration of function 'value_barrier_w' [-Wimplicit-function-declaration] warning: ring@0.17.8: 327 | out[i] ^= value_barrier_w(mask) & in[i]; warning: ring@0.17.8: | ^~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:327:15: warning: nested extern declaration of 'value_barrier_w' [-Wnested-externs] warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h: At top level: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:359:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:359:56: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/ecp_nistz.h:20, warning: ring@0.17.8: from crypto/fipsmodule/ec/ecp_nistz.c:15: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.h:22:9: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 22 | typedef crypto_word_t Limb; warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/ecp_nistz.c:15: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz.h:249:33: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 249 | static inline void booth_recode(crypto_word_t *is_negative, crypto_word_t *digit, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz.h:249:61: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 249 | static inline void booth_recode(crypto_word_t *is_negative, crypto_word_t *digit, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz.h:250:33: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 250 | crypto_word_t in, crypto_word_t w) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz.h:250:51: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 250 | crypto_word_t in, crypto_word_t w) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: ToolExecError: Command "gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "include" "-I" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out" "-O2" "-I/usr/pkg/include" "-I/usr/include" "-fvisibility=hidden" "-std=c1x" "-Wall" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-g3" "-DNDEBUG" "-o" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out/a9af75d892b04b75-ecp_nistz.o" "-c" "crypto/fipsmodule/ec/ecp_nistz.c" with args gcc did not execute successfully (status code exit status: 1).cargo:warning=In file included from include/ring-core/base.h:74, warning: ring@0.17.8: from crypto/fipsmodule/ec/./p256_shared.h:22, warning: ring@0.17.8: from crypto/fipsmodule/ec/gfp_p256.c:15: warning: ring@0.17.8: include/ring-core/target.h:64:2: error: #error "Unknown target CPU" warning: ring@0.17.8: 64 | #error "Unknown target CPU" warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/./../bn/internal.h:135, warning: ring@0.17.8: from crypto/fipsmodule/ec/./p256_shared.h:24, warning: ring@0.17.8: from crypto/fipsmodule/ec/gfp_p256.c:15: warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/../../internal.h:219:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" warning: ring@0.17.8: 219 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/../../internal.h:232:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/../../internal.h:232:45: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/../../internal.h:244:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/../../internal.h:244:49: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/../../internal.h:249:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/../../internal.h:249:53: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/../../internal.h:264:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/../../internal.h:264:56: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/../../internal.h:269:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/../../internal.h:269:48: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/../../internal.h:270:48: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 270 | crypto_word_t b) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/../../internal.h:277:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/../../internal.h:277:52: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/../../internal.h:278:52: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 278 | crypto_word_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/../../internal.h:279:52: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 279 | crypto_word_t b) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/../../internal.h:291:46: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 291 | static inline uint8_t constant_time_select_8(crypto_word_t mask, uint8_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/../../internal.h:308:59: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 308 | const crypto_word_t mask) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/../../internal.h: In function 'constant_time_conditional_memcpy': warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/../../internal.h:313:14: warning: implicit declaration of function 'constant_time_select_8' [-Wimplicit-function-declaration] warning: ring@0.17.8: 313 | out[i] = constant_time_select_8(mask, in[i], out[i]); warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/../../internal.h:313:14: warning: nested extern declaration of 'constant_time_select_8' [-Wnested-externs] warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/../../internal.h: At top level: warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/../../internal.h:322:59: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 322 | const crypto_word_t mask) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/../../internal.h: In function 'constant_time_conditional_memxor': warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/../../internal.h:327:15: warning: implicit declaration of function 'value_barrier_w' [-Wimplicit-function-declaration] warning: ring@0.17.8: 327 | out[i] ^= value_barrier_w(mask) & in[i]; warning: ring@0.17.8: | ^~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/../../internal.h:327:15: warning: nested extern declaration of 'value_barrier_w' [-Wnested-externs] warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/../../internal.h: At top level: warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/../../internal.h:359:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/../../internal.h:359:56: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/./p256_shared.h:24, warning: ring@0.17.8: from crypto/fipsmodule/ec/gfp_p256.c:15: warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/internal.h:137:9: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 137 | typedef crypto_word_t BN_ULONG; warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/internal.h:165:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" warning: ring@0.17.8: 165 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/internal.h: In function 'bn_umult_lohi': warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/internal.h:191:3: error: unknown type name 'BN_ULLONG'; did you mean 'BN_ULONG'? warning: ring@0.17.8: 191 | BN_ULLONG result = (BN_ULLONG)a * b; warning: ring@0.17.8: | ^~~~~~~~~ warning: ring@0.17.8: | BN_ULONG warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/internal.h:191:23: error: 'BN_ULLONG' undeclared (first use in this function); did you mean 'BN_ULONG'? warning: ring@0.17.8: 191 | BN_ULLONG result = (BN_ULLONG)a * b; warning: ring@0.17.8: | ^~~~~~~~~ warning: ring@0.17.8: | BN_ULONG warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/internal.h:191:23: note: each undeclared identifier is reported only once for each function it appears in warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/internal.h:191:33: error: expected ',' or ';' before 'a' warning: ring@0.17.8: 191 | BN_ULLONG result = (BN_ULLONG)a * b; warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/internal.h:193:36: error: 'BN_BITS2' undeclared (first use in this function) warning: ring@0.17.8: 193 | *high_out = (BN_ULONG)(result >> BN_BITS2); warning: ring@0.17.8: | ^~~~~~~~ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p256.c:15: warning: ring@0.17.8: crypto/fipsmodule/ec/./p256_shared.h: At top level: warning: ring@0.17.8: crypto/fipsmodule/ec/./p256_shared.h:40:27: error: 'BN_BITS2' undeclared here (not in a function) warning: ring@0.17.8: 40 | #define P256_LIMBS (256 / BN_BITS2) warning: ring@0.17.8: | ^~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/./p256_shared.h:45:14: note: in expansion of macro 'P256_LIMBS' warning: ring@0.17.8: 45 | BN_ULONG X[P256_LIMBS]; warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p256.c:17: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.h:22:9: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 22 | typedef crypto_word_t Limb; warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p256.c:36:3: warning: implicit declaration of function 'BN_MONT_CTX_N0' [-Wimplicit-function-declaration] warning: ring@0.17.8: 36 | BN_MONT_CTX_N0(0xccd1c8aa, 0xee00bc4f) warning: ring@0.17.8: | ^~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p256.c:36:3: error: initializer element is not constant warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p256.c:36:3: note: (near initialization for 'N_N0[0]') warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p256.c:39:38: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] warning: ring@0.17.8: 39 | void p256_scalar_mul_mont(ScalarMont r, const ScalarMont a, warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p256.c:39:58: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] warning: ring@0.17.8: 39 | void p256_scalar_mul_mont(ScalarMont r, const ScalarMont a, warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p256.c:40:48: warning: type defaults to 'int' in declaration of 'b' [-Wimplicit-int] warning: ring@0.17.8: 40 | const ScalarMont b) { warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p256.c: In function 'ring_core_0_17_8_p256_scalar_mul_mont': warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p256.c:42:15: warning: passing argument 1 of 'ring_core_0_17_8_bn_mul_mont' makes pointer from integer without a cast [-Wint-conversion] warning: ring@0.17.8: 42 | bn_mul_mont(r, a, b, N, N_N0, P256_LIMBS); warning: ring@0.17.8: | ^ warning: ring@0.17.8: | | warning: ring@0.17.8: | int warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/./p256_shared.h:24, warning: ring@0.17.8: from crypto/fipsmodule/ec/gfp_p256.c:15: warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/internal.h:183:28: note: expected 'BN_ULONG *' {aka 'int *'} but argument is of type 'int' warning: ring@0.17.8: 183 | void bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, warning: ring@0.17.8: | ~~~~~~~~~~^~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p256.c:42:18: warning: passing argument 2 of 'ring_core_0_17_8_bn_mul_mont' makes pointer from integer without a cast [-Wint-conversion] warning: ring@0.17.8: 42 | bn_mul_mont(r, a, b, N, N_N0, P256_LIMBS); warning: ring@0.17.8: | ^ warning: ring@0.17.8: | | warning: ring@0.17.8: | int warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/./p256_shared.h:24, warning: ring@0.17.8: from crypto/fipsmodule/ec/gfp_p256.c:15: warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/internal.h:183:48: note: expected 'const BN_ULONG *' {aka 'const int *'} but argument is of type 'int' warning: ring@0.17.8: 183 | void bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, warning: ring@0.17.8: | ~~~~~~~~~~~~~~~~^~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p256.c:42:21: warning: passing argument 3 of 'ring_core_0_17_8_bn_mul_mont' makes pointer from integer without a cast [-Wint-conversion] warning: ring@0.17.8: 42 | bn_mul_mont(r, a, b, N, N_N0, P256_LIMBS); warning: ring@0.17.8: | ^ warning: ring@0.17.8: | | warning: ring@0.17.8: | int warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/./p256_shared.h:24, warning: ring@0.17.8: from crypto/fipsmodule/ec/gfp_p256.c:15: warning: ring@0.17.8: crypto/fipsmodule/ec/./../bn/internal.h:183:68: note: expected 'const BN_ULONG *' {aka 'const int *'} but argument is of type 'int' warning: ring@0.17.8: 183 | void bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, warning: ring@0.17.8: | ~~~~~~~~~~~~~~~~^~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p256.c: At top level: warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p256.c:46:42: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] warning: ring@0.17.8: 46 | void p256_scalar_sqr_rep_mont(ScalarMont r, const ScalarMont a, Limb rep) { warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p256.c:46:62: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] warning: ring@0.17.8: 46 | void p256_scalar_sqr_rep_mont(ScalarMont r, const ScalarMont a, Limb rep) { warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p256.c:26:23: warning: 'N' defined but not used [-Wunused-variable] warning: ring@0.17.8: 26 | static const BN_ULONG N[P256_LIMBS] = { warning: ring@0.17.8: | ^ warning: ring@0.17.8: ToolExecError: Command "gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "include" "-I" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out" "-O2" "-I/usr/pkg/include" "-I/usr/include" "-fvisibility=hidden" "-std=c1x" "-Wall" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-g3" "-DNDEBUG" "-o" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out/a9af75d892b04b75-gfp_p256.o" "-c" "crypto/fipsmodule/ec/gfp_p256.c" with args gcc did not execute successfully (status code exit status: 1).cargo:warning=In file included from include/ring-core/base.h:74, warning: ring@0.17.8: from crypto/fipsmodule/ec/../../limbs/limbs.h:18, warning: ring@0.17.8: from crypto/fipsmodule/ec/gfp_p384.c:15: warning: ring@0.17.8: include/ring-core/target.h:64:2: error: #error "Unknown target CPU" warning: ring@0.17.8: 64 | #error "Unknown target CPU" warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/../../limbs/limbs.h:20, warning: ring@0.17.8: from crypto/fipsmodule/ec/gfp_p384.c:15: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:219:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" warning: ring@0.17.8: 219 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:232:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:232:45: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:244:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:244:49: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:249:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:249:53: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:264:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:264:56: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:269:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:269:48: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:270:48: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 270 | crypto_word_t b) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:277:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:277:52: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:278:52: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 278 | crypto_word_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:279:52: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 279 | crypto_word_t b) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:291:46: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 291 | static inline uint8_t constant_time_select_8(crypto_word_t mask, uint8_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:308:59: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 308 | const crypto_word_t mask) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h: In function 'constant_time_conditional_memcpy': warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:313:14: warning: implicit declaration of function 'constant_time_select_8' [-Wimplicit-function-declaration] warning: ring@0.17.8: 313 | out[i] = constant_time_select_8(mask, in[i], out[i]); warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:313:14: warning: nested extern declaration of 'constant_time_select_8' [-Wnested-externs] warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h: At top level: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:322:59: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 322 | const crypto_word_t mask) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h: In function 'constant_time_conditional_memxor': warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:327:15: warning: implicit declaration of function 'value_barrier_w' [-Wimplicit-function-declaration] warning: ring@0.17.8: 327 | out[i] ^= value_barrier_w(mask) & in[i]; warning: ring@0.17.8: | ^~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:327:15: warning: nested extern declaration of 'value_barrier_w' [-Wnested-externs] warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h: At top level: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:359:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:359:56: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:15: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.h:22:9: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 22 | typedef crypto_word_t Limb; warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.h:24:19: error: 'CRYPTO_WORD_BITS' undeclared here (not in a function) warning: ring@0.17.8: 24 | #define LIMB_BITS CRYPTO_WORD_BITS warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.h:20:28: note: in expansion of macro 'LIMB_BITS' warning: ring@0.17.8: 20 | #define P384_LIMBS (384u / LIMB_BITS) warning: ring@0.17.8: | ^~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.h:23:10: note: in expansion of macro 'P384_LIMBS' warning: ring@0.17.8: 23 | Limb X[P384_LIMBS]; warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:18: warning: ring@0.17.8: crypto/fipsmodule/ec/../bn/internal.h:137:9: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 137 | typedef crypto_word_t BN_ULONG; warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../bn/internal.h:165:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" warning: ring@0.17.8: 165 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../bn/internal.h: In function 'bn_umult_lohi': warning: ring@0.17.8: crypto/fipsmodule/ec/../bn/internal.h:191:3: error: unknown type name 'BN_ULLONG'; did you mean 'BN_ULONG'? warning: ring@0.17.8: 191 | BN_ULLONG result = (BN_ULLONG)a * b; warning: ring@0.17.8: | ^~~~~~~~~ warning: ring@0.17.8: | BN_ULONG warning: ring@0.17.8: crypto/fipsmodule/ec/../bn/internal.h:191:23: error: 'BN_ULLONG' undeclared (first use in this function); did you mean 'BN_ULONG'? warning: ring@0.17.8: 191 | BN_ULLONG result = (BN_ULLONG)a * b; warning: ring@0.17.8: | ^~~~~~~~~ warning: ring@0.17.8: | BN_ULONG warning: ring@0.17.8: crypto/fipsmodule/ec/../bn/internal.h:191:23: note: each undeclared identifier is reported only once for each function it appears in warning: ring@0.17.8: crypto/fipsmodule/ec/../bn/internal.h:191:33: error: expected ',' or ';' before 'a' warning: ring@0.17.8: 191 | BN_ULLONG result = (BN_ULLONG)a * b; warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/../bn/internal.h:193:36: error: 'BN_BITS2' undeclared (first use in this function) warning: ring@0.17.8: 193 | *high_out = (BN_ULONG)(result >> BN_BITS2); warning: ring@0.17.8: | ^~~~~~~~ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:15: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl: At top level: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.h:24:19: warning: "CRYPTO_WORD_BITS" is not defined, evaluates to 0 [-Wundef] warning: ring@0.17.8: 24 | #define LIMB_BITS CRYPTO_WORD_BITS warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:49:5: note: in expansion of macro 'LIMB_BITS' warning: ring@0.17.8: 49 | #if LIMB_BITS == 64 warning: ring@0.17.8: | ^~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.h:24:19: warning: "CRYPTO_WORD_BITS" is not defined, evaluates to 0 [-Wundef] warning: ring@0.17.8: 24 | #define LIMB_BITS CRYPTO_WORD_BITS warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:51:7: note: in expansion of macro 'LIMB_BITS' warning: ring@0.17.8: 51 | #elif LIMB_BITS == 32 warning: ring@0.17.8: | ^~~~~~~~~ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:21: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl: In function 'limb_adc': warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:64:3: error: unknown type name 'DoubleLimb' warning: ring@0.17.8: 64 | DoubleLimb x = (DoubleLimb)a + b + carry_in; warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:64:19: error: 'DoubleLimb' undeclared (first use in this function) warning: ring@0.17.8: 64 | DoubleLimb x = (DoubleLimb)a + b + carry_in; warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:64:30: error: expected ',' or ';' before 'a' warning: ring@0.17.8: 64 | DoubleLimb x = (DoubleLimb)a + b + carry_in; warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl: In function 'limb_add': warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:78:3: error: unknown type name 'DoubleLimb' warning: ring@0.17.8: 78 | DoubleLimb x = (DoubleLimb)a + b; warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:78:19: error: 'DoubleLimb' undeclared (first use in this function) warning: ring@0.17.8: 78 | DoubleLimb x = (DoubleLimb)a + b; warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:78:30: error: expected ',' or ';' before 'a' warning: ring@0.17.8: 78 | DoubleLimb x = (DoubleLimb)a + b; warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl: In function 'limb_sbb': warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:94:3: error: unknown type name 'DoubleLimb' warning: ring@0.17.8: 94 | DoubleLimb x = (DoubleLimb)a - b - borrow_in; warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:94:19: error: 'DoubleLimb' undeclared (first use in this function) warning: ring@0.17.8: 94 | DoubleLimb x = (DoubleLimb)a - b - borrow_in; warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:94:30: error: expected ',' or ';' before 'a' warning: ring@0.17.8: 94 | DoubleLimb x = (DoubleLimb)a - b - borrow_in; warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl: In function 'limb_sub': warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:108:3: error: unknown type name 'DoubleLimb' warning: ring@0.17.8: 108 | DoubleLimb x = (DoubleLimb)a - b; warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:108:19: error: 'DoubleLimb' undeclared (first use in this function) warning: ring@0.17.8: 108 | DoubleLimb x = (DoubleLimb)a - b; warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:108:30: error: expected ',' or ';' before 'a' warning: ring@0.17.8: 108 | DoubleLimb x = (DoubleLimb)a - b; warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl: At top level: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:145:33: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 145 | crypto_word_t index) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:60:19: warning: type defaults to 'int' in declaration of 'Q_PLUS_1_SHR_1' [-Wimplicit-int] warning: ring@0.17.8: 60 | static const Elem Q_PLUS_1_SHR_1 = { warning: ring@0.17.8: | ^~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:65:3: warning: signed conversion from 'unsigned int' to 'int' changes value from '2147483648' to '-2147483648' [-Wsign-conversion] warning: ring@0.17.8: 65 | 0x80000000, 0, 0x80000000, 0x7fffffff, 0xffffffff, 0xffffffff, 0xffffffff, warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:65:15: warning: excess elements in scalar initializer warning: ring@0.17.8: 65 | 0x80000000, 0, 0x80000000, 0x7fffffff, 0xffffffff, 0xffffffff, 0xffffffff, warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:65:15: note: (near initialization for 'Q_PLUS_1_SHR_1') warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:65:18: warning: excess elements in scalar initializer warning: ring@0.17.8: 65 | 0x80000000, 0, 0x80000000, 0x7fffffff, 0xffffffff, 0xffffffff, 0xffffffff, warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:65:18: note: (near initialization for 'Q_PLUS_1_SHR_1') warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:65:30: warning: excess elements in scalar initializer warning: ring@0.17.8: 65 | 0x80000000, 0, 0x80000000, 0x7fffffff, 0xffffffff, 0xffffffff, 0xffffffff, warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:65:30: note: (near initialization for 'Q_PLUS_1_SHR_1') warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:65:42: warning: excess elements in scalar initializer warning: ring@0.17.8: 65 | 0x80000000, 0, 0x80000000, 0x7fffffff, 0xffffffff, 0xffffffff, 0xffffffff, warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:65:42: note: (near initialization for 'Q_PLUS_1_SHR_1') warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:65:54: warning: excess elements in scalar initializer warning: ring@0.17.8: 65 | 0x80000000, 0, 0x80000000, 0x7fffffff, 0xffffffff, 0xffffffff, 0xffffffff, warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:65:54: note: (near initialization for 'Q_PLUS_1_SHR_1') warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:65:66: warning: excess elements in scalar initializer warning: ring@0.17.8: 65 | 0x80000000, 0, 0x80000000, 0x7fffffff, 0xffffffff, 0xffffffff, 0xffffffff, warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:65:66: note: (near initialization for 'Q_PLUS_1_SHR_1') warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:66:3: warning: excess elements in scalar initializer warning: ring@0.17.8: 66 | 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x7fffffff warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:66:3: note: (near initialization for 'Q_PLUS_1_SHR_1') warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:66:15: warning: excess elements in scalar initializer warning: ring@0.17.8: 66 | 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x7fffffff warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:66:15: note: (near initialization for 'Q_PLUS_1_SHR_1') warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:66:27: warning: excess elements in scalar initializer warning: ring@0.17.8: 66 | 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x7fffffff warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:66:27: note: (near initialization for 'Q_PLUS_1_SHR_1') warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:66:39: warning: excess elements in scalar initializer warning: ring@0.17.8: 66 | 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x7fffffff warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:66:39: note: (near initialization for 'Q_PLUS_1_SHR_1') warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:66:51: warning: excess elements in scalar initializer warning: ring@0.17.8: 66 | 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x7fffffff warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:66:51: note: (near initialization for 'Q_PLUS_1_SHR_1') warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:71:3: warning: implicit declaration of function 'BN_MONT_CTX_N0' [-Wimplicit-function-declaration] warning: ring@0.17.8: 71 | BN_MONT_CTX_N0(1, 1) warning: ring@0.17.8: | ^~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:71:3: error: initializer element is not constant warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:71:3: note: (near initialization for 'Q_N0[0]') warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:75:3: error: initializer element is not constant warning: ring@0.17.8: 75 | BN_MONT_CTX_N0(0x6ed46089, 0xe88fdc45) warning: ring@0.17.8: | ^~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:75:3: note: (near initialization for 'N_N0[0]') warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:86:40: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] warning: ring@0.17.8: 86 | static inline Limb is_equal(const Elem a, const Elem b) { warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:86:54: warning: type defaults to 'int' in declaration of 'b' [-Wimplicit-int] warning: ring@0.17.8: 86 | static inline Limb is_equal(const Elem a, const Elem b) { warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c: In function 'is_equal': warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:87:22: warning: passing argument 1 of 'ring_core_0_17_8_LIMBS_equal' makes pointer from integer without a cast [-Wint-conversion] warning: ring@0.17.8: 87 | return LIMBS_equal(a, b, P384_LIMBS); warning: ring@0.17.8: | ^ warning: ring@0.17.8: | | warning: ring@0.17.8: | int warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:15: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.h:30:29: note: expected 'const Limb *' {aka 'const int *'} but argument is of type 'int' warning: ring@0.17.8: 30 | Limb LIMBS_equal(const Limb a[], const Limb b[], size_t num_limbs); warning: ring@0.17.8: | ~~~~~~~~~~~^~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:87:25: warning: passing argument 2 of 'ring_core_0_17_8_LIMBS_equal' makes pointer from integer without a cast [-Wint-conversion] warning: ring@0.17.8: 87 | return LIMBS_equal(a, b, P384_LIMBS); warning: ring@0.17.8: | ^ warning: ring@0.17.8: | | warning: ring@0.17.8: | int warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:15: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.h:30:45: note: expected 'const Limb *' {aka 'const int *'} but argument is of type 'int' warning: ring@0.17.8: 30 | Limb LIMBS_equal(const Limb a[], const Limb b[], size_t num_limbs); warning: ring@0.17.8: | ~~~~~~~~~~~^~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c: At top level: warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:94:42: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] warning: ring@0.17.8: 94 | static inline void copy_conditional(Elem r, const Elem a, warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:94:56: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] warning: ring@0.17.8: 94 | static inline void copy_conditional(Elem r, const Elem a, warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c: In function 'copy_conditional': warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:97:6: error: subscripted value is neither array nor pointer nor vector warning: ring@0.17.8: 97 | r[i] = constant_time_select_w(condition, a[i], r[i]); warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:97:12: warning: implicit declaration of function 'constant_time_select_w' [-Wimplicit-function-declaration] warning: ring@0.17.8: 97 | r[i] = constant_time_select_w(condition, a[i], r[i]); warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:97:12: warning: nested extern declaration of 'constant_time_select_w' [-Wnested-externs] warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:97:47: error: subscripted value is neither array nor pointer nor vector warning: ring@0.17.8: 97 | r[i] = constant_time_select_w(condition, a[i], r[i]); warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:97:53: error: subscripted value is neither array nor pointer nor vector warning: ring@0.17.8: 97 | r[i] = constant_time_select_w(condition, a[i], r[i]); warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c: At top level: warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:102:34: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] warning: ring@0.17.8: 102 | static inline void elem_add(Elem r, const Elem a, const Elem b) { warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:102:48: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] warning: ring@0.17.8: 102 | static inline void elem_add(Elem r, const Elem a, const Elem b) { warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:102:62: warning: type defaults to 'int' in declaration of 'b' [-Wimplicit-int] warning: ring@0.17.8: 102 | static inline void elem_add(Elem r, const Elem a, const Elem b) { warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c: In function 'elem_add': warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:103:17: warning: passing argument 1 of 'ring_core_0_17_8_LIMBS_add_mod' makes pointer from integer without a cast [-Wint-conversion] warning: ring@0.17.8: 103 | LIMBS_add_mod(r, a, b, Q, P384_LIMBS); warning: ring@0.17.8: | ^ warning: ring@0.17.8: | | warning: ring@0.17.8: | int warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:15: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.h:33:25: note: expected 'Limb *' {aka 'int *'} but argument is of type 'int' warning: ring@0.17.8: 33 | void LIMBS_add_mod(Limb r[], const Limb a[], const Limb b[], const Limb m[], warning: ring@0.17.8: | ~~~~~^~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:103:20: warning: passing argument 2 of 'ring_core_0_17_8_LIMBS_add_mod' makes pointer from integer without a cast [-Wint-conversion] warning: ring@0.17.8: 103 | LIMBS_add_mod(r, a, b, Q, P384_LIMBS); warning: ring@0.17.8: | ^ warning: ring@0.17.8: | | warning: ring@0.17.8: | int warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:15: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.h:33:41: note: expected 'const Limb *' {aka 'const int *'} but argument is of type 'int' warning: ring@0.17.8: 33 | void LIMBS_add_mod(Limb r[], const Limb a[], const Limb b[], const Limb m[], warning: ring@0.17.8: | ~~~~~~~~~~~^~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:103:23: warning: passing argument 3 of 'ring_core_0_17_8_LIMBS_add_mod' makes pointer from integer without a cast [-Wint-conversion] warning: ring@0.17.8: 103 | LIMBS_add_mod(r, a, b, Q, P384_LIMBS); warning: ring@0.17.8: | ^ warning: ring@0.17.8: | | warning: ring@0.17.8: | int warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:15: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.h:33:57: note: expected 'const Limb *' {aka 'const int *'} but argument is of type 'int' warning: ring@0.17.8: 33 | void LIMBS_add_mod(Limb r[], const Limb a[], const Limb b[], const Limb m[], warning: ring@0.17.8: | ~~~~~~~~~~~^~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c: At top level: warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:106:34: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] warning: ring@0.17.8: 106 | static inline void elem_sub(Elem r, const Elem a, const Elem b) { warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:106:48: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] warning: ring@0.17.8: 106 | static inline void elem_sub(Elem r, const Elem a, const Elem b) { warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:106:62: warning: type defaults to 'int' in declaration of 'b' [-Wimplicit-int] warning: ring@0.17.8: 106 | static inline void elem_sub(Elem r, const Elem a, const Elem b) { warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c: In function 'elem_sub': warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:107:17: warning: passing argument 1 of 'ring_core_0_17_8_LIMBS_sub_mod' makes pointer from integer without a cast [-Wint-conversion] warning: ring@0.17.8: 107 | LIMBS_sub_mod(r, a, b, Q, P384_LIMBS); warning: ring@0.17.8: | ^ warning: ring@0.17.8: | | warning: ring@0.17.8: | int warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:15: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.h:35:25: note: expected 'Limb *' {aka 'int *'} but argument is of type 'int' warning: ring@0.17.8: 35 | void LIMBS_sub_mod(Limb r[], const Limb a[], const Limb b[], const Limb m[], warning: ring@0.17.8: | ~~~~~^~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:107:20: warning: passing argument 2 of 'ring_core_0_17_8_LIMBS_sub_mod' makes pointer from integer without a cast [-Wint-conversion] warning: ring@0.17.8: 107 | LIMBS_sub_mod(r, a, b, Q, P384_LIMBS); warning: ring@0.17.8: | ^ warning: ring@0.17.8: | | warning: ring@0.17.8: | int warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:15: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.h:35:41: note: expected 'const Limb *' {aka 'const int *'} but argument is of type 'int' warning: ring@0.17.8: 35 | void LIMBS_sub_mod(Limb r[], const Limb a[], const Limb b[], const Limb m[], warning: ring@0.17.8: | ~~~~~~~~~~~^~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:107:23: warning: passing argument 3 of 'ring_core_0_17_8_LIMBS_sub_mod' makes pointer from integer without a cast [-Wint-conversion] warning: ring@0.17.8: 107 | LIMBS_sub_mod(r, a, b, Q, P384_LIMBS); warning: ring@0.17.8: | ^ warning: ring@0.17.8: | | warning: ring@0.17.8: | int warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:15: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.h:35:57: note: expected 'const Limb *' {aka 'const int *'} but argument is of type 'int' warning: ring@0.17.8: 35 | void LIMBS_sub_mod(Limb r[], const Limb a[], const Limb b[], const Limb m[], warning: ring@0.17.8: | ~~~~~~~~~~~^~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c: At top level: warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:110:32: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] warning: ring@0.17.8: 110 | static void elem_div_by_2(Elem r, const Elem a) { warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:110:46: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] warning: ring@0.17.8: 110 | static void elem_div_by_2(Elem r, const Elem a) { warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c: In function 'elem_div_by_2': warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:152:17: warning: implicit declaration of function 'constant_time_is_nonzero_w' [-Wimplicit-function-declaration] warning: ring@0.17.8: 152 | Limb is_odd = constant_time_is_nonzero_w(a[0] & 1); warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:152:17: warning: nested extern declaration of 'constant_time_is_nonzero_w' [-Wnested-externs] warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:152:45: error: subscripted value is neither array nor pointer nor vector warning: ring@0.17.8: 152 | Limb is_odd = constant_time_is_nonzero_w(a[0] & 1); warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:164:8: warning: type defaults to 'int' in declaration of 'adjusted' [-Wimplicit-int] warning: ring@0.17.8: 164 | Elem adjusted; warning: ring@0.17.8: | ^~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:165:31: warning: passing argument 1 of 'limbs_add' makes pointer from integer without a cast [-Wint-conversion] warning: ring@0.17.8: 165 | BN_ULONG carry2 = limbs_add(adjusted, r, Q_PLUS_1_SHR_1, P384_LIMBS); warning: ring@0.17.8: | ^~~~~~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | int warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:21: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:116:36: note: expected 'Limb *' {aka 'int *'} but argument is of type 'int' warning: ring@0.17.8: 116 | static inline Carry limbs_add(Limb r[], const Limb a[], const Limb b[], warning: ring@0.17.8: | ~~~~~^~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:165:41: warning: passing argument 2 of 'limbs_add' makes pointer from integer without a cast [-Wint-conversion] warning: ring@0.17.8: 165 | BN_ULONG carry2 = limbs_add(adjusted, r, Q_PLUS_1_SHR_1, P384_LIMBS); warning: ring@0.17.8: | ^ warning: ring@0.17.8: | | warning: ring@0.17.8: | int warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:21: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:116:52: note: expected 'const Limb *' {aka 'const int *'} but argument is of type 'int' warning: ring@0.17.8: 116 | static inline Carry limbs_add(Limb r[], const Limb a[], const Limb b[], warning: ring@0.17.8: | ~~~~~~~~~~~^~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:165:44: warning: passing argument 3 of 'limbs_add' makes pointer from integer without a cast [-Wint-conversion] warning: ring@0.17.8: 165 | BN_ULONG carry2 = limbs_add(adjusted, r, Q_PLUS_1_SHR_1, P384_LIMBS); warning: ring@0.17.8: | ^~~~~~~~~~~~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | int warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:21: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:116:68: note: expected 'const Limb *' {aka 'const int *'} but argument is of type 'int' warning: ring@0.17.8: 116 | static inline Carry limbs_add(Limb r[], const Limb a[], const Limb b[], warning: ring@0.17.8: | ~~~~~~~~~~~^~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c: At top level: warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:171:39: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] warning: ring@0.17.8: 171 | static inline void elem_mul_mont(Elem r, const Elem a, const Elem b) { warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:171:53: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] warning: ring@0.17.8: 171 | static inline void elem_mul_mont(Elem r, const Elem a, const Elem b) { warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:171:67: warning: type defaults to 'int' in declaration of 'b' [-Wimplicit-int] warning: ring@0.17.8: 171 | static inline void elem_mul_mont(Elem r, const Elem a, const Elem b) { warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c: In function 'elem_mul_mont': warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:173:15: warning: passing argument 1 of 'ring_core_0_17_8_bn_mul_mont' makes pointer from integer without a cast [-Wint-conversion] warning: ring@0.17.8: 173 | bn_mul_mont(r, a, b, Q, Q_N0, P384_LIMBS); warning: ring@0.17.8: | ^ warning: ring@0.17.8: | | warning: ring@0.17.8: | int warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:18: warning: ring@0.17.8: crypto/fipsmodule/ec/../bn/internal.h:183:28: note: expected 'BN_ULONG *' {aka 'int *'} but argument is of type 'int' warning: ring@0.17.8: 183 | void bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, warning: ring@0.17.8: | ~~~~~~~~~~^~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:173:18: warning: passing argument 2 of 'ring_core_0_17_8_bn_mul_mont' makes pointer from integer without a cast [-Wint-conversion] warning: ring@0.17.8: 173 | bn_mul_mont(r, a, b, Q, Q_N0, P384_LIMBS); warning: ring@0.17.8: | ^ warning: ring@0.17.8: | | warning: ring@0.17.8: | int warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:18: warning: ring@0.17.8: crypto/fipsmodule/ec/../bn/internal.h:183:48: note: expected 'const BN_ULONG *' {aka 'const int *'} but argument is of type 'int' warning: ring@0.17.8: 183 | void bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, warning: ring@0.17.8: | ~~~~~~~~~~~~~~~~^~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:173:21: warning: passing argument 3 of 'ring_core_0_17_8_bn_mul_mont' makes pointer from integer without a cast [-Wint-conversion] warning: ring@0.17.8: 173 | bn_mul_mont(r, a, b, Q, Q_N0, P384_LIMBS); warning: ring@0.17.8: | ^ warning: ring@0.17.8: | | warning: ring@0.17.8: | int warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:18: warning: ring@0.17.8: crypto/fipsmodule/ec/../bn/internal.h:183:68: note: expected 'const BN_ULONG *' {aka 'const int *'} but argument is of type 'int' warning: ring@0.17.8: 183 | void bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, warning: ring@0.17.8: | ~~~~~~~~~~~~~~~~^~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c: At top level: warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:176:39: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] warning: ring@0.17.8: 176 | static inline void elem_mul_by_2(Elem r, const Elem a) { warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:176:53: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] warning: ring@0.17.8: 176 | static inline void elem_mul_by_2(Elem r, const Elem a) { warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c: In function 'elem_mul_by_2': warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:177:17: warning: passing argument 1 of 'ring_core_0_17_8_LIMBS_shl_mod' makes pointer from integer without a cast [-Wint-conversion] warning: ring@0.17.8: 177 | LIMBS_shl_mod(r, a, Q, P384_LIMBS); warning: ring@0.17.8: | ^ warning: ring@0.17.8: | | warning: ring@0.17.8: | int warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:15: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.h:37:25: note: expected 'Limb *' {aka 'int *'} but argument is of type 'int' warning: ring@0.17.8: 37 | void LIMBS_shl_mod(Limb r[], const Limb a[], const Limb m[], size_t num_limbs); warning: ring@0.17.8: | ~~~~~^~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:177:20: warning: passing argument 2 of 'ring_core_0_17_8_LIMBS_shl_mod' makes pointer from integer without a cast [-Wint-conversion] warning: ring@0.17.8: 177 | LIMBS_shl_mod(r, a, Q, P384_LIMBS); warning: ring@0.17.8: | ^ warning: ring@0.17.8: | | warning: ring@0.17.8: | int warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:15: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.h:37:41: note: expected 'const Limb *' {aka 'const int *'} but argument is of type 'int' warning: ring@0.17.8: 37 | void LIMBS_shl_mod(Limb r[], const Limb a[], const Limb m[], size_t num_limbs); warning: ring@0.17.8: | ~~~~~~~~~~~^~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c: At top level: warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:180:51: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] warning: ring@0.17.8: 180 | static INLINE_IF_POSSIBLE void elem_mul_by_3(Elem r, const Elem a) { warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:180:65: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] warning: ring@0.17.8: 180 | static INLINE_IF_POSSIBLE void elem_mul_by_3(Elem r, const Elem a) { warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c: In function 'elem_mul_by_3': warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:182:8: warning: type defaults to 'int' in declaration of 'doubled' [-Wimplicit-int] warning: ring@0.17.8: 182 | Elem doubled; warning: ring@0.17.8: | ^~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c: At top level: warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:187:39: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] warning: ring@0.17.8: 187 | static inline void elem_sqr_mont(Elem r, const Elem a) { warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:187:53: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] warning: ring@0.17.8: 187 | static inline void elem_sqr_mont(Elem r, const Elem a) { warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:192:25: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] warning: ring@0.17.8: 192 | void p384_elem_sub(Elem r, const Elem a, const Elem b) { warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:192:39: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] warning: ring@0.17.8: 192 | void p384_elem_sub(Elem r, const Elem a, const Elem b) { warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:192:53: warning: type defaults to 'int' in declaration of 'b' [-Wimplicit-int] warning: ring@0.17.8: 192 | void p384_elem_sub(Elem r, const Elem a, const Elem b) { warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:196:30: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] warning: ring@0.17.8: 196 | void p384_elem_div_by_2(Elem r, const Elem a) { warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:196:44: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] warning: ring@0.17.8: 196 | void p384_elem_div_by_2(Elem r, const Elem a) { warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:200:30: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] warning: ring@0.17.8: 200 | void p384_elem_mul_mont(Elem r, const Elem a, const Elem b) { warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:200:44: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] warning: ring@0.17.8: 200 | void p384_elem_mul_mont(Elem r, const Elem a, const Elem b) { warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:200:58: warning: type defaults to 'int' in declaration of 'b' [-Wimplicit-int] warning: ring@0.17.8: 200 | void p384_elem_mul_mont(Elem r, const Elem a, const Elem b) { warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:204:25: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] warning: ring@0.17.8: 204 | void p384_elem_neg(Elem r, const Elem a) { warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:204:39: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] warning: ring@0.17.8: 204 | void p384_elem_neg(Elem r, const Elem a) { warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c: In function 'ring_core_0_17_8_p384_elem_neg': warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:205:33: warning: passing argument 1 of 'ring_core_0_17_8_LIMBS_are_zero' makes pointer from integer without a cast [-Wint-conversion] warning: ring@0.17.8: 205 | Limb is_zero = LIMBS_are_zero(a, P384_LIMBS); warning: ring@0.17.8: | ^ warning: ring@0.17.8: | | warning: ring@0.17.8: | int warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:15: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.h:28:32: note: expected 'const Limb *' {aka 'const int *'} but argument is of type 'int' warning: ring@0.17.8: 28 | Limb LIMBS_are_zero(const Limb a[], size_t num_limbs); warning: ring@0.17.8: | ~~~~~~~~~~~^~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:206:28: warning: passing argument 1 of 'limbs_sub' makes pointer from integer without a cast [-Wint-conversion] warning: ring@0.17.8: 206 | Carry borrow = limbs_sub(r, Q, a, P384_LIMBS); warning: ring@0.17.8: | ^ warning: ring@0.17.8: | | warning: ring@0.17.8: | int warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:21: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:127:36: note: expected 'Limb *' {aka 'int *'} but argument is of type 'int' warning: ring@0.17.8: 127 | static inline Carry limbs_sub(Limb r[], const Limb a[], const Limb b[], warning: ring@0.17.8: | ~~~~~^~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:206:34: warning: passing argument 3 of 'limbs_sub' makes pointer from integer without a cast [-Wint-conversion] warning: ring@0.17.8: 206 | Carry borrow = limbs_sub(r, Q, a, P384_LIMBS); warning: ring@0.17.8: | ^ warning: ring@0.17.8: | | warning: ring@0.17.8: | int warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:21: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:127:68: note: expected 'const Limb *' {aka 'const int *'} but argument is of type 'int' warning: ring@0.17.8: 127 | static inline Carry limbs_sub(Limb r[], const Limb a[], const Limb b[], warning: ring@0.17.8: | ~~~~~~~~~~~^~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:210:6: error: subscripted value is neither array nor pointer nor vector warning: ring@0.17.8: 210 | r[i] = constant_time_select_w(is_zero, 0, r[i]); warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:210:48: error: subscripted value is neither array nor pointer nor vector warning: ring@0.17.8: 210 | r[i] = constant_time_select_w(is_zero, 0, r[i]); warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c: At top level: warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:215:38: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] warning: ring@0.17.8: 215 | void p384_scalar_mul_mont(ScalarMont r, const ScalarMont a, warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:215:58: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] warning: ring@0.17.8: 215 | void p384_scalar_mul_mont(ScalarMont r, const ScalarMont a, warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:216:48: warning: type defaults to 'int' in declaration of 'b' [-Wimplicit-int] warning: ring@0.17.8: 216 | const ScalarMont b) { warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c: In function 'ring_core_0_17_8_p384_scalar_mul_mont': warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:218:15: warning: passing argument 1 of 'ring_core_0_17_8_bn_mul_mont' makes pointer from integer without a cast [-Wint-conversion] warning: ring@0.17.8: 218 | bn_mul_mont(r, a, b, N, N_N0, P384_LIMBS); warning: ring@0.17.8: | ^ warning: ring@0.17.8: | | warning: ring@0.17.8: | int warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:18: warning: ring@0.17.8: crypto/fipsmodule/ec/../bn/internal.h:183:28: note: expected 'BN_ULONG *' {aka 'int *'} but argument is of type 'int' warning: ring@0.17.8: 183 | void bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, warning: ring@0.17.8: | ~~~~~~~~~~^~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:218:18: warning: passing argument 2 of 'ring_core_0_17_8_bn_mul_mont' makes pointer from integer without a cast [-Wint-conversion] warning: ring@0.17.8: 218 | bn_mul_mont(r, a, b, N, N_N0, P384_LIMBS); warning: ring@0.17.8: | ^ warning: ring@0.17.8: | | warning: ring@0.17.8: | int warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:18: warning: ring@0.17.8: crypto/fipsmodule/ec/../bn/internal.h:183:48: note: expected 'const BN_ULONG *' {aka 'const int *'} but argument is of type 'int' warning: ring@0.17.8: 183 | void bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, warning: ring@0.17.8: | ~~~~~~~~~~~~~~~~^~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:218:21: warning: passing argument 3 of 'ring_core_0_17_8_bn_mul_mont' makes pointer from integer without a cast [-Wint-conversion] warning: ring@0.17.8: 218 | bn_mul_mont(r, a, b, N, N_N0, P384_LIMBS); warning: ring@0.17.8: | ^ warning: ring@0.17.8: | | warning: ring@0.17.8: | int warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:18: warning: ring@0.17.8: crypto/fipsmodule/ec/../bn/internal.h:183:68: note: expected 'const BN_ULONG *' {aka 'const int *'} but argument is of type 'int' warning: ring@0.17.8: 183 | void bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, warning: ring@0.17.8: | ~~~~~~~~~~~~~~~~^~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c: In function 'p384_point_select_w5': warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:226:8: warning: type defaults to 'int' in declaration of 'x' [-Wimplicit-int] warning: ring@0.17.8: 226 | Elem x; limbs_zero(x, P384_LIMBS); warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:226:22: warning: passing argument 1 of 'limbs_zero' makes pointer from integer without a cast [-Wint-conversion] warning: ring@0.17.8: 226 | Elem x; limbs_zero(x, P384_LIMBS); warning: ring@0.17.8: | ^ warning: ring@0.17.8: | | warning: ring@0.17.8: | int warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:21: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:158:36: note: expected 'Limb *' {aka 'int *'} but argument is of type 'int' warning: ring@0.17.8: 158 | static inline void limbs_zero(Limb r[], size_t num_limbs) { warning: ring@0.17.8: | ~~~~~^~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:227:8: warning: type defaults to 'int' in declaration of 'y' [-Wimplicit-int] warning: ring@0.17.8: 227 | Elem y; limbs_zero(y, P384_LIMBS); warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:227:22: warning: passing argument 1 of 'limbs_zero' makes pointer from integer without a cast [-Wint-conversion] warning: ring@0.17.8: 227 | Elem y; limbs_zero(y, P384_LIMBS); warning: ring@0.17.8: | ^ warning: ring@0.17.8: | | warning: ring@0.17.8: | int warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:21: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:158:36: note: expected 'Limb *' {aka 'int *'} but argument is of type 'int' warning: ring@0.17.8: 158 | static inline void limbs_zero(Limb r[], size_t num_limbs) { warning: ring@0.17.8: | ~~~~~^~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:228:8: warning: type defaults to 'int' in declaration of 'z' [-Wimplicit-int] warning: ring@0.17.8: 228 | Elem z; limbs_zero(z, P384_LIMBS); warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:228:22: warning: passing argument 1 of 'limbs_zero' makes pointer from integer without a cast [-Wint-conversion] warning: ring@0.17.8: 228 | Elem z; limbs_zero(z, P384_LIMBS); warning: ring@0.17.8: | ^ warning: ring@0.17.8: | | warning: ring@0.17.8: | int warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:21: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:158:36: note: expected 'Limb *' {aka 'int *'} but argument is of type 'int' warning: ring@0.17.8: 158 | static inline void limbs_zero(Limb r[], size_t num_limbs) { warning: ring@0.17.8: | ~~~~~^~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:232:5: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 232 | crypto_word_t equal = constant_time_eq_w(index, (crypto_word_t)i + 1); warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:232:27: warning: implicit declaration of function 'constant_time_eq_w' [-Wimplicit-function-declaration] warning: ring@0.17.8: 232 | crypto_word_t equal = constant_time_eq_w(index, (crypto_word_t)i + 1); warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:232:27: warning: nested extern declaration of 'constant_time_eq_w' [-Wnested-externs] warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:232:54: error: 'crypto_word_t' undeclared (first use in this function) warning: ring@0.17.8: 232 | crypto_word_t equal = constant_time_eq_w(index, (crypto_word_t)i + 1); warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:232:68: error: expected ')' before 'i' warning: ring@0.17.8: 232 | crypto_word_t equal = constant_time_eq_w(index, (crypto_word_t)i + 1); warning: ring@0.17.8: | ^ warning: ring@0.17.8: | ) warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:234:8: error: subscripted value is neither array nor pointer nor vector warning: ring@0.17.8: 234 | x[j] = constant_time_select_w(equal, table[i].X[j], x[j]); warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:234:60: error: subscripted value is neither array nor pointer nor vector warning: ring@0.17.8: 234 | x[j] = constant_time_select_w(equal, table[i].X[j], x[j]); warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:235:8: error: subscripted value is neither array nor pointer nor vector warning: ring@0.17.8: 235 | y[j] = constant_time_select_w(equal, table[i].Y[j], y[j]); warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:235:60: error: subscripted value is neither array nor pointer nor vector warning: ring@0.17.8: 235 | y[j] = constant_time_select_w(equal, table[i].Y[j], y[j]); warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:236:8: error: subscripted value is neither array nor pointer nor vector warning: ring@0.17.8: 236 | z[j] = constant_time_select_w(equal, table[i].Z[j], z[j]); warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:236:60: error: subscripted value is neither array nor pointer nor vector warning: ring@0.17.8: 236 | z[j] = constant_time_select_w(equal, table[i].Z[j], z[j]); warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:240:22: warning: passing argument 2 of 'limbs_copy' makes pointer from integer without a cast [-Wint-conversion] warning: ring@0.17.8: 240 | limbs_copy(out->X, x, P384_LIMBS); warning: ring@0.17.8: | ^ warning: ring@0.17.8: | | warning: ring@0.17.8: | int warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:21: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:137:52: note: expected 'const Limb *' {aka 'const int *'} but argument is of type 'int' warning: ring@0.17.8: 137 | static inline void limbs_copy(Limb r[], const Limb a[], size_t num_limbs) { warning: ring@0.17.8: | ~~~~~~~~~~~^~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:241:22: warning: passing argument 2 of 'limbs_copy' makes pointer from integer without a cast [-Wint-conversion] warning: ring@0.17.8: 241 | limbs_copy(out->Y, y, P384_LIMBS); warning: ring@0.17.8: | ^ warning: ring@0.17.8: | | warning: ring@0.17.8: | int warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:21: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:137:52: note: expected 'const Limb *' {aka 'const int *'} but argument is of type 'int' warning: ring@0.17.8: 137 | static inline void limbs_copy(Limb r[], const Limb a[], size_t num_limbs) { warning: ring@0.17.8: | ~~~~~~~~~~~^~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:242:22: warning: passing argument 2 of 'limbs_copy' makes pointer from integer without a cast [-Wint-conversion] warning: ring@0.17.8: 242 | limbs_copy(out->Z, z, P384_LIMBS); warning: ring@0.17.8: | ^ warning: ring@0.17.8: | | warning: ring@0.17.8: | int warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:21: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:137:52: note: expected 'const Limb *' {aka 'const int *'} but argument is of type 'int' warning: ring@0.17.8: 137 | static inline void limbs_copy(Limb r[], const Limb a[], size_t num_limbs) { warning: ring@0.17.8: | ~~~~~~~~~~~^~~ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/ecp_nistz384.inl:24, warning: ring@0.17.8: from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz.h: At top level: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz.h:249:33: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 249 | static inline void booth_recode(crypto_word_t *is_negative, crypto_word_t *digit, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz.h:249:61: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 249 | static inline void booth_recode(crypto_word_t *is_negative, crypto_word_t *digit, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz.h:250:33: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 250 | crypto_word_t in, crypto_word_t w) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz.h:250:51: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 250 | crypto_word_t in, crypto_word_t w) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl: In function 'nistz384_point_double': warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:46:20: warning: passing argument 2 of 'elem_mul_by_2' makes integer from pointer without a cast [-Wint-conversion] warning: ring@0.17.8: 46 | elem_mul_by_2(S, in_y); warning: ring@0.17.8: | ^~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | const BN_ULONG * {aka const int *} warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:176:53: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} warning: ring@0.17.8: 176 | static inline void elem_mul_by_2(Elem r, const Elem a) { warning: ring@0.17.8: | ~~~~~~~~~~~^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:48:23: warning: passing argument 2 of 'elem_sqr_mont' makes integer from pointer without a cast [-Wint-conversion] warning: ring@0.17.8: 48 | elem_sqr_mont(Zsqr, in_z); warning: ring@0.17.8: | ^~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | const BN_ULONG * {aka const int *} warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:187:53: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} warning: ring@0.17.8: 187 | static inline void elem_sqr_mont(Elem r, const Elem a) { warning: ring@0.17.8: | ~~~~~~~~~~~^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:52:17: warning: passing argument 1 of 'elem_mul_mont' makes integer from pointer without a cast [-Wint-conversion] warning: ring@0.17.8: 52 | elem_mul_mont(res_z, in_z, in_y); warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | BN_ULONG * {aka int *} warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:171:39: note: expected 'int' but argument is of type 'BN_ULONG *' {aka 'int *'} warning: ring@0.17.8: 171 | static inline void elem_mul_mont(Elem r, const Elem a, const Elem b) { warning: ring@0.17.8: | ~~~~~^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:52:24: warning: passing argument 2 of 'elem_mul_mont' makes integer from pointer without a cast [-Wint-conversion] warning: ring@0.17.8: 52 | elem_mul_mont(res_z, in_z, in_y); warning: ring@0.17.8: | ^~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | const BN_ULONG * {aka const int *} warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:171:53: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} warning: ring@0.17.8: 171 | static inline void elem_mul_mont(Elem r, const Elem a, const Elem b) { warning: ring@0.17.8: | ~~~~~~~~~~~^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:52:30: warning: passing argument 3 of 'elem_mul_mont' makes integer from pointer without a cast [-Wint-conversion] warning: ring@0.17.8: 52 | elem_mul_mont(res_z, in_z, in_y); warning: ring@0.17.8: | ^~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | const BN_ULONG * {aka const int *} warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:171:67: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} warning: ring@0.17.8: 171 | static inline void elem_mul_mont(Elem r, const Elem a, const Elem b) { warning: ring@0.17.8: | ~~~~~~~~~~~^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:53:17: warning: passing argument 1 of 'elem_mul_by_2' makes integer from pointer without a cast [-Wint-conversion] warning: ring@0.17.8: 53 | elem_mul_by_2(res_z, res_z); warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | BN_ULONG * {aka int *} warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:176:39: note: expected 'int' but argument is of type 'BN_ULONG *' {aka 'int *'} warning: ring@0.17.8: 176 | static inline void elem_mul_by_2(Elem r, const Elem a) { warning: ring@0.17.8: | ~~~~~^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:53:24: warning: passing argument 2 of 'elem_mul_by_2' makes integer from pointer without a cast [-Wint-conversion] warning: ring@0.17.8: 53 | elem_mul_by_2(res_z, res_z); warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | BN_ULONG * {aka int *} warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:176:53: note: expected 'int' but argument is of type 'BN_ULONG *' {aka 'int *'} warning: ring@0.17.8: 176 | static inline void elem_mul_by_2(Elem r, const Elem a) { warning: ring@0.17.8: | ~~~~~~~~~~~^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:55:15: warning: passing argument 2 of 'elem_add' makes integer from pointer without a cast [-Wint-conversion] warning: ring@0.17.8: 55 | elem_add(M, in_x, Zsqr); warning: ring@0.17.8: | ^~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | const BN_ULONG * {aka const int *} warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:102:48: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} warning: ring@0.17.8: 102 | static inline void elem_add(Elem r, const Elem a, const Elem b) { warning: ring@0.17.8: | ~~~~~~~~~~~^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:56:18: warning: passing argument 2 of 'elem_sub' makes integer from pointer without a cast [-Wint-conversion] warning: ring@0.17.8: 56 | elem_sub(Zsqr, in_x, Zsqr); warning: ring@0.17.8: | ^~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | const BN_ULONG * {aka const int *} warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:106:48: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} warning: ring@0.17.8: 106 | static inline void elem_sub(Elem r, const Elem a, const Elem b) { warning: ring@0.17.8: | ~~~~~~~~~~~^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:58:17: warning: passing argument 1 of 'elem_sqr_mont' makes integer from pointer without a cast [-Wint-conversion] warning: ring@0.17.8: 58 | elem_sqr_mont(res_y, S); warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | BN_ULONG * {aka int *} warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:187:39: note: expected 'int' but argument is of type 'BN_ULONG *' {aka 'int *'} warning: ring@0.17.8: 187 | static inline void elem_sqr_mont(Elem r, const Elem a) { warning: ring@0.17.8: | ~~~~~^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:59:17: warning: passing argument 1 of 'elem_div_by_2' makes integer from pointer without a cast [-Wint-conversion] warning: ring@0.17.8: 59 | elem_div_by_2(res_y, res_y); warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | BN_ULONG * {aka int *} warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:110:32: note: expected 'int' but argument is of type 'BN_ULONG *' {aka 'int *'} warning: ring@0.17.8: 110 | static void elem_div_by_2(Elem r, const Elem a) { warning: ring@0.17.8: | ~~~~~^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:59:24: warning: passing argument 2 of 'elem_div_by_2' makes integer from pointer without a cast [-Wint-conversion] warning: ring@0.17.8: 59 | elem_div_by_2(res_y, res_y); warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | BN_ULONG * {aka int *} warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:110:46: note: expected 'int' but argument is of type 'BN_ULONG *' {aka 'int *'} warning: ring@0.17.8: 110 | static void elem_div_by_2(Elem r, const Elem a) { warning: ring@0.17.8: | ~~~~~~~~~~~^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:64:23: warning: passing argument 3 of 'elem_mul_mont' makes integer from pointer without a cast [-Wint-conversion] warning: ring@0.17.8: 64 | elem_mul_mont(S, S, in_x); warning: ring@0.17.8: | ^~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | const BN_ULONG * {aka const int *} warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:171:67: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} warning: ring@0.17.8: 171 | static inline void elem_mul_mont(Elem r, const Elem a, const Elem b) { warning: ring@0.17.8: | ~~~~~~~~~~~^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:67:17: warning: passing argument 1 of 'elem_sqr_mont' makes integer from pointer without a cast [-Wint-conversion] warning: ring@0.17.8: 67 | elem_sqr_mont(res_x, M); warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | BN_ULONG * {aka int *} warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:187:39: note: expected 'int' but argument is of type 'BN_ULONG *' {aka 'int *'} warning: ring@0.17.8: 187 | static inline void elem_sqr_mont(Elem r, const Elem a) { warning: ring@0.17.8: | ~~~~~^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:69:12: warning: passing argument 1 of 'elem_sub' makes integer from pointer without a cast [-Wint-conversion] warning: ring@0.17.8: 69 | elem_sub(res_x, res_x, tmp0); warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | BN_ULONG * {aka int *} warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:106:34: note: expected 'int' but argument is of type 'BN_ULONG *' {aka 'int *'} warning: ring@0.17.8: 106 | static inline void elem_sub(Elem r, const Elem a, const Elem b) { warning: ring@0.17.8: | ~~~~~^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:69:19: warning: passing argument 2 of 'elem_sub' makes integer from pointer without a cast [-Wint-conversion] warning: ring@0.17.8: 69 | elem_sub(res_x, res_x, tmp0); warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | BN_ULONG * {aka int *} warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:106:48: note: expected 'int' but argument is of type 'BN_ULONG *' {aka 'int *'} warning: ring@0.17.8: 106 | static inline void elem_sub(Elem r, const Elem a, const Elem b) { warning: ring@0.17.8: | ~~~~~~~~~~~^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:70:18: warning: passing argument 3 of 'elem_sub' makes integer from pointer without a cast [-Wint-conversion] warning: ring@0.17.8: 70 | elem_sub(S, S, res_x); warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | BN_ULONG * {aka int *} warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:106:62: note: expected 'int' but argument is of type 'BN_ULONG *' {aka 'int *'} warning: ring@0.17.8: 106 | static inline void elem_sub(Elem r, const Elem a, const Elem b) { warning: ring@0.17.8: | ~~~~~~~~~~~^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:73:12: warning: passing argument 1 of 'elem_sub' makes integer from pointer without a cast [-Wint-conversion] warning: ring@0.17.8: 73 | elem_sub(res_y, S, res_y); warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | BN_ULONG * {aka int *} warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:106:34: note: expected 'int' but argument is of type 'BN_ULONG *' {aka 'int *'} warning: ring@0.17.8: 106 | static inline void elem_sub(Elem r, const Elem a, const Elem b) { warning: ring@0.17.8: | ~~~~~^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:73:22: warning: passing argument 3 of 'elem_sub' makes integer from pointer without a cast [-Wint-conversion] warning: ring@0.17.8: 73 | elem_sub(res_y, S, res_y); warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | BN_ULONG * {aka int *} warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:106:62: note: expected 'int' but argument is of type 'BN_ULONG *' {aka 'int *'} warning: ring@0.17.8: 106 | static inline void elem_sub(Elem r, const Elem a, const Elem b) { warning: ring@0.17.8: | ~~~~~~~~~~~^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:36:12: warning: unused variable 'tmp0' [-Wunused-variable] warning: ring@0.17.8: 36 | BN_ULONG tmp0[P384_LIMBS]; warning: ring@0.17.8: | ^~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:35:12: warning: unused variable 'Zsqr' [-Wunused-variable] warning: ring@0.17.8: 35 | BN_ULONG Zsqr[P384_LIMBS]; warning: ring@0.17.8: | ^~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:34:12: warning: unused variable 'M' [-Wunused-variable] warning: ring@0.17.8: 34 | BN_ULONG M[P384_LIMBS]; warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:33:12: warning: unused variable 'S' [-Wunused-variable] warning: ring@0.17.8: 33 | BN_ULONG S[P384_LIMBS]; warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl: In function 'nistz384_point_add': warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:100:31: error: type of formal parameter 1 is incomplete warning: ring@0.17.8: 100 | BN_ULONG in1infty = is_zero(a->Z); warning: ring@0.17.8: | ^~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:101:31: error: type of formal parameter 1 is incomplete warning: ring@0.17.8: 101 | BN_ULONG in2infty = is_zero(b->Z); warning: ring@0.17.8: | ^~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:103:24: warning: passing argument 2 of 'elem_sqr_mont' makes integer from pointer without a cast [-Wint-conversion] warning: ring@0.17.8: 103 | elem_sqr_mont(Z2sqr, in2_z); /* Z2^2 */ warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | const BN_ULONG * {aka const int *} warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:187:53: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} warning: ring@0.17.8: 187 | static inline void elem_sqr_mont(Elem r, const Elem a) { warning: ring@0.17.8: | ~~~~~~~~~~~^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:104:24: warning: passing argument 2 of 'elem_sqr_mont' makes integer from pointer without a cast [-Wint-conversion] warning: ring@0.17.8: 104 | elem_sqr_mont(Z1sqr, in1_z); /* Z1^2 */ warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | const BN_ULONG * {aka const int *} warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:187:53: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} warning: ring@0.17.8: 187 | static inline void elem_sqr_mont(Elem r, const Elem a) { warning: ring@0.17.8: | ~~~~~~~~~~~^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:106:28: warning: passing argument 3 of 'elem_mul_mont' makes integer from pointer without a cast [-Wint-conversion] warning: ring@0.17.8: 106 | elem_mul_mont(S1, Z2sqr, in2_z); /* S1 = Z2^3 */ warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | const BN_ULONG * {aka const int *} warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:171:67: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} warning: ring@0.17.8: 171 | static inline void elem_mul_mont(Elem r, const Elem a, const Elem b) { warning: ring@0.17.8: | ~~~~~~~~~~~^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:107:28: warning: passing argument 3 of 'elem_mul_mont' makes integer from pointer without a cast [-Wint-conversion] warning: ring@0.17.8: 107 | elem_mul_mont(S2, Z1sqr, in1_z); /* S2 = Z1^3 */ warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | const BN_ULONG * {aka const int *} warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:171:67: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} warning: ring@0.17.8: 171 | static inline void elem_mul_mont(Elem r, const Elem a, const Elem b) { warning: ring@0.17.8: | ~~~~~~~~~~~^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:109:25: warning: passing argument 3 of 'elem_mul_mont' makes integer from pointer without a cast [-Wint-conversion] warning: ring@0.17.8: 109 | elem_mul_mont(S1, S1, in1_y); /* S1 = Y1*Z2^3 */ warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | const BN_ULONG * {aka const int *} warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:171:67: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} warning: ring@0.17.8: 171 | static inline void elem_mul_mont(Elem r, const Elem a, const Elem b) { warning: ring@0.17.8: | ~~~~~~~~~~~^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:110:25: warning: passing argument 3 of 'elem_mul_mont' makes integer from pointer without a cast [-Wint-conversion] warning: ring@0.17.8: 110 | elem_mul_mont(S2, S2, in2_y); /* S2 = Y2*Z1^3 */ warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | const BN_ULONG * {aka const int *} warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:171:67: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} warning: ring@0.17.8: 171 | static inline void elem_mul_mont(Elem r, const Elem a, const Elem b) { warning: ring@0.17.8: | ~~~~~~~~~~~^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:113:21: warning: passing argument 2 of 'elem_mul_mont' makes integer from pointer without a cast [-Wint-conversion] warning: ring@0.17.8: 113 | elem_mul_mont(U1, in1_x, Z2sqr); /* U1 = X1*Z2^2 */ warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | const BN_ULONG * {aka const int *} warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:171:53: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} warning: ring@0.17.8: 171 | static inline void elem_mul_mont(Elem r, const Elem a, const Elem b) { warning: ring@0.17.8: | ~~~~~~~~~~~^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:114:21: warning: passing argument 2 of 'elem_mul_mont' makes integer from pointer without a cast [-Wint-conversion] warning: ring@0.17.8: 114 | elem_mul_mont(U2, in2_x, Z1sqr); /* U2 = X2*Z1^2 */ warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | const BN_ULONG * {aka const int *} warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:171:53: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} warning: ring@0.17.8: 171 | static inline void elem_mul_mont(Elem r, const Elem a, const Elem b) { warning: ring@0.17.8: | ~~~~~~~~~~~^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:130:27: warning: passing argument 3 of 'elem_mul_mont' makes integer from pointer without a cast [-Wint-conversion] warning: ring@0.17.8: 130 | elem_mul_mont(res_z, H, in1_z); /* Z3 = H*Z1*Z2 */ warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | const BN_ULONG * {aka const int *} warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:171:67: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} warning: ring@0.17.8: 171 | static inline void elem_mul_mont(Elem r, const Elem a, const Elem b) { warning: ring@0.17.8: | ~~~~~~~~~~~^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:132:31: warning: passing argument 3 of 'elem_mul_mont' makes integer from pointer without a cast [-Wint-conversion] warning: ring@0.17.8: 132 | elem_mul_mont(res_z, res_z, in2_z); /* Z3 = H*Z1*Z2 */ warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | const BN_ULONG * {aka const int *} warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:171:67: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} warning: ring@0.17.8: 171 | static inline void elem_mul_mont(Elem r, const Elem a, const Elem b) { warning: ring@0.17.8: | ~~~~~~~~~~~^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:147:27: warning: passing argument 2 of 'copy_conditional' makes integer from pointer without a cast [-Wint-conversion] warning: ring@0.17.8: 147 | copy_conditional(res_x, in2_x, in1infty); warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | const BN_ULONG * {aka const int *} warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:94:56: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} warning: ring@0.17.8: 94 | static inline void copy_conditional(Elem r, const Elem a, warning: ring@0.17.8: | ~~~~~~~~~~~^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:148:27: warning: passing argument 2 of 'copy_conditional' makes integer from pointer without a cast [-Wint-conversion] warning: ring@0.17.8: 148 | copy_conditional(res_y, in2_y, in1infty); warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | const BN_ULONG * {aka const int *} warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:94:56: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} warning: ring@0.17.8: 94 | static inline void copy_conditional(Elem r, const Elem a, warning: ring@0.17.8: | ~~~~~~~~~~~^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:149:27: warning: passing argument 2 of 'copy_conditional' makes integer from pointer without a cast [-Wint-conversion] warning: ring@0.17.8: 149 | copy_conditional(res_z, in2_z, in1infty); warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | const BN_ULONG * {aka const int *} warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:94:56: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} warning: ring@0.17.8: 94 | static inline void copy_conditional(Elem r, const Elem a, warning: ring@0.17.8: | ~~~~~~~~~~~^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:151:27: warning: passing argument 2 of 'copy_conditional' makes integer from pointer without a cast [-Wint-conversion] warning: ring@0.17.8: 151 | copy_conditional(res_x, in1_x, in2infty); warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | const BN_ULONG * {aka const int *} warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:94:56: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} warning: ring@0.17.8: 94 | static inline void copy_conditional(Elem r, const Elem a, warning: ring@0.17.8: | ~~~~~~~~~~~^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:152:27: warning: passing argument 2 of 'copy_conditional' makes integer from pointer without a cast [-Wint-conversion] warning: ring@0.17.8: 152 | copy_conditional(res_y, in1_y, in2infty); warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | const BN_ULONG * {aka const int *} warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:94:56: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} warning: ring@0.17.8: 94 | static inline void copy_conditional(Elem r, const Elem a, warning: ring@0.17.8: | ~~~~~~~~~~~^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:153:27: warning: passing argument 2 of 'copy_conditional' makes integer from pointer without a cast [-Wint-conversion] warning: ring@0.17.8: 153 | copy_conditional(res_z, in1_z, in2infty); warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: | | warning: ring@0.17.8: | const BN_ULONG * {aka const int *} warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:94:56: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} warning: ring@0.17.8: 94 | static inline void copy_conditional(Elem r, const Elem a, warning: ring@0.17.8: | ~~~~~~~~~~~^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/gfp_p384.c:246: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:90:12: warning: unused variable 'res_z' [-Wunused-variable] warning: ring@0.17.8: 90 | BN_ULONG res_z[P384_LIMBS]; warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:89:12: warning: unused variable 'res_y' [-Wunused-variable] warning: ring@0.17.8: 89 | BN_ULONG res_y[P384_LIMBS]; warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:88:12: warning: unused variable 'res_x' [-Wunused-variable] warning: ring@0.17.8: 88 | BN_ULONG res_x[P384_LIMBS]; warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:86:12: warning: unused variable 'Hcub' [-Wunused-variable] warning: ring@0.17.8: 86 | BN_ULONG Hcub[P384_LIMBS]; warning: ring@0.17.8: | ^~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:85:12: warning: unused variable 'Rsqr' [-Wunused-variable] warning: ring@0.17.8: 85 | BN_ULONG Rsqr[P384_LIMBS]; warning: ring@0.17.8: | ^~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:84:12: warning: unused variable 'Hsqr' [-Wunused-variable] warning: ring@0.17.8: 84 | BN_ULONG Hsqr[P384_LIMBS]; warning: ring@0.17.8: | ^~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:83:27: warning: unused variable 'R' [-Wunused-variable] warning: ring@0.17.8: 83 | BN_ULONG H[P384_LIMBS], R[P384_LIMBS]; warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:83:12: warning: unused variable 'H' [-Wunused-variable] warning: ring@0.17.8: 83 | BN_ULONG H[P384_LIMBS], R[P384_LIMBS]; warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:82:12: warning: unused variable 'Z2sqr' [-Wunused-variable] warning: ring@0.17.8: 82 | BN_ULONG Z2sqr[P384_LIMBS]; warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:81:12: warning: unused variable 'Z1sqr' [-Wunused-variable] warning: ring@0.17.8: 81 | BN_ULONG Z1sqr[P384_LIMBS]; warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:80:28: warning: unused variable 'S1' [-Wunused-variable] warning: ring@0.17.8: 80 | BN_ULONG U1[P384_LIMBS], S1[P384_LIMBS]; warning: ring@0.17.8: | ^~ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:80:12: warning: unused variable 'U1' [-Wunused-variable] warning: ring@0.17.8: 80 | BN_ULONG U1[P384_LIMBS], S1[P384_LIMBS]; warning: ring@0.17.8: | ^~ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:79:28: warning: unused variable 'S2' [-Wunused-variable] warning: ring@0.17.8: 79 | BN_ULONG U2[P384_LIMBS], S2[P384_LIMBS]; warning: ring@0.17.8: | ^~ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:79:12: warning: unused variable 'U2' [-Wunused-variable] warning: ring@0.17.8: 79 | BN_ULONG U2[P384_LIMBS], S2[P384_LIMBS]; warning: ring@0.17.8: | ^~ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl: At top level: warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:160:47: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 160 | static void add_precomputed_w5(P384_POINT *r, crypto_word_t wvalue, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl: In function 'nistz384_point_mul': warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:182:16: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 182 | static const crypto_word_t kMask = (1 << (5 /* kWindowSize */ + 1)) - 1; warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:222:3: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 222 | crypto_word_t recoded; warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:224:3: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 224 | crypto_word_t wvalue = p_str[(index - 1) / 8]; warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:227:3: warning: implicit declaration of function 'booth_recode' [-Wimplicit-function-declaration] warning: ring@0.17.8: 227 | booth_recode(&recoded_is_negative, &recoded, wvalue, 5); warning: ring@0.17.8: | ^~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:227:3: warning: nested extern declaration of 'booth_recode' [-Wnested-externs] warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:238:7: warning: implicit declaration of function 'add_precomputed_w5' [-Wimplicit-function-declaration] warning: ring@0.17.8: 238 | add_precomputed_w5(r, wvalue, table); warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:238:7: warning: nested extern declaration of 'add_precomputed_w5' [-Wnested-externs] warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:184:11: warning: unused variable 'p_str' [-Wunused-variable] warning: ring@0.17.8: 184 | uint8_t p_str[(P384_LIMBS * sizeof(Limb)) + 1]; warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl: In function 'ring_core_0_17_8_p384_point_mul': warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:292:28: error: type of formal parameter 2 is incomplete warning: ring@0.17.8: 292 | nistz384_point_mul(&acc, p_scalar, p_x, p_y); warning: ring@0.17.8: | ^~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:292:38: error: type of formal parameter 3 is incomplete warning: ring@0.17.8: 292 | nistz384_point_mul(&acc, p_scalar, p_x, p_y); warning: ring@0.17.8: | ^~~ warning: ring@0.17.8: crypto/fipsmodule/ec/ecp_nistz384.inl:292:43: error: type of formal parameter 4 is incomplete warning: ring@0.17.8: 292 | nistz384_point_mul(&acc, p_scalar, p_x, p_y); warning: ring@0.17.8: | ^~~ warning: ring@0.17.8: At top level: warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:52:23: warning: 'ONE' defined but not used [-Wunused-variable] warning: ring@0.17.8: 52 | static const BN_ULONG ONE[P384_LIMBS] = { warning: ring@0.17.8: | ^~~ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:42:23: warning: 'N' defined but not used [-Wunused-variable] warning: ring@0.17.8: 42 | static const BN_ULONG N[P384_LIMBS] = { warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/gfp_p384.c:32:23: warning: 'Q' defined but not used [-Wunused-variable] warning: ring@0.17.8: 32 | static const BN_ULONG Q[P384_LIMBS] = { warning: ring@0.17.8: | ^ warning: ring@0.17.8: ToolExecError: Command "gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "include" "-I" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out" "-O2" "-I/usr/pkg/include" "-I/usr/include" "-fvisibility=hidden" "-std=c1x" "-Wall" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-g3" "-DNDEBUG" "-o" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out/a9af75d892b04b75-gfp_p384.o" "-c" "crypto/fipsmodule/ec/gfp_p384.c" with args gcc did not execute successfully (status code exit status: 1).cargo:warning=In file included from include/ring-core/base.h:74, warning: ring@0.17.8: from crypto/fipsmodule/ec/p256.c:19: warning: ring@0.17.8: include/ring-core/target.h:64:2: error: #error "Unknown target CPU" warning: ring@0.17.8: 64 | #error "Unknown target CPU" warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/../../limbs/limbs.h:20, warning: ring@0.17.8: from crypto/fipsmodule/ec/p256.c:21: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:219:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" warning: ring@0.17.8: 219 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:232:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:232:45: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:244:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:244:49: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:249:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:249:53: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:264:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:264:56: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:269:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:269:48: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:270:48: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 270 | crypto_word_t b) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:277:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:277:52: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:278:52: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 278 | crypto_word_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:279:52: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 279 | crypto_word_t b) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:291:46: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 291 | static inline uint8_t constant_time_select_8(crypto_word_t mask, uint8_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:308:59: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 308 | const crypto_word_t mask) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h: In function 'constant_time_conditional_memcpy': warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:313:14: warning: implicit declaration of function 'constant_time_select_8' [-Wimplicit-function-declaration] warning: ring@0.17.8: 313 | out[i] = constant_time_select_8(mask, in[i], out[i]); warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:313:14: warning: nested extern declaration of 'constant_time_select_8' [-Wnested-externs] warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h: At top level: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:322:59: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 322 | const crypto_word_t mask) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h: In function 'constant_time_conditional_memxor': warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:327:15: warning: implicit declaration of function 'value_barrier_w' [-Wimplicit-function-declaration] warning: ring@0.17.8: 327 | out[i] ^= value_barrier_w(mask) & in[i]; warning: ring@0.17.8: | ^~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:327:15: warning: nested extern declaration of 'value_barrier_w' [-Wnested-externs] warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h: At top level: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:359:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/../internal.h:359:56: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/p256.c:21: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.h:22:9: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 22 | typedef crypto_word_t Limb; warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.h:24:19: warning: "CRYPTO_WORD_BITS" is not defined, evaluates to 0 [-Wundef] warning: ring@0.17.8: 24 | #define LIMB_BITS CRYPTO_WORD_BITS warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:49:5: note: in expansion of macro 'LIMB_BITS' warning: ring@0.17.8: 49 | #if LIMB_BITS == 64 warning: ring@0.17.8: | ^~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.h:24:19: warning: "CRYPTO_WORD_BITS" is not defined, evaluates to 0 [-Wundef] warning: ring@0.17.8: 24 | #define LIMB_BITS CRYPTO_WORD_BITS warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:51:7: note: in expansion of macro 'LIMB_BITS' warning: ring@0.17.8: 51 | #elif LIMB_BITS == 32 warning: ring@0.17.8: | ^~~~~~~~~ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/p256.c:22: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl: In function 'limb_adc': warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:64:3: error: unknown type name 'DoubleLimb' warning: ring@0.17.8: 64 | DoubleLimb x = (DoubleLimb)a + b + carry_in; warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:64:19: error: 'DoubleLimb' undeclared (first use in this function) warning: ring@0.17.8: 64 | DoubleLimb x = (DoubleLimb)a + b + carry_in; warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:64:19: note: each undeclared identifier is reported only once for each function it appears in warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:64:30: error: expected ',' or ';' before 'a' warning: ring@0.17.8: 64 | DoubleLimb x = (DoubleLimb)a + b + carry_in; warning: ring@0.17.8: | ^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/p256.c:21: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.h:24:19: error: 'CRYPTO_WORD_BITS' undeclared (first use in this function) warning: ring@0.17.8: 24 | #define LIMB_BITS CRYPTO_WORD_BITS warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:66:22: note: in expansion of macro 'LIMB_BITS' warning: ring@0.17.8: 66 | ret = (Carry)(x >> LIMB_BITS); warning: ring@0.17.8: | ^~~~~~~~~ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/p256.c:22: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl: In function 'limb_add': warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:78:3: error: unknown type name 'DoubleLimb' warning: ring@0.17.8: 78 | DoubleLimb x = (DoubleLimb)a + b; warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:78:19: error: 'DoubleLimb' undeclared (first use in this function) warning: ring@0.17.8: 78 | DoubleLimb x = (DoubleLimb)a + b; warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:78:30: error: expected ',' or ';' before 'a' warning: ring@0.17.8: 78 | DoubleLimb x = (DoubleLimb)a + b; warning: ring@0.17.8: | ^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/p256.c:21: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.h:24:19: error: 'CRYPTO_WORD_BITS' undeclared (first use in this function) warning: ring@0.17.8: 24 | #define LIMB_BITS CRYPTO_WORD_BITS warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:80:22: note: in expansion of macro 'LIMB_BITS' warning: ring@0.17.8: 80 | ret = (Carry)(x >> LIMB_BITS); warning: ring@0.17.8: | ^~~~~~~~~ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/p256.c:22: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl: In function 'limb_sbb': warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:94:3: error: unknown type name 'DoubleLimb' warning: ring@0.17.8: 94 | DoubleLimb x = (DoubleLimb)a - b - borrow_in; warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:94:19: error: 'DoubleLimb' undeclared (first use in this function) warning: ring@0.17.8: 94 | DoubleLimb x = (DoubleLimb)a - b - borrow_in; warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:94:30: error: expected ',' or ';' before 'a' warning: ring@0.17.8: 94 | DoubleLimb x = (DoubleLimb)a - b - borrow_in; warning: ring@0.17.8: | ^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/p256.c:21: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.h:24:19: error: 'CRYPTO_WORD_BITS' undeclared (first use in this function) warning: ring@0.17.8: 24 | #define LIMB_BITS CRYPTO_WORD_BITS warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:96:23: note: in expansion of macro 'LIMB_BITS' warning: ring@0.17.8: 96 | ret = (Carry)((x >> LIMB_BITS) & 1); warning: ring@0.17.8: | ^~~~~~~~~ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/p256.c:22: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl: In function 'limb_sub': warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:108:3: error: unknown type name 'DoubleLimb' warning: ring@0.17.8: 108 | DoubleLimb x = (DoubleLimb)a - b; warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:108:19: error: 'DoubleLimb' undeclared (first use in this function) warning: ring@0.17.8: 108 | DoubleLimb x = (DoubleLimb)a - b; warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:108:30: error: expected ',' or ';' before 'a' warning: ring@0.17.8: 108 | DoubleLimb x = (DoubleLimb)a - b; warning: ring@0.17.8: | ^ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/p256.c:21: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.h:24:19: error: 'CRYPTO_WORD_BITS' undeclared (first use in this function) warning: ring@0.17.8: 24 | #define LIMB_BITS CRYPTO_WORD_BITS warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:110:23: note: in expansion of macro 'LIMB_BITS' warning: ring@0.17.8: 110 | ret = (Carry)((x >> LIMB_BITS) & 1); warning: ring@0.17.8: | ^~~~~~~~~ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/p256.c:22: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl: At top level: warning: ring@0.17.8: crypto/fipsmodule/ec/../../limbs/limbs.inl:145:33: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 145 | crypto_word_t index) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/p256_shared.h:24, warning: ring@0.17.8: from crypto/fipsmodule/ec/p256.c:24: warning: ring@0.17.8: crypto/fipsmodule/ec/../bn/internal.h:137:9: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 137 | typedef crypto_word_t BN_ULONG; warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../bn/internal.h:165:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" warning: ring@0.17.8: 165 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/../bn/internal.h: In function 'bn_umult_lohi': warning: ring@0.17.8: crypto/fipsmodule/ec/../bn/internal.h:191:3: error: unknown type name 'BN_ULLONG'; did you mean 'BN_ULONG'? warning: ring@0.17.8: 191 | BN_ULLONG result = (BN_ULLONG)a * b; warning: ring@0.17.8: | ^~~~~~~~~ warning: ring@0.17.8: | BN_ULONG warning: ring@0.17.8: crypto/fipsmodule/ec/../bn/internal.h:191:23: error: 'BN_ULLONG' undeclared (first use in this function); did you mean 'BN_ULONG'? warning: ring@0.17.8: 191 | BN_ULLONG result = (BN_ULLONG)a * b; warning: ring@0.17.8: | ^~~~~~~~~ warning: ring@0.17.8: | BN_ULONG warning: ring@0.17.8: crypto/fipsmodule/ec/../bn/internal.h:191:33: error: expected ',' or ';' before 'a' warning: ring@0.17.8: 191 | BN_ULLONG result = (BN_ULLONG)a * b; warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/fipsmodule/ec/../bn/internal.h:193:36: error: 'BN_BITS2' undeclared (first use in this function) warning: ring@0.17.8: 193 | *high_out = (BN_ULONG)(result >> BN_BITS2); warning: ring@0.17.8: | ^~~~~~~~ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/p256.c:24: warning: ring@0.17.8: crypto/fipsmodule/ec/p256_shared.h: At top level: warning: ring@0.17.8: crypto/fipsmodule/ec/p256_shared.h:40:27: error: 'BN_BITS2' undeclared here (not in a function) warning: ring@0.17.8: 40 | #define P256_LIMBS (256 / BN_BITS2) warning: ring@0.17.8: | ^~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/p256_shared.h:45:14: note: in expansion of macro 'P256_LIMBS' warning: ring@0.17.8: 45 | BN_ULONG X[P256_LIMBS]; warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: In file included from crypto/fipsmodule/ec/p256.c:27: warning: ring@0.17.8: crypto/fipsmodule/ec/./util.h:246:39: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 246 | static inline void recode_scalar_bits(crypto_word_t *sign, crypto_word_t *digit, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/./util.h:246:60: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 246 | static inline void recode_scalar_bits(crypto_word_t *sign, crypto_word_t *digit, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/./util.h:247:39: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 247 | crypto_word_t in) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/p256.c: In function 'fiat_p256_point_add': warning: ring@0.17.8: crypto/fipsmodule/ec/p256.c:269:43: warning: implicit declaration of function 'constant_time_is_zero_w' [-Wimplicit-function-declaration] warning: ring@0.17.8: 269 | fiat_p256_limb_t is_nontrivial_double = constant_time_is_zero_w(xneq | yneq) & warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/p256.c:269:43: warning: nested extern declaration of 'constant_time_is_zero_w' [-Wnested-externs] warning: ring@0.17.8: crypto/fipsmodule/ec/p256.c:272:7: warning: implicit declaration of function 'constant_time_declassify_w' [-Wimplicit-function-declaration] warning: ring@0.17.8: 272 | if (constant_time_declassify_w(is_nontrivial_double)) { warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/p256.c:272:7: warning: nested extern declaration of 'constant_time_declassify_w' [-Wnested-externs] warning: ring@0.17.8: crypto/fipsmodule/ec/p256.c: At top level: warning: ring@0.17.8: crypto/fipsmodule/ec/p256.c:344:8: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 344 | static crypto_word_t fiat_p256_get_bit(const Limb in[P256_LIMBS], int i) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/p256.c: In function 'ring_core_0_17_8_p256_point_mul': warning: ring@0.17.8: crypto/fipsmodule/ec/p256.c:397:7: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 397 | crypto_word_t bits = fiat_p256_get_bit(scalar, i + 4) << 5; warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/p256.c:397:46: error: type of formal parameter 1 is incomplete warning: ring@0.17.8: 397 | crypto_word_t bits = fiat_p256_get_bit(scalar, i + 4) << 5; warning: ring@0.17.8: | ^~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/p256.c:398:33: error: type of formal parameter 1 is incomplete warning: ring@0.17.8: 398 | bits |= fiat_p256_get_bit(scalar, i + 3) << 4; warning: ring@0.17.8: | ^~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/p256.c:399:33: error: type of formal parameter 1 is incomplete warning: ring@0.17.8: 399 | bits |= fiat_p256_get_bit(scalar, i + 2) << 3; warning: ring@0.17.8: | ^~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/p256.c:400:33: error: type of formal parameter 1 is incomplete warning: ring@0.17.8: 400 | bits |= fiat_p256_get_bit(scalar, i + 1) << 2; warning: ring@0.17.8: | ^~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/p256.c:401:33: error: type of formal parameter 1 is incomplete warning: ring@0.17.8: 401 | bits |= fiat_p256_get_bit(scalar, i) << 1; warning: ring@0.17.8: | ^~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/p256.c:402:33: error: type of formal parameter 1 is incomplete warning: ring@0.17.8: 402 | bits |= fiat_p256_get_bit(scalar, i - 1); warning: ring@0.17.8: | ^~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/p256.c:403:7: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 403 | crypto_word_t sign, digit; warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/p256.c:404:7: warning: implicit declaration of function 'recode_scalar_bits' [-Wimplicit-function-declaration] warning: ring@0.17.8: 404 | recode_scalar_bits(&sign, &digit, bits); warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/p256.c:404:7: warning: nested extern declaration of 'recode_scalar_bits' [-Wnested-externs] warning: ring@0.17.8: crypto/fipsmodule/ec/p256.c: In function 'ring_core_0_17_8_p256_point_mul_base': warning: ring@0.17.8: crypto/fipsmodule/ec/p256.c:441:5: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 441 | crypto_word_t bits = fiat_p256_get_bit(scalar, i + 224) << 3; warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/p256.c:441:44: error: type of formal parameter 1 is incomplete warning: ring@0.17.8: 441 | crypto_word_t bits = fiat_p256_get_bit(scalar, i + 224) << 3; warning: ring@0.17.8: | ^~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/p256.c:442:31: error: type of formal parameter 1 is incomplete warning: ring@0.17.8: 442 | bits |= fiat_p256_get_bit(scalar, i + 160) << 2; warning: ring@0.17.8: | ^~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/p256.c:443:31: error: type of formal parameter 1 is incomplete warning: ring@0.17.8: 443 | bits |= fiat_p256_get_bit(scalar, i + 96) << 1; warning: ring@0.17.8: | ^~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/p256.c:444:31: error: type of formal parameter 1 is incomplete warning: ring@0.17.8: 444 | bits |= fiat_p256_get_bit(scalar, i + 32); warning: ring@0.17.8: | ^~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/p256.c:460:30: error: type of formal parameter 1 is incomplete warning: ring@0.17.8: 460 | bits = fiat_p256_get_bit(scalar, i + 192) << 3; warning: ring@0.17.8: | ^~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/p256.c:461:31: error: type of formal parameter 1 is incomplete warning: ring@0.17.8: 461 | bits |= fiat_p256_get_bit(scalar, i + 128) << 2; warning: ring@0.17.8: | ^~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/p256.c:462:31: error: type of formal parameter 1 is incomplete warning: ring@0.17.8: 462 | bits |= fiat_p256_get_bit(scalar, i + 64) << 1; warning: ring@0.17.8: | ^~~~~~ warning: ring@0.17.8: crypto/fipsmodule/ec/p256.c:463:31: error: type of formal parameter 1 is incomplete warning: ring@0.17.8: 463 | bits |= fiat_p256_get_bit(scalar, i); warning: ring@0.17.8: | ^~~~~~ warning: ring@0.17.8: ToolExecError: Command "gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "include" "-I" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out" "-O2" "-I/usr/pkg/include" "-I/usr/include" "-fvisibility=hidden" "-std=c1x" "-Wall" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-g3" "-DNDEBUG" "-o" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out/a9af75d892b04b75-p256.o" "-c" "crypto/fipsmodule/ec/p256.c" with args gcc did not execute successfully (status code exit status: 1).cargo:warning=In file included from include/ring-core/base.h:74, warning: ring@0.17.8: from crypto/limbs/limbs.h:18, warning: ring@0.17.8: from crypto/limbs/limbs.c:15: warning: ring@0.17.8: include/ring-core/target.h:64:2: error: #error "Unknown target CPU" warning: ring@0.17.8: 64 | #error "Unknown target CPU" warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: In file included from crypto/limbs/limbs.h:20, warning: ring@0.17.8: from crypto/limbs/limbs.c:15: warning: ring@0.17.8: crypto/limbs/../internal.h:219:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" warning: ring@0.17.8: 219 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: crypto/limbs/../internal.h:232:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/../internal.h:232:45: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/../internal.h:244:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/../internal.h:244:49: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/../internal.h:249:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/../internal.h:249:53: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/../internal.h:264:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/../internal.h:264:56: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/../internal.h:269:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/../internal.h:269:48: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/../internal.h:270:48: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 270 | crypto_word_t b) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/../internal.h:277:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/../internal.h:277:52: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/../internal.h:278:52: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 278 | crypto_word_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/../internal.h:279:52: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 279 | crypto_word_t b) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/../internal.h:291:46: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 291 | static inline uint8_t constant_time_select_8(crypto_word_t mask, uint8_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/../internal.h:308:59: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 308 | const crypto_word_t mask) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/../internal.h: In function 'constant_time_conditional_memcpy': warning: ring@0.17.8: crypto/limbs/../internal.h:313:14: warning: implicit declaration of function 'constant_time_select_8' [-Wimplicit-function-declaration] warning: ring@0.17.8: 313 | out[i] = constant_time_select_8(mask, in[i], out[i]); warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/../internal.h:313:14: warning: nested extern declaration of 'constant_time_select_8' [-Wnested-externs] warning: ring@0.17.8: crypto/limbs/../internal.h: At top level: warning: ring@0.17.8: crypto/limbs/../internal.h:322:59: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 322 | const crypto_word_t mask) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/../internal.h: In function 'constant_time_conditional_memxor': warning: ring@0.17.8: crypto/limbs/../internal.h:327:15: warning: implicit declaration of function 'value_barrier_w' [-Wimplicit-function-declaration] warning: ring@0.17.8: 327 | out[i] ^= value_barrier_w(mask) & in[i]; warning: ring@0.17.8: | ^~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/../internal.h:327:15: warning: nested extern declaration of 'value_barrier_w' [-Wnested-externs] warning: ring@0.17.8: crypto/limbs/../internal.h: At top level: warning: ring@0.17.8: crypto/limbs/../internal.h:359:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/../internal.h:359:56: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: In file included from crypto/limbs/limbs.c:15: warning: ring@0.17.8: crypto/limbs/limbs.h:22:9: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 22 | typedef crypto_word_t Limb; warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: In file included from crypto/limbs/limbs.c:18: warning: ring@0.17.8: crypto/limbs/../fipsmodule/bn/internal.h:137:9: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 137 | typedef crypto_word_t BN_ULONG; warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/../fipsmodule/bn/internal.h:165:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" warning: ring@0.17.8: 165 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: crypto/limbs/../fipsmodule/bn/internal.h: In function 'bn_umult_lohi': warning: ring@0.17.8: crypto/limbs/../fipsmodule/bn/internal.h:191:3: error: unknown type name 'BN_ULLONG'; did you mean 'BN_ULONG'? warning: ring@0.17.8: 191 | BN_ULLONG result = (BN_ULLONG)a * b; warning: ring@0.17.8: | ^~~~~~~~~ warning: ring@0.17.8: | BN_ULONG warning: ring@0.17.8: crypto/limbs/../fipsmodule/bn/internal.h:191:23: error: 'BN_ULLONG' undeclared (first use in this function); did you mean 'BN_ULONG'? warning: ring@0.17.8: 191 | BN_ULLONG result = (BN_ULLONG)a * b; warning: ring@0.17.8: | ^~~~~~~~~ warning: ring@0.17.8: | BN_ULONG warning: ring@0.17.8: crypto/limbs/../fipsmodule/bn/internal.h:191:23: note: each undeclared identifier is reported only once for each function it appears in warning: ring@0.17.8: crypto/limbs/../fipsmodule/bn/internal.h:191:33: error: expected ',' or ';' before 'a' warning: ring@0.17.8: 191 | BN_ULLONG result = (BN_ULLONG)a * b; warning: ring@0.17.8: | ^ warning: ring@0.17.8: crypto/limbs/../fipsmodule/bn/internal.h:193:36: error: 'BN_BITS2' undeclared (first use in this function) warning: ring@0.17.8: 193 | *high_out = (BN_ULONG)(result >> BN_BITS2); warning: ring@0.17.8: | ^~~~~~~~ warning: ring@0.17.8: In file included from crypto/limbs/limbs.c:15: warning: ring@0.17.8: crypto/limbs/limbs.inl: At top level: warning: ring@0.17.8: crypto/limbs/limbs.h:24:19: warning: "CRYPTO_WORD_BITS" is not defined, evaluates to 0 [-Wundef] warning: ring@0.17.8: 24 | #define LIMB_BITS CRYPTO_WORD_BITS warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/limbs.inl:49:5: note: in expansion of macro 'LIMB_BITS' warning: ring@0.17.8: 49 | #if LIMB_BITS == 64 warning: ring@0.17.8: | ^~~~~~~~~ warning: ring@0.17.8: crypto/limbs/limbs.h:24:19: warning: "CRYPTO_WORD_BITS" is not defined, evaluates to 0 [-Wundef] warning: ring@0.17.8: 24 | #define LIMB_BITS CRYPTO_WORD_BITS warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/limbs.inl:51:7: note: in expansion of macro 'LIMB_BITS' warning: ring@0.17.8: 51 | #elif LIMB_BITS == 32 warning: ring@0.17.8: | ^~~~~~~~~ warning: ring@0.17.8: In file included from crypto/limbs/limbs.c:19: warning: ring@0.17.8: crypto/limbs/limbs.inl: In function 'limb_adc': warning: ring@0.17.8: crypto/limbs/limbs.inl:64:3: error: unknown type name 'DoubleLimb' warning: ring@0.17.8: 64 | DoubleLimb x = (DoubleLimb)a + b + carry_in; warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/limbs.inl:64:19: error: 'DoubleLimb' undeclared (first use in this function) warning: ring@0.17.8: 64 | DoubleLimb x = (DoubleLimb)a + b + carry_in; warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/limbs.inl:64:30: error: expected ',' or ';' before 'a' warning: ring@0.17.8: 64 | DoubleLimb x = (DoubleLimb)a + b + carry_in; warning: ring@0.17.8: | ^ warning: ring@0.17.8: In file included from crypto/limbs/limbs.c:15: warning: ring@0.17.8: crypto/limbs/limbs.h:24:19: error: 'CRYPTO_WORD_BITS' undeclared (first use in this function) warning: ring@0.17.8: 24 | #define LIMB_BITS CRYPTO_WORD_BITS warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/limbs.inl:66:22: note: in expansion of macro 'LIMB_BITS' warning: ring@0.17.8: 66 | ret = (Carry)(x >> LIMB_BITS); warning: ring@0.17.8: | ^~~~~~~~~ warning: ring@0.17.8: In file included from crypto/limbs/limbs.c:19: warning: ring@0.17.8: crypto/limbs/limbs.inl: In function 'limb_add': warning: ring@0.17.8: crypto/limbs/limbs.inl:78:3: error: unknown type name 'DoubleLimb' warning: ring@0.17.8: 78 | DoubleLimb x = (DoubleLimb)a + b; warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/limbs.inl:78:19: error: 'DoubleLimb' undeclared (first use in this function) warning: ring@0.17.8: 78 | DoubleLimb x = (DoubleLimb)a + b; warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/limbs.inl:78:30: error: expected ',' or ';' before 'a' warning: ring@0.17.8: 78 | DoubleLimb x = (DoubleLimb)a + b; warning: ring@0.17.8: | ^ warning: ring@0.17.8: In file included from crypto/limbs/limbs.c:15: warning: ring@0.17.8: crypto/limbs/limbs.h:24:19: error: 'CRYPTO_WORD_BITS' undeclared (first use in this function) warning: ring@0.17.8: 24 | #define LIMB_BITS CRYPTO_WORD_BITS warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/limbs.inl:80:22: note: in expansion of macro 'LIMB_BITS' warning: ring@0.17.8: 80 | ret = (Carry)(x >> LIMB_BITS); warning: ring@0.17.8: | ^~~~~~~~~ warning: ring@0.17.8: In file included from crypto/limbs/limbs.c:19: warning: ring@0.17.8: crypto/limbs/limbs.inl: In function 'limb_sbb': warning: ring@0.17.8: crypto/limbs/limbs.inl:94:3: error: unknown type name 'DoubleLimb' warning: ring@0.17.8: 94 | DoubleLimb x = (DoubleLimb)a - b - borrow_in; warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/limbs.inl:94:19: error: 'DoubleLimb' undeclared (first use in this function) warning: ring@0.17.8: 94 | DoubleLimb x = (DoubleLimb)a - b - borrow_in; warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/limbs.inl:94:30: error: expected ',' or ';' before 'a' warning: ring@0.17.8: 94 | DoubleLimb x = (DoubleLimb)a - b - borrow_in; warning: ring@0.17.8: | ^ warning: ring@0.17.8: In file included from crypto/limbs/limbs.c:15: warning: ring@0.17.8: crypto/limbs/limbs.h:24:19: error: 'CRYPTO_WORD_BITS' undeclared (first use in this function) warning: ring@0.17.8: 24 | #define LIMB_BITS CRYPTO_WORD_BITS warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/limbs.inl:96:23: note: in expansion of macro 'LIMB_BITS' warning: ring@0.17.8: 96 | ret = (Carry)((x >> LIMB_BITS) & 1); warning: ring@0.17.8: | ^~~~~~~~~ warning: ring@0.17.8: In file included from crypto/limbs/limbs.c:19: warning: ring@0.17.8: crypto/limbs/limbs.inl: In function 'limb_sub': warning: ring@0.17.8: crypto/limbs/limbs.inl:108:3: error: unknown type name 'DoubleLimb' warning: ring@0.17.8: 108 | DoubleLimb x = (DoubleLimb)a - b; warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/limbs.inl:108:19: error: 'DoubleLimb' undeclared (first use in this function) warning: ring@0.17.8: 108 | DoubleLimb x = (DoubleLimb)a - b; warning: ring@0.17.8: | ^~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/limbs.inl:108:30: error: expected ',' or ';' before 'a' warning: ring@0.17.8: 108 | DoubleLimb x = (DoubleLimb)a - b; warning: ring@0.17.8: | ^ warning: ring@0.17.8: In file included from crypto/limbs/limbs.c:15: warning: ring@0.17.8: crypto/limbs/limbs.h:24:19: error: 'CRYPTO_WORD_BITS' undeclared (first use in this function) warning: ring@0.17.8: 24 | #define LIMB_BITS CRYPTO_WORD_BITS warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/limbs.inl:110:23: note: in expansion of macro 'LIMB_BITS' warning: ring@0.17.8: 110 | ret = (Carry)((x >> LIMB_BITS) & 1); warning: ring@0.17.8: | ^~~~~~~~~ warning: ring@0.17.8: In file included from crypto/limbs/limbs.c:19: warning: ring@0.17.8: crypto/limbs/limbs.inl: At top level: warning: ring@0.17.8: crypto/limbs/limbs.inl:145:33: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 145 | crypto_word_t index) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: In file included from crypto/limbs/limbs.h:20, warning: ring@0.17.8: from crypto/limbs/limbs.c:15: warning: ring@0.17.8: crypto/limbs/limbs.c: In function 'ring_core_0_17_8_LIMBS_are_zero': warning: ring@0.17.8: crypto/limbs/../internal.h:222:29: error: 'crypto_word_t' undeclared (first use in this function) warning: ring@0.17.8: 222 | #define CONSTTIME_TRUE_W ~((crypto_word_t)0) warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/limbs.c:29:18: note: in expansion of macro 'CONSTTIME_TRUE_W' warning: ring@0.17.8: 29 | Limb is_zero = CONSTTIME_TRUE_W; warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/../internal.h:222:43: error: expected ')' before numeric constant warning: ring@0.17.8: 222 | #define CONSTTIME_TRUE_W ~((crypto_word_t)0) warning: ring@0.17.8: | ~ ^ warning: ring@0.17.8: crypto/limbs/limbs.c:29:18: note: in expansion of macro 'CONSTTIME_TRUE_W' warning: ring@0.17.8: 29 | Limb is_zero = CONSTTIME_TRUE_W; warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/limbs.c:31:15: warning: implicit declaration of function 'constant_time_select_w' [-Wimplicit-function-declaration] warning: ring@0.17.8: 31 | is_zero = constant_time_select_w(is_zero, constant_time_is_zero_w(a[i]), warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/limbs.c:31:15: warning: nested extern declaration of 'constant_time_select_w' [-Wnested-externs] warning: ring@0.17.8: crypto/limbs/limbs.c:31:47: warning: implicit declaration of function 'constant_time_is_zero_w' [-Wimplicit-function-declaration] warning: ring@0.17.8: 31 | is_zero = constant_time_select_w(is_zero, constant_time_is_zero_w(a[i]), warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/limbs.c:31:47: warning: nested extern declaration of 'constant_time_is_zero_w' [-Wnested-externs] warning: ring@0.17.8: In file included from crypto/limbs/limbs.h:20, warning: ring@0.17.8: from crypto/limbs/limbs.c:15: warning: ring@0.17.8: crypto/limbs/limbs.c: In function 'ring_core_0_17_8_LIMBS_equal': warning: ring@0.17.8: crypto/limbs/../internal.h:222:29: error: 'crypto_word_t' undeclared (first use in this function) warning: ring@0.17.8: 222 | #define CONSTTIME_TRUE_W ~((crypto_word_t)0) warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/limbs.c:39:13: note: in expansion of macro 'CONSTTIME_TRUE_W' warning: ring@0.17.8: 39 | Limb eq = CONSTTIME_TRUE_W; warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/../internal.h:222:43: error: expected ')' before numeric constant warning: ring@0.17.8: 222 | #define CONSTTIME_TRUE_W ~((crypto_word_t)0) warning: ring@0.17.8: | ~ ^ warning: ring@0.17.8: crypto/limbs/limbs.c:39:13: note: in expansion of macro 'CONSTTIME_TRUE_W' warning: ring@0.17.8: 39 | Limb eq = CONSTTIME_TRUE_W; warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/limbs.c:41:37: warning: implicit declaration of function 'constant_time_eq_w' [-Wimplicit-function-declaration] warning: ring@0.17.8: 41 | eq = constant_time_select_w(eq, constant_time_eq_w(a[i], b[i]), eq); warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/limbs.c:41:37: warning: nested extern declaration of 'constant_time_eq_w' [-Wnested-externs] warning: ring@0.17.8: crypto/limbs/limbs.c: In function 'ring_core_0_17_8_LIMBS_less_than': warning: ring@0.17.8: crypto/limbs/limbs.c:80:10: warning: implicit declaration of function 'constant_time_is_nonzero_w' [-Wimplicit-function-declaration] warning: ring@0.17.8: 80 | return constant_time_is_nonzero_w(borrow); warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/limbs.c:80:10: warning: nested extern declaration of 'constant_time_is_nonzero_w' [-Wnested-externs] warning: ring@0.17.8: In file included from crypto/limbs/limbs.c:15: warning: ring@0.17.8: crypto/limbs/limbs.c: In function 'ring_core_0_17_8_LIMBS_shl_mod': warning: ring@0.17.8: crypto/limbs/limbs.h:24:19: error: 'CRYPTO_WORD_BITS' undeclared (first use in this function) warning: ring@0.17.8: 24 | #define LIMB_BITS CRYPTO_WORD_BITS warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/limbs.h:25:38: note: in expansion of macro 'LIMB_BITS' warning: ring@0.17.8: 25 | #define LIMB_HIGH_BIT ((Limb)(1) << (LIMB_BITS - 1)) warning: ring@0.17.8: | ^~~~~~~~~ warning: ring@0.17.8: crypto/limbs/limbs.c:137:53: note: in expansion of macro 'LIMB_HIGH_BIT' warning: ring@0.17.8: 137 | constant_time_is_nonzero_w(a[num_limbs - 1] & LIMB_HIGH_BIT); warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/limbs.c: At top level: warning: ring@0.17.8: crypto/limbs/limbs.c:154:25: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 154 | crypto_word_t index) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/limbs.c:164:1: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 164 | crypto_word_t LIMBS_window5_split_window(Limb lower_limb, Limb higher_limb, size_t index_within_word) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: In file included from crypto/limbs/limbs.c:15: warning: ring@0.17.8: crypto/limbs/limbs.c: In function 'ring_core_0_17_8_LIMBS_window5_split_window': warning: ring@0.17.8: crypto/limbs/limbs.h:24:19: error: 'CRYPTO_WORD_BITS' undeclared (first use in this function) warning: ring@0.17.8: 24 | #define LIMB_BITS CRYPTO_WORD_BITS warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/limbs/limbs.c:165:37: note: in expansion of macro 'LIMB_BITS' warning: ring@0.17.8: 165 | Limb high_bits = (higher_limb << (LIMB_BITS - index_within_word)) warning: ring@0.17.8: | ^~~~~~~~~ warning: ring@0.17.8: crypto/limbs/limbs.c: At top level: warning: ring@0.17.8: crypto/limbs/limbs.c:174:1: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 174 | crypto_word_t LIMBS_window5_unsplit_window(Limb limb, size_t index_within_word) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: ToolExecError: Command "gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "include" "-I" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out" "-O2" "-I/usr/pkg/include" "-I/usr/include" "-fvisibility=hidden" "-std=c1x" "-Wall" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-g3" "-DNDEBUG" "-o" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out/a1949f2101df4b9c-limbs.o" "-c" "crypto/limbs/limbs.c" with args gcc did not execute successfully (status code exit status: 1).cargo:warning=In file included from include/ring-core/base.h:74, warning: ring@0.17.8: from include/ring-core/mem.h:60, warning: ring@0.17.8: from crypto/mem.c:57: warning: ring@0.17.8: include/ring-core/target.h:64:2: error: #error "Unknown target CPU" warning: ring@0.17.8: 64 | #error "Unknown target CPU" warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: In file included from crypto/mem.c:58: warning: ring@0.17.8: crypto/internal.h:219:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" warning: ring@0.17.8: 219 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: crypto/internal.h:232:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/internal.h:232:45: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/internal.h:244:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/internal.h:244:49: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/internal.h:249:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/internal.h:249:53: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/internal.h:264:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/internal.h:264:56: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/internal.h:269:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/internal.h:269:48: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/internal.h:270:48: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 270 | crypto_word_t b) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/internal.h:277:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/internal.h:277:52: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/internal.h:278:52: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 278 | crypto_word_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/internal.h:279:52: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 279 | crypto_word_t b) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/internal.h:291:46: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 291 | static inline uint8_t constant_time_select_8(crypto_word_t mask, uint8_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/internal.h:308:59: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 308 | const crypto_word_t mask) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/internal.h: In function 'constant_time_conditional_memcpy': warning: ring@0.17.8: crypto/internal.h:313:14: warning: implicit declaration of function 'constant_time_select_8' [-Wimplicit-function-declaration] warning: ring@0.17.8: 313 | out[i] = constant_time_select_8(mask, in[i], out[i]); warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/internal.h:313:14: warning: nested extern declaration of 'constant_time_select_8' [-Wnested-externs] warning: ring@0.17.8: crypto/internal.h: At top level: warning: ring@0.17.8: crypto/internal.h:322:59: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 322 | const crypto_word_t mask) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/internal.h: In function 'constant_time_conditional_memxor': warning: ring@0.17.8: crypto/internal.h:327:15: warning: implicit declaration of function 'value_barrier_w' [-Wimplicit-function-declaration] warning: ring@0.17.8: 327 | out[i] ^= value_barrier_w(mask) & in[i]; warning: ring@0.17.8: | ^~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/internal.h:327:15: warning: nested extern declaration of 'value_barrier_w' [-Wnested-externs] warning: ring@0.17.8: crypto/internal.h: At top level: warning: ring@0.17.8: crypto/internal.h:359:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/internal.h:359:56: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: ToolExecError: Command "gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "include" "-I" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out" "-O2" "-I/usr/pkg/include" "-I/usr/include" "-fvisibility=hidden" "-std=c1x" "-Wall" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-g3" "-DNDEBUG" "-o" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out/7effb53edfc7fa2d-mem.o" "-c" "crypto/mem.c" with args gcc did not execute successfully (status code exit status: 1).cargo:warning=In file included from include/ring-core/base.h:74, warning: ring@0.17.8: from include/ring-core/poly1305.h:18, warning: ring@0.17.8: from crypto/poly1305/poly1305.c:19: warning: ring@0.17.8: include/ring-core/target.h:64:2: error: #error "Unknown target CPU" warning: ring@0.17.8: 64 | #error "Unknown target CPU" warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: In file included from crypto/poly1305/poly1305.c:22: warning: ring@0.17.8: crypto/poly1305/../internal.h:219:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" warning: ring@0.17.8: 219 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: crypto/poly1305/../internal.h:232:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/poly1305/../internal.h:232:45: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/poly1305/../internal.h:244:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/poly1305/../internal.h:244:49: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/poly1305/../internal.h:249:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/poly1305/../internal.h:249:53: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/poly1305/../internal.h:264:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/poly1305/../internal.h:264:56: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/poly1305/../internal.h:269:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/poly1305/../internal.h:269:48: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/poly1305/../internal.h:270:48: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 270 | crypto_word_t b) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/poly1305/../internal.h:277:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/poly1305/../internal.h:277:52: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/poly1305/../internal.h:278:52: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 278 | crypto_word_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/poly1305/../internal.h:279:52: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 279 | crypto_word_t b) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/poly1305/../internal.h:291:46: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 291 | static inline uint8_t constant_time_select_8(crypto_word_t mask, uint8_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/poly1305/../internal.h:308:59: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 308 | const crypto_word_t mask) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/poly1305/../internal.h: In function 'constant_time_conditional_memcpy': warning: ring@0.17.8: crypto/poly1305/../internal.h:313:14: warning: implicit declaration of function 'constant_time_select_8' [-Wimplicit-function-declaration] warning: ring@0.17.8: 313 | out[i] = constant_time_select_8(mask, in[i], out[i]); warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/poly1305/../internal.h:313:14: warning: nested extern declaration of 'constant_time_select_8' [-Wnested-externs] warning: ring@0.17.8: crypto/poly1305/../internal.h: At top level: warning: ring@0.17.8: crypto/poly1305/../internal.h:322:59: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 322 | const crypto_word_t mask) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/poly1305/../internal.h: In function 'constant_time_conditional_memxor': warning: ring@0.17.8: crypto/poly1305/../internal.h:327:15: warning: implicit declaration of function 'value_barrier_w' [-Wimplicit-function-declaration] warning: ring@0.17.8: 327 | out[i] ^= value_barrier_w(mask) & in[i]; warning: ring@0.17.8: | ^~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/poly1305/../internal.h:327:15: warning: nested extern declaration of 'value_barrier_w' [-Wnested-externs] warning: ring@0.17.8: crypto/poly1305/../internal.h: At top level: warning: ring@0.17.8: crypto/poly1305/../internal.h:359:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/poly1305/../internal.h:359:56: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: ToolExecError: Command "gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "include" "-I" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out" "-O2" "-I/usr/pkg/include" "-I/usr/include" "-fvisibility=hidden" "-std=c1x" "-Wall" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-g3" "-DNDEBUG" "-o" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out/bec76f70393ddef1-poly1305.o" "-c" "crypto/poly1305/poly1305.c" with args gcc did not execute successfully (status code exit status: 1). error: failed to run custom build command for `ring v0.17.8` Caused by: process didn't exit successfully: `/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-bcc64920457d960c/build-script-build` (exit status: 1) --- stdout cargo:rerun-if-env-changed=RING_PREGENERATE_ASM cargo:rustc-env=RING_CORE_PREFIX=ring_core_0_17_8_ OPT_LEVEL = Some(3) TARGET = Some(powerpc-unknown-netbsd) OUT_DIR = Some(/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out) HOST = Some(powerpc-unknown-netbsd) cargo:rerun-if-env-changed=CC_powerpc-unknown-netbsd CC_powerpc-unknown-netbsd = None cargo:rerun-if-env-changed=CC_powerpc_unknown_netbsd CC_powerpc_unknown_netbsd = None cargo:rerun-if-env-changed=HOST_CC HOST_CC = None cargo:rerun-if-env-changed=CC CC = Some(gcc) cargo:rerun-if-env-changed=CC_KNOWN_WRAPPER_CUSTOM CC_KNOWN_WRAPPER_CUSTOM = None RUSTC_WRAPPER = None cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None DEBUG = Some(false) CARGO_CFG_TARGET_FEATURE = None cargo:rerun-if-env-changed=CFLAGS_powerpc-unknown-netbsd CFLAGS_powerpc-unknown-netbsd = None cargo:rerun-if-env-changed=CFLAGS_powerpc_unknown_netbsd CFLAGS_powerpc_unknown_netbsd = None cargo:rerun-if-env-changed=HOST_CFLAGS HOST_CFLAGS = None cargo:rerun-if-env-changed=CFLAGS CFLAGS = Some(-O2 -I/usr/pkg/include -I/usr/include) cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS CC_SHELL_ESCAPED_FLAGS = None cargo:warning=In file included from include/ring-core/base.h:74, cargo:warning= from include/ring-core/mem.h:60, cargo:warning= from crypto/curve25519/curve25519.c:22: cargo:warning=include/ring-core/target.h:64:2: error: #error "Unknown target CPU" cargo:warning= 64 | #error "Unknown target CPU" cargo:warning= | ^~~~~ cargo:warning=In file included from crypto/curve25519/internal.h:20, cargo:warning= from crypto/curve25519/curve25519.c:24: cargo:warning=crypto/curve25519/../internal.h:219:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" cargo:warning= 219 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" cargo:warning= | ^~~~~ cargo:warning=crypto/curve25519/../internal.h:232:15: error: unknown type name 'crypto_word_t' cargo:warning= 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:232:45: error: unknown type name 'crypto_word_t' cargo:warning= 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:244:15: error: unknown type name 'crypto_word_t' cargo:warning= 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:244:49: error: unknown type name 'crypto_word_t' cargo:warning= 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:249:15: error: unknown type name 'crypto_word_t' cargo:warning= 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:249:53: error: unknown type name 'crypto_word_t' cargo:warning= 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:264:15: error: unknown type name 'crypto_word_t' cargo:warning= 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:264:56: error: unknown type name 'crypto_word_t' cargo:warning= 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:269:15: error: unknown type name 'crypto_word_t' cargo:warning= 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:269:48: error: unknown type name 'crypto_word_t' cargo:warning= 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:270:48: error: unknown type name 'crypto_word_t' cargo:warning= 270 | crypto_word_t b) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:277:15: error: unknown type name 'crypto_word_t' cargo:warning= 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:277:52: error: unknown type name 'crypto_word_t' cargo:warning= 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:278:52: error: unknown type name 'crypto_word_t' cargo:warning= 278 | crypto_word_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:279:52: error: unknown type name 'crypto_word_t' cargo:warning= 279 | crypto_word_t b) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:291:46: error: unknown type name 'crypto_word_t' cargo:warning= 291 | static inline uint8_t constant_time_select_8(crypto_word_t mask, uint8_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:308:59: error: unknown type name 'crypto_word_t' cargo:warning= 308 | const crypto_word_t mask) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h: In function 'constant_time_conditional_memcpy': cargo:warning=crypto/curve25519/../internal.h:313:14: warning: implicit declaration of function 'constant_time_select_8' [-Wimplicit-function-declaration] cargo:warning= 313 | out[i] = constant_time_select_8(mask, in[i], out[i]); cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:313:14: warning: nested extern declaration of 'constant_time_select_8' [-Wnested-externs] cargo:warning=crypto/curve25519/../internal.h: At top level: cargo:warning=crypto/curve25519/../internal.h:322:59: error: unknown type name 'crypto_word_t' cargo:warning= 322 | const crypto_word_t mask) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h: In function 'constant_time_conditional_memxor': cargo:warning=crypto/curve25519/../internal.h:327:15: warning: implicit declaration of function 'value_barrier_w' [-Wimplicit-function-declaration] cargo:warning= 327 | out[i] ^= value_barrier_w(mask) & in[i]; cargo:warning= | ^~~~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:327:15: warning: nested extern declaration of 'value_barrier_w' [-Wnested-externs] cargo:warning=crypto/curve25519/../internal.h: At top level: cargo:warning=crypto/curve25519/../internal.h:359:15: error: unknown type name 'crypto_word_t' cargo:warning= 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:359:56: error: unknown type name 'crypto_word_t' cargo:warning= 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/curve25519.c: In function 'x25519_ge_scalarmult_small_precomp': cargo:warning=crypto/curve25519/curve25519.c:725:35: warning: implicit declaration of function 'constant_time_eq_w' [-Wimplicit-function-declaration] cargo:warning= 725 | cmov(&e, &multiples[j-1], 1&constant_time_eq_w(index, j)); cargo:warning= | ^~~~~~~~~~~~~~~~~~ cargo:warning=crypto/curve25519/curve25519.c:725:35: warning: nested extern declaration of 'constant_time_eq_w' [-Wnested-externs] exit status: 1 cargo:warning=ToolExecError: Command "gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "include" "-I" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out" "-O2" "-I/usr/pkg/include" "-I/usr/include" "-fvisibility=hidden" "-std=c1x" "-Wall" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-g3" "-DNDEBUG" "-o" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out/fad98b632b8ce3cc-curve25519.o" "-c" "crypto/curve25519/curve25519.c" with args gcc did not execute successfully (status code exit status: 1).cargo:warning=In file included from include/ring-core/base.h:74, cargo:warning= from include/ring-core/aes.h:52, cargo:warning= from crypto/fipsmodule/aes/aes_nohw.c:15: cargo:warning=include/ring-core/target.h:64:2: error: #error "Unknown target CPU" cargo:warning= 64 | #error "Unknown target CPU" cargo:warning= | ^~~~~ cargo:warning=In file included from crypto/fipsmodule/aes/aes_nohw.c:17: cargo:warning=crypto/fipsmodule/aes/../../internal.h:219:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" cargo:warning= 219 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" cargo:warning= | ^~~~~ cargo:warning=crypto/fipsmodule/aes/../../internal.h:232:15: error: unknown type name 'crypto_word_t' cargo:warning= 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/aes/../../internal.h:232:45: error: unknown type name 'crypto_word_t' cargo:warning= 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/aes/../../internal.h:244:15: error: unknown type name 'crypto_word_t' cargo:warning= 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/aes/../../internal.h:244:49: error: unknown type name 'crypto_word_t' cargo:warning= 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/aes/../../internal.h:249:15: error: unknown type name 'crypto_word_t' cargo:warning= 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/aes/../../internal.h:249:53: error: unknown type name 'crypto_word_t' cargo:warning= 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/aes/../../internal.h:264:15: error: unknown type name 'crypto_word_t' cargo:warning= 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/aes/../../internal.h:264:56: error: unknown type name 'crypto_word_t' cargo:warning= 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/aes/../../internal.h:269:15: error: unknown type name 'crypto_word_t' cargo:warning= 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/aes/../../internal.h:269:48: error: unknown type name 'crypto_word_t' cargo:warning= 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/aes/../../internal.h:270:48: error: unknown type name 'crypto_word_t' cargo:warning= 270 | crypto_word_t b) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/aes/../../internal.h:277:15: error: unknown type name 'crypto_word_t' cargo:warning= 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/aes/../../internal.h:277:52: error: unknown type name 'crypto_word_t' cargo:warning= 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/aes/../../internal.h:278:52: error: unknown type name 'crypto_word_t' cargo:warning= 278 | crypto_word_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/aes/../../internal.h:279:52: error: unknown type name 'crypto_word_t' cargo:warning= 279 | crypto_word_t b) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/aes/../../internal.h:291:46: error: unknown type name 'crypto_word_t' cargo:warning= 291 | static inline uint8_t constant_time_select_8(crypto_word_t mask, uint8_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/aes/../../internal.h:308:59: error: unknown type name 'crypto_word_t' cargo:warning= 308 | const crypto_word_t mask) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/aes/../../internal.h: In function 'constant_time_conditional_memcpy': cargo:warning=crypto/fipsmodule/aes/../../internal.h:313:14: warning: implicit declaration of function 'constant_time_select_8' [-Wimplicit-function-declaration] cargo:warning= 313 | out[i] = constant_time_select_8(mask, in[i], out[i]); cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/aes/../../internal.h:313:14: warning: nested extern declaration of 'constant_time_select_8' [-Wnested-externs] cargo:warning=crypto/fipsmodule/aes/../../internal.h: At top level: cargo:warning=crypto/fipsmodule/aes/../../internal.h:322:59: error: unknown type name 'crypto_word_t' cargo:warning= 322 | const crypto_word_t mask) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/aes/../../internal.h: In function 'constant_time_conditional_memxor': cargo:warning=crypto/fipsmodule/aes/../../internal.h:327:15: warning: implicit declaration of function 'value_barrier_w' [-Wimplicit-function-declaration] cargo:warning= 327 | out[i] ^= value_barrier_w(mask) & in[i]; cargo:warning= | ^~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/aes/../../internal.h:327:15: warning: nested extern declaration of 'value_barrier_w' [-Wnested-externs] cargo:warning=crypto/fipsmodule/aes/../../internal.h: At top level: cargo:warning=crypto/fipsmodule/aes/../../internal.h:359:15: error: unknown type name 'crypto_word_t' cargo:warning= 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/aes/../../internal.h:359:56: error: unknown type name 'crypto_word_t' cargo:warning= 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { cargo:warning= | ^~~~~~~~~~~~~ exit status: 1 cargo:warning=ToolExecError: Command "gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "include" "-I" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out" "-O2" "-I/usr/pkg/include" "-I/usr/include" "-fvisibility=hidden" "-std=c1x" "-Wall" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-g3" "-DNDEBUG" "-o" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out/ca4b6ef5433f5aeb-aes_nohw.o" "-c" "crypto/fipsmodule/aes/aes_nohw.c" with args gcc did not execute successfully (status code exit status: 1).cargo:warning=In file included from include/ring-core/base.h:74, cargo:warning= from crypto/fipsmodule/bn/internal.h:126, cargo:warning= from crypto/fipsmodule/bn/montgomery.c:109: cargo:warning=include/ring-core/target.h:64:2: error: #error "Unknown target CPU" cargo:warning= 64 | #error "Unknown target CPU" cargo:warning= | ^~~~~ cargo:warning=In file included from crypto/fipsmodule/bn/internal.h:135, cargo:warning= from crypto/fipsmodule/bn/montgomery.c:109: cargo:warning=crypto/fipsmodule/bn/../../internal.h:219:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" cargo:warning= 219 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" cargo:warning= | ^~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:232:15: error: unknown type name 'crypto_word_t' cargo:warning= 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:232:45: error: unknown type name 'crypto_word_t' cargo:warning= 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:244:15: error: unknown type name 'crypto_word_t' cargo:warning= 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:244:49: error: unknown type name 'crypto_word_t' cargo:warning= 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:249:15: error: unknown type name 'crypto_word_t' cargo:warning= 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:249:53: error: unknown type name 'crypto_word_t' cargo:warning= 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:264:15: error: unknown type name 'crypto_word_t' cargo:warning= 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:264:56: error: unknown type name 'crypto_word_t' cargo:warning= 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:269:15: error: unknown type name 'crypto_word_t' cargo:warning= 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:269:48: error: unknown type name 'crypto_word_t' cargo:warning= 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:270:48: error: unknown type name 'crypto_word_t' cargo:warning= 270 | crypto_word_t b) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:277:15: error: unknown type name 'crypto_word_t' cargo:warning= 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:277:52: error: unknown type name 'crypto_word_t' cargo:warning= 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:278:52: error: unknown type name 'crypto_word_t' cargo:warning= 278 | crypto_word_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:279:52: error: unknown type name 'crypto_word_t' cargo:warning= 279 | crypto_word_t b) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:291:46: error: unknown type name 'crypto_word_t' cargo:warning= 291 | static inline uint8_t constant_time_select_8(crypto_word_t mask, uint8_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:308:59: error: unknown type name 'crypto_word_t' cargo:warning= 308 | const crypto_word_t mask) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h: In function 'constant_time_conditional_memcpy': cargo:warning=crypto/fipsmodule/bn/../../internal.h:313:14: warning: implicit declaration of function 'constant_time_select_8' [-Wimplicit-function-declaration] cargo:warning= 313 | out[i] = constant_time_select_8(mask, in[i], out[i]); cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:313:14: warning: nested extern declaration of 'constant_time_select_8' [-Wnested-externs] cargo:warning=crypto/fipsmodule/bn/../../internal.h: At top level: cargo:warning=crypto/fipsmodule/bn/../../internal.h:322:59: error: unknown type name 'crypto_word_t' cargo:warning= 322 | const crypto_word_t mask) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h: In function 'constant_time_conditional_memxor': cargo:warning=crypto/fipsmodule/bn/../../internal.h:327:15: warning: implicit declaration of function 'value_barrier_w' [-Wimplicit-function-declaration] cargo:warning= 327 | out[i] ^= value_barrier_w(mask) & in[i]; cargo:warning= | ^~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:327:15: warning: nested extern declaration of 'value_barrier_w' [-Wnested-externs] cargo:warning=crypto/fipsmodule/bn/../../internal.h: At top level: cargo:warning=crypto/fipsmodule/bn/../../internal.h:359:15: error: unknown type name 'crypto_word_t' cargo:warning= 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:359:56: error: unknown type name 'crypto_word_t' cargo:warning= 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=In file included from crypto/fipsmodule/bn/montgomery.c:109: cargo:warning=crypto/fipsmodule/bn/internal.h:137:9: error: unknown type name 'crypto_word_t' cargo:warning= 137 | typedef crypto_word_t BN_ULONG; cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/internal.h:165:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" cargo:warning= 165 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" cargo:warning= | ^~~~~ cargo:warning=crypto/fipsmodule/bn/internal.h: In function 'bn_umult_lohi': cargo:warning=crypto/fipsmodule/bn/internal.h:191:3: error: unknown type name 'BN_ULLONG'; did you mean 'BN_ULONG'? cargo:warning= 191 | BN_ULLONG result = (BN_ULLONG)a * b; cargo:warning= | ^~~~~~~~~ cargo:warning= | BN_ULONG cargo:warning=crypto/fipsmodule/bn/internal.h:191:23: error: 'BN_ULLONG' undeclared (first use in this function); did you mean 'BN_ULONG'? cargo:warning= 191 | BN_ULLONG result = (BN_ULLONG)a * b; cargo:warning= | ^~~~~~~~~ cargo:warning= | BN_ULONG cargo:warning=crypto/fipsmodule/bn/internal.h:191:23: note: each undeclared identifier is reported only once for each function it appears in cargo:warning=crypto/fipsmodule/bn/internal.h:191:33: error: expected ',' or ';' before 'a' cargo:warning= 191 | BN_ULLONG result = (BN_ULLONG)a * b; cargo:warning= | ^ cargo:warning=crypto/fipsmodule/bn/internal.h:193:36: error: 'BN_BITS2' undeclared (first use in this function) cargo:warning= 193 | *high_out = (BN_ULONG)(result >> BN_BITS2); cargo:warning= | ^~~~~~~~ cargo:warning=In file included from crypto/fipsmodule/bn/montgomery.c:112: cargo:warning=crypto/fipsmodule/bn/../../limbs/limbs.h: At top level: cargo:warning=crypto/fipsmodule/bn/../../limbs/limbs.h:22:9: error: unknown type name 'crypto_word_t' cargo:warning= 22 | typedef crypto_word_t Limb; cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../limbs/limbs.h:24:19: warning: "CRYPTO_WORD_BITS" is not defined, evaluates to 0 [-Wundef] cargo:warning= 24 | #define LIMB_BITS CRYPTO_WORD_BITS cargo:warning= | ^~~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../limbs/limbs.inl:49:5: note: in expansion of macro 'LIMB_BITS' cargo:warning= 49 | #if LIMB_BITS == 64 cargo:warning= | ^~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../limbs/limbs.h:24:19: warning: "CRYPTO_WORD_BITS" is not defined, evaluates to 0 [-Wundef] cargo:warning= 24 | #define LIMB_BITS CRYPTO_WORD_BITS cargo:warning= | ^~~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../limbs/limbs.inl:51:7: note: in expansion of macro 'LIMB_BITS' cargo:warning= 51 | #elif LIMB_BITS == 32 cargo:warning= | ^~~~~~~~~ cargo:warning=In file included from crypto/fipsmodule/bn/montgomery.c:113: cargo:warning=crypto/fipsmodule/bn/../../limbs/limbs.inl: In function 'limb_adc': cargo:warning=crypto/fipsmodule/bn/../../limbs/limbs.inl:64:3: error: unknown type name 'DoubleLimb' cargo:warning= 64 | DoubleLimb x = (DoubleLimb)a + b + carry_in; cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../limbs/limbs.inl:64:19: error: 'DoubleLimb' undeclared (first use in this function) cargo:warning= 64 | DoubleLimb x = (DoubleLimb)a + b + carry_in; cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../limbs/limbs.inl:64:30: error: expected ',' or ';' before 'a' cargo:warning= 64 | DoubleLimb x = (DoubleLimb)a + b + carry_in; cargo:warning= | ^ cargo:warning=In file included from crypto/fipsmodule/bn/montgomery.c:112: cargo:warning=crypto/fipsmodule/bn/../../limbs/limbs.h:24:19: error: 'CRYPTO_WORD_BITS' undeclared (first use in this function) cargo:warning= 24 | #define LIMB_BITS CRYPTO_WORD_BITS cargo:warning= | ^~~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../limbs/limbs.inl:66:22: note: in expansion of macro 'LIMB_BITS' cargo:warning= 66 | ret = (Carry)(x >> LIMB_BITS); cargo:warning= | ^~~~~~~~~ cargo:warning=In file included from crypto/fipsmodule/bn/montgomery.c:113: cargo:warning=crypto/fipsmodule/bn/../../limbs/limbs.inl: In function 'limb_add': cargo:warning=crypto/fipsmodule/bn/../../limbs/limbs.inl:78:3: error: unknown type name 'DoubleLimb' cargo:warning= 78 | DoubleLimb x = (DoubleLimb)a + b; cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../limbs/limbs.inl:78:19: error: 'DoubleLimb' undeclared (first use in this function) cargo:warning= 78 | DoubleLimb x = (DoubleLimb)a + b; cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../limbs/limbs.inl:78:30: error: expected ',' or ';' before 'a' cargo:warning= 78 | DoubleLimb x = (DoubleLimb)a + b; cargo:warning= | ^ cargo:warning=In file included from crypto/fipsmodule/bn/montgomery.c:112: cargo:warning=crypto/fipsmodule/bn/../../limbs/limbs.h:24:19: error: 'CRYPTO_WORD_BITS' undeclared (first use in this function) cargo:warning= 24 | #define LIMB_BITS CRYPTO_WORD_BITS cargo:warning= | ^~~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../limbs/limbs.inl:80:22: note: in expansion of macro 'LIMB_BITS' cargo:warning= 80 | ret = (Carry)(x >> LIMB_BITS); cargo:warning= | ^~~~~~~~~ cargo:warning=In file included from crypto/fipsmodule/bn/montgomery.c:113: cargo:warning=crypto/fipsmodule/bn/../../limbs/limbs.inl: In function 'limb_sbb': cargo:warning=crypto/fipsmodule/bn/../../limbs/limbs.inl:94:3: error: unknown type name 'DoubleLimb' cargo:warning= 94 | DoubleLimb x = (DoubleLimb)a - b - borrow_in; cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../limbs/limbs.inl:94:19: error: 'DoubleLimb' undeclared (first use in this function) cargo:warning= 94 | DoubleLimb x = (DoubleLimb)a - b - borrow_in; cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../limbs/limbs.inl:94:30: error: expected ',' or ';' before 'a' cargo:warning= 94 | DoubleLimb x = (DoubleLimb)a - b - borrow_in; cargo:warning= | ^ cargo:warning=In file included from crypto/fipsmodule/bn/montgomery.c:112: cargo:warning=crypto/fipsmodule/bn/../../limbs/limbs.h:24:19: error: 'CRYPTO_WORD_BITS' undeclared (first use in this function) cargo:warning= 24 | #define LIMB_BITS CRYPTO_WORD_BITS cargo:warning= | ^~~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../limbs/limbs.inl:96:23: note: in expansion of macro 'LIMB_BITS' cargo:warning= 96 | ret = (Carry)((x >> LIMB_BITS) & 1); cargo:warning= | ^~~~~~~~~ cargo:warning=In file included from crypto/fipsmodule/bn/montgomery.c:113: cargo:warning=crypto/fipsmodule/bn/../../limbs/limbs.inl: In function 'limb_sub': cargo:warning=crypto/fipsmodule/bn/../../limbs/limbs.inl:108:3: error: unknown type name 'DoubleLimb' cargo:warning= 108 | DoubleLimb x = (DoubleLimb)a - b; cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../limbs/limbs.inl:108:19: error: 'DoubleLimb' undeclared (first use in this function) cargo:warning= 108 | DoubleLimb x = (DoubleLimb)a - b; cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../limbs/limbs.inl:108:30: error: expected ',' or ';' before 'a' cargo:warning= 108 | DoubleLimb x = (DoubleLimb)a - b; cargo:warning= | ^ cargo:warning=In file included from crypto/fipsmodule/bn/montgomery.c:112: cargo:warning=crypto/fipsmodule/bn/../../limbs/limbs.h:24:19: error: 'CRYPTO_WORD_BITS' undeclared (first use in this function) cargo:warning= 24 | #define LIMB_BITS CRYPTO_WORD_BITS cargo:warning= | ^~~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../limbs/limbs.inl:110:23: note: in expansion of macro 'LIMB_BITS' cargo:warning= 110 | ret = (Carry)((x >> LIMB_BITS) & 1); cargo:warning= | ^~~~~~~~~ cargo:warning=In file included from crypto/fipsmodule/bn/montgomery.c:113: cargo:warning=crypto/fipsmodule/bn/../../limbs/limbs.inl: At top level: cargo:warning=crypto/fipsmodule/bn/../../limbs/limbs.inl:145:33: error: unknown type name 'crypto_word_t' cargo:warning= 145 | crypto_word_t index) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=In file included from include/ring-core/base.h:78, cargo:warning= from crypto/fipsmodule/bn/internal.h:126, cargo:warning= from crypto/fipsmodule/bn/montgomery.c:109: cargo:warning=crypto/fipsmodule/bn/montgomery.c:115:23: error: 'BN_MONT_CTX_N0_LIMBS' undeclared here (not in a function) cargo:warning= 115 | OPENSSL_STATIC_ASSERT(BN_MONT_CTX_N0_LIMBS == 1 || BN_MONT_CTX_N0_LIMBS == 2, cargo:warning= | ^~~~~~~~~~~~~~~~~~~~ cargo:warning=include/ring-core/type_check.h:71:57: note: in definition of macro 'OPENSSL_STATIC_ASSERT' cargo:warning= 71 | #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) cargo:warning= | ^~~~ cargo:warning=crypto/fipsmodule/bn/montgomery.c:115:23: error: expression in static assertion is not an integer cargo:warning= 115 | OPENSSL_STATIC_ASSERT(BN_MONT_CTX_N0_LIMBS == 1 || BN_MONT_CTX_N0_LIMBS == 2, cargo:warning= | ^~~~~~~~~~~~~~~~~~~~ cargo:warning=include/ring-core/type_check.h:71:57: note: in definition of macro 'OPENSSL_STATIC_ASSERT' cargo:warning= 71 | #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) cargo:warning= | ^~~~ cargo:warning=crypto/fipsmodule/bn/montgomery.c:118:3: error: expression in static assertion is not an integer cargo:warning= 118 | sizeof(BN_ULONG) * BN_MONT_CTX_N0_LIMBS == sizeof(uint64_t), cargo:warning= | ^~~~~~ cargo:warning=include/ring-core/type_check.h:71:57: note: in definition of macro 'OPENSSL_STATIC_ASSERT' cargo:warning= 71 | #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) cargo:warning= | ^~~~ cargo:warning=crypto/fipsmodule/bn/montgomery.c: In function 'ring_core_0_17_8_bn_from_montgomery_in_place': cargo:warning=crypto/fipsmodule/bn/montgomery.c:152:10: warning: conversion to 'unsigned int' from 'BN_ULONG' {aka 'int'} may change the sign of the result [-Wsign-conversion] cargo:warning= 152 | v = 0u - v; cargo:warning= | ^ cargo:warning=crypto/fipsmodule/bn/montgomery.c:152:7: warning: conversion to 'BN_ULONG' {aka 'int'} from 'unsigned int' may change the sign of the result [-Wsign-conversion] cargo:warning= 152 | v = 0u - v; cargo:warning= | ^~ cargo:warning=crypto/fipsmodule/bn/montgomery.c:154:12: warning: implicit declaration of function 'constant_time_select_w' [-Wimplicit-function-declaration] cargo:warning= 154 | r[i] = constant_time_select_w(v, a[i], r[i]); cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/montgomery.c:154:12: warning: nested extern declaration of 'constant_time_select_w' [-Wnested-externs] exit status: 1 cargo:warning=ToolExecError: Command "gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "include" "-I" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out" "-O2" "-I/usr/pkg/include" "-I/usr/include" "-fvisibility=hidden" "-std=c1x" "-Wall" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-g3" "-DNDEBUG" "-o" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out/ca8bd8684bb569fa-montgomery.o" "-c" "crypto/fipsmodule/bn/montgomery.c" with args gcc did not execute successfully (status code exit status: 1).cargo:warning=In file included from include/ring-core/base.h:74, cargo:warning= from crypto/fipsmodule/bn/internal.h:126, cargo:warning= from crypto/fipsmodule/bn/montgomery_inv.c:15: cargo:warning=include/ring-core/target.h:64:2: error: #error "Unknown target CPU" cargo:warning= 64 | #error "Unknown target CPU" cargo:warning= | ^~~~~ cargo:warning=In file included from crypto/fipsmodule/bn/internal.h:135, cargo:warning= from crypto/fipsmodule/bn/montgomery_inv.c:15: cargo:warning=crypto/fipsmodule/bn/../../internal.h:219:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" cargo:warning= 219 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" cargo:warning= | ^~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:232:15: error: unknown type name 'crypto_word_t' cargo:warning= 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:232:45: error: unknown type name 'crypto_word_t' cargo:warning= 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:244:15: error: unknown type name 'crypto_word_t' cargo:warning= 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:244:49: error: unknown type name 'crypto_word_t' cargo:warning= 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:249:15: error: unknown type name 'crypto_word_t' cargo:warning= 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:249:53: error: unknown type name 'crypto_word_t' cargo:warning= 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:264:15: error: unknown type name 'crypto_word_t' cargo:warning= 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:264:56: error: unknown type name 'crypto_word_t' cargo:warning= 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:269:15: error: unknown type name 'crypto_word_t' cargo:warning= 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:269:48: error: unknown type name 'crypto_word_t' cargo:warning= 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:270:48: error: unknown type name 'crypto_word_t' cargo:warning= 270 | crypto_word_t b) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:277:15: error: unknown type name 'crypto_word_t' cargo:warning= 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:277:52: error: unknown type name 'crypto_word_t' cargo:warning= 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:278:52: error: unknown type name 'crypto_word_t' cargo:warning= 278 | crypto_word_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:279:52: error: unknown type name 'crypto_word_t' cargo:warning= 279 | crypto_word_t b) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:291:46: error: unknown type name 'crypto_word_t' cargo:warning= 291 | static inline uint8_t constant_time_select_8(crypto_word_t mask, uint8_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:308:59: error: unknown type name 'crypto_word_t' cargo:warning= 308 | const crypto_word_t mask) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h: In function 'constant_time_conditional_memcpy': cargo:warning=crypto/fipsmodule/bn/../../internal.h:313:14: warning: implicit declaration of function 'constant_time_select_8' [-Wimplicit-function-declaration] cargo:warning= 313 | out[i] = constant_time_select_8(mask, in[i], out[i]); cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:313:14: warning: nested extern declaration of 'constant_time_select_8' [-Wnested-externs] cargo:warning=crypto/fipsmodule/bn/../../internal.h: At top level: cargo:warning=crypto/fipsmodule/bn/../../internal.h:322:59: error: unknown type name 'crypto_word_t' cargo:warning= 322 | const crypto_word_t mask) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h: In function 'constant_time_conditional_memxor': cargo:warning=crypto/fipsmodule/bn/../../internal.h:327:15: warning: implicit declaration of function 'value_barrier_w' [-Wimplicit-function-declaration] cargo:warning= 327 | out[i] ^= value_barrier_w(mask) & in[i]; cargo:warning= | ^~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:327:15: warning: nested extern declaration of 'value_barrier_w' [-Wnested-externs] cargo:warning=crypto/fipsmodule/bn/../../internal.h: At top level: cargo:warning=crypto/fipsmodule/bn/../../internal.h:359:15: error: unknown type name 'crypto_word_t' cargo:warning= 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/../../internal.h:359:56: error: unknown type name 'crypto_word_t' cargo:warning= 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=In file included from crypto/fipsmodule/bn/montgomery_inv.c:15: cargo:warning=crypto/fipsmodule/bn/internal.h:137:9: error: unknown type name 'crypto_word_t' cargo:warning= 137 | typedef crypto_word_t BN_ULONG; cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/internal.h:165:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" cargo:warning= 165 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" cargo:warning= | ^~~~~ cargo:warning=crypto/fipsmodule/bn/internal.h: In function 'bn_umult_lohi': cargo:warning=crypto/fipsmodule/bn/internal.h:191:3: error: unknown type name 'BN_ULLONG'; did you mean 'BN_ULONG'? cargo:warning= 191 | BN_ULLONG result = (BN_ULLONG)a * b; cargo:warning= | ^~~~~~~~~ cargo:warning= | BN_ULONG cargo:warning=crypto/fipsmodule/bn/internal.h:191:23: error: 'BN_ULLONG' undeclared (first use in this function); did you mean 'BN_ULONG'? cargo:warning= 191 | BN_ULLONG result = (BN_ULLONG)a * b; cargo:warning= | ^~~~~~~~~ cargo:warning= | BN_ULONG cargo:warning=crypto/fipsmodule/bn/internal.h:191:23: note: each undeclared identifier is reported only once for each function it appears in cargo:warning=crypto/fipsmodule/bn/internal.h:191:33: error: expected ',' or ';' before 'a' cargo:warning= 191 | BN_ULLONG result = (BN_ULLONG)a * b; cargo:warning= | ^ cargo:warning=crypto/fipsmodule/bn/internal.h:193:36: error: 'BN_BITS2' undeclared (first use in this function) cargo:warning= 193 | *high_out = (BN_ULONG)(result >> BN_BITS2); cargo:warning= | ^~~~~~~~ cargo:warning=In file included from include/ring-core/base.h:78, cargo:warning= from crypto/fipsmodule/bn/internal.h:126, cargo:warning= from crypto/fipsmodule/bn/montgomery_inv.c:15: cargo:warning=crypto/fipsmodule/bn/montgomery_inv.c: At top level: cargo:warning=crypto/fipsmodule/bn/montgomery_inv.c:19:23: error: 'BN_MONT_CTX_N0_LIMBS' undeclared here (not in a function) cargo:warning= 19 | OPENSSL_STATIC_ASSERT(BN_MONT_CTX_N0_LIMBS == 1 || BN_MONT_CTX_N0_LIMBS == 2, cargo:warning= | ^~~~~~~~~~~~~~~~~~~~ cargo:warning=include/ring-core/type_check.h:71:57: note: in definition of macro 'OPENSSL_STATIC_ASSERT' cargo:warning= 71 | #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) cargo:warning= | ^~~~ cargo:warning=crypto/fipsmodule/bn/montgomery_inv.c:19:23: error: expression in static assertion is not an integer cargo:warning= 19 | OPENSSL_STATIC_ASSERT(BN_MONT_CTX_N0_LIMBS == 1 || BN_MONT_CTX_N0_LIMBS == 2, cargo:warning= | ^~~~~~~~~~~~~~~~~~~~ cargo:warning=include/ring-core/type_check.h:71:57: note: in definition of macro 'OPENSSL_STATIC_ASSERT' cargo:warning= 71 | #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) cargo:warning= | ^~~~ cargo:warning=crypto/fipsmodule/bn/montgomery_inv.c:21:23: error: expression in static assertion is not an integer cargo:warning= 21 | OPENSSL_STATIC_ASSERT(sizeof(BN_ULONG) * BN_MONT_CTX_N0_LIMBS == sizeof(uint64_t), cargo:warning= | ^~~~~~ cargo:warning=include/ring-core/type_check.h:71:57: note: in definition of macro 'OPENSSL_STATIC_ASSERT' cargo:warning= 71 | #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) cargo:warning= | ^~~~ cargo:warning=crypto/fipsmodule/bn/montgomery_inv.c: In function 'ring_core_0_17_8_bn_neg_inv_mod_r_u64': cargo:warning=crypto/fipsmodule/bn/montgomery_inv.c:25:45: error: 'BN_BITS2' undeclared (first use in this function) cargo:warning= 25 | #define LG_LITTLE_R (BN_MONT_CTX_N0_LIMBS * BN_BITS2) cargo:warning= | ^~~~~~~~ cargo:warning=crypto/fipsmodule/bn/montgomery_inv.c:53:49: note: in expansion of macro 'LG_LITTLE_R' cargo:warning= 53 | static const uint64_t alpha = UINT64_C(1) << (LG_LITTLE_R - 1); cargo:warning= | ^~~~~~~~~~~ cargo:warning=crypto/fipsmodule/bn/montgomery_inv.c:63:5: warning: "BN_BITS2" is not defined, evaluates to 0 [-Wundef] cargo:warning= 63 | #if BN_BITS2 == 64 && defined(BN_ULLONG) cargo:warning= | ^~~~~~~~ cargo:warning=crypto/fipsmodule/bn/montgomery_inv.c:100:5: warning: "BN_BITS2" is not defined, evaluates to 0 [-Wundef] cargo:warning= 100 | #if BN_BITS2 == 64 && defined(BN_ULLONG) cargo:warning= | ^~~~~~~~ exit status: 1 cargo:warning=ToolExecError: Command "gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "include" "-I" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out" "-O2" "-I/usr/pkg/include" "-I/usr/include" "-fvisibility=hidden" "-std=c1x" "-Wall" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-g3" "-DNDEBUG" "-o" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out/ca8bd8684bb569fa-montgomery_inv.o" "-c" "crypto/fipsmodule/bn/montgomery_inv.c" with args gcc did not execute successfully (status code exit status: 1).cargo:warning=In file included from include/ring-core/base.h:74, cargo:warning= from crypto/fipsmodule/ec/ecp_nistz.h:18, cargo:warning= from crypto/fipsmodule/ec/ecp_nistz.c:15: cargo:warning=include/ring-core/target.h:64:2: error: #error "Unknown target CPU" cargo:warning= 64 | #error "Unknown target CPU" cargo:warning= | ^~~~~ cargo:warning=In file included from crypto/fipsmodule/ec/../../limbs/limbs.h:20, cargo:warning= from crypto/fipsmodule/ec/ecp_nistz.h:20, cargo:warning= from crypto/fipsmodule/ec/ecp_nistz.c:15: cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:219:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" cargo:warning= 219 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" cargo:warning= | ^~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:232:15: error: unknown type name 'crypto_word_t' cargo:warning= 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:232:45: error: unknown type name 'crypto_word_t' cargo:warning= 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:244:15: error: unknown type name 'crypto_word_t' cargo:warning= 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:244:49: error: unknown type name 'crypto_word_t' cargo:warning= 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:249:15: error: unknown type name 'crypto_word_t' cargo:warning= 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:249:53: error: unknown type name 'crypto_word_t' cargo:warning= 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:264:15: error: unknown type name 'crypto_word_t' cargo:warning= 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:264:56: error: unknown type name 'crypto_word_t' cargo:warning= 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:269:15: error: unknown type name 'crypto_word_t' cargo:warning= 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:269:48: error: unknown type name 'crypto_word_t' cargo:warning= 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:270:48: error: unknown type name 'crypto_word_t' cargo:warning= 270 | crypto_word_t b) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:277:15: error: unknown type name 'crypto_word_t' cargo:warning= 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:277:52: error: unknown type name 'crypto_word_t' cargo:warning= 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:278:52: error: unknown type name 'crypto_word_t' cargo:warning= 278 | crypto_word_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:279:52: error: unknown type name 'crypto_word_t' cargo:warning= 279 | crypto_word_t b) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:291:46: error: unknown type name 'crypto_word_t' cargo:warning= 291 | static inline uint8_t constant_time_select_8(crypto_word_t mask, uint8_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:308:59: error: unknown type name 'crypto_word_t' cargo:warning= 308 | const crypto_word_t mask) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h: In function 'constant_time_conditional_memcpy': cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:313:14: warning: implicit declaration of function 'constant_time_select_8' [-Wimplicit-function-declaration] cargo:warning= 313 | out[i] = constant_time_select_8(mask, in[i], out[i]); cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:313:14: warning: nested extern declaration of 'constant_time_select_8' [-Wnested-externs] cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h: At top level: cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:322:59: error: unknown type name 'crypto_word_t' cargo:warning= 322 | const crypto_word_t mask) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h: In function 'constant_time_conditional_memxor': cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:327:15: warning: implicit declaration of function 'value_barrier_w' [-Wimplicit-function-declaration] cargo:warning= 327 | out[i] ^= value_barrier_w(mask) & in[i]; cargo:warning= | ^~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:327:15: warning: nested extern declaration of 'value_barrier_w' [-Wnested-externs] cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h: At top level: cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:359:15: error: unknown type name 'crypto_word_t' cargo:warning= 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:359:56: error: unknown type name 'crypto_word_t' cargo:warning= 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=In file included from crypto/fipsmodule/ec/ecp_nistz.h:20, cargo:warning= from crypto/fipsmodule/ec/ecp_nistz.c:15: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.h:22:9: error: unknown type name 'crypto_word_t' cargo:warning= 22 | typedef crypto_word_t Limb; cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=In file included from crypto/fipsmodule/ec/ecp_nistz.c:15: cargo:warning=crypto/fipsmodule/ec/ecp_nistz.h:249:33: error: unknown type name 'crypto_word_t' cargo:warning= 249 | static inline void booth_recode(crypto_word_t *is_negative, crypto_word_t *digit, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/ecp_nistz.h:249:61: error: unknown type name 'crypto_word_t' cargo:warning= 249 | static inline void booth_recode(crypto_word_t *is_negative, crypto_word_t *digit, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/ecp_nistz.h:250:33: error: unknown type name 'crypto_word_t' cargo:warning= 250 | crypto_word_t in, crypto_word_t w) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/ecp_nistz.h:250:51: error: unknown type name 'crypto_word_t' cargo:warning= 250 | crypto_word_t in, crypto_word_t w) { cargo:warning= | ^~~~~~~~~~~~~ exit status: 1 cargo:warning=ToolExecError: Command "gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "include" "-I" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out" "-O2" "-I/usr/pkg/include" "-I/usr/include" "-fvisibility=hidden" "-std=c1x" "-Wall" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-g3" "-DNDEBUG" "-o" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out/a9af75d892b04b75-ecp_nistz.o" "-c" "crypto/fipsmodule/ec/ecp_nistz.c" with args gcc did not execute successfully (status code exit status: 1).cargo:warning=In file included from include/ring-core/base.h:74, cargo:warning= from crypto/fipsmodule/ec/./p256_shared.h:22, cargo:warning= from crypto/fipsmodule/ec/gfp_p256.c:15: cargo:warning=include/ring-core/target.h:64:2: error: #error "Unknown target CPU" cargo:warning= 64 | #error "Unknown target CPU" cargo:warning= | ^~~~~ cargo:warning=In file included from crypto/fipsmodule/ec/./../bn/internal.h:135, cargo:warning= from crypto/fipsmodule/ec/./p256_shared.h:24, cargo:warning= from crypto/fipsmodule/ec/gfp_p256.c:15: cargo:warning=crypto/fipsmodule/ec/./../bn/../../internal.h:219:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" cargo:warning= 219 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" cargo:warning= | ^~~~~ cargo:warning=crypto/fipsmodule/ec/./../bn/../../internal.h:232:15: error: unknown type name 'crypto_word_t' cargo:warning= 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/./../bn/../../internal.h:232:45: error: unknown type name 'crypto_word_t' cargo:warning= 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/./../bn/../../internal.h:244:15: error: unknown type name 'crypto_word_t' cargo:warning= 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/./../bn/../../internal.h:244:49: error: unknown type name 'crypto_word_t' cargo:warning= 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/./../bn/../../internal.h:249:15: error: unknown type name 'crypto_word_t' cargo:warning= 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/./../bn/../../internal.h:249:53: error: unknown type name 'crypto_word_t' cargo:warning= 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/./../bn/../../internal.h:264:15: error: unknown type name 'crypto_word_t' cargo:warning= 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/./../bn/../../internal.h:264:56: error: unknown type name 'crypto_word_t' cargo:warning= 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/./../bn/../../internal.h:269:15: error: unknown type name 'crypto_word_t' cargo:warning= 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/./../bn/../../internal.h:269:48: error: unknown type name 'crypto_word_t' cargo:warning= 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/./../bn/../../internal.h:270:48: error: unknown type name 'crypto_word_t' cargo:warning= 270 | crypto_word_t b) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/./../bn/../../internal.h:277:15: error: unknown type name 'crypto_word_t' cargo:warning= 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/./../bn/../../internal.h:277:52: error: unknown type name 'crypto_word_t' cargo:warning= 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/./../bn/../../internal.h:278:52: error: unknown type name 'crypto_word_t' cargo:warning= 278 | crypto_word_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/./../bn/../../internal.h:279:52: error: unknown type name 'crypto_word_t' cargo:warning= 279 | crypto_word_t b) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/./../bn/../../internal.h:291:46: error: unknown type name 'crypto_word_t' cargo:warning= 291 | static inline uint8_t constant_time_select_8(crypto_word_t mask, uint8_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/./../bn/../../internal.h:308:59: error: unknown type name 'crypto_word_t' cargo:warning= 308 | const crypto_word_t mask) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/./../bn/../../internal.h: In function 'constant_time_conditional_memcpy': cargo:warning=crypto/fipsmodule/ec/./../bn/../../internal.h:313:14: warning: implicit declaration of function 'constant_time_select_8' [-Wimplicit-function-declaration] cargo:warning= 313 | out[i] = constant_time_select_8(mask, in[i], out[i]); cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/./../bn/../../internal.h:313:14: warning: nested extern declaration of 'constant_time_select_8' [-Wnested-externs] cargo:warning=crypto/fipsmodule/ec/./../bn/../../internal.h: At top level: cargo:warning=crypto/fipsmodule/ec/./../bn/../../internal.h:322:59: error: unknown type name 'crypto_word_t' cargo:warning= 322 | const crypto_word_t mask) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/./../bn/../../internal.h: In function 'constant_time_conditional_memxor': cargo:warning=crypto/fipsmodule/ec/./../bn/../../internal.h:327:15: warning: implicit declaration of function 'value_barrier_w' [-Wimplicit-function-declaration] cargo:warning= 327 | out[i] ^= value_barrier_w(mask) & in[i]; cargo:warning= | ^~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/./../bn/../../internal.h:327:15: warning: nested extern declaration of 'value_barrier_w' [-Wnested-externs] cargo:warning=crypto/fipsmodule/ec/./../bn/../../internal.h: At top level: cargo:warning=crypto/fipsmodule/ec/./../bn/../../internal.h:359:15: error: unknown type name 'crypto_word_t' cargo:warning= 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/./../bn/../../internal.h:359:56: error: unknown type name 'crypto_word_t' cargo:warning= 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=In file included from crypto/fipsmodule/ec/./p256_shared.h:24, cargo:warning= from crypto/fipsmodule/ec/gfp_p256.c:15: cargo:warning=crypto/fipsmodule/ec/./../bn/internal.h:137:9: error: unknown type name 'crypto_word_t' cargo:warning= 137 | typedef crypto_word_t BN_ULONG; cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/./../bn/internal.h:165:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" cargo:warning= 165 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" cargo:warning= | ^~~~~ cargo:warning=crypto/fipsmodule/ec/./../bn/internal.h: In function 'bn_umult_lohi': cargo:warning=crypto/fipsmodule/ec/./../bn/internal.h:191:3: error: unknown type name 'BN_ULLONG'; did you mean 'BN_ULONG'? cargo:warning= 191 | BN_ULLONG result = (BN_ULLONG)a * b; cargo:warning= | ^~~~~~~~~ cargo:warning= | BN_ULONG cargo:warning=crypto/fipsmodule/ec/./../bn/internal.h:191:23: error: 'BN_ULLONG' undeclared (first use in this function); did you mean 'BN_ULONG'? cargo:warning= 191 | BN_ULLONG result = (BN_ULLONG)a * b; cargo:warning= | ^~~~~~~~~ cargo:warning= | BN_ULONG cargo:warning=crypto/fipsmodule/ec/./../bn/internal.h:191:23: note: each undeclared identifier is reported only once for each function it appears in cargo:warning=crypto/fipsmodule/ec/./../bn/internal.h:191:33: error: expected ',' or ';' before 'a' cargo:warning= 191 | BN_ULLONG result = (BN_ULLONG)a * b; cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/./../bn/internal.h:193:36: error: 'BN_BITS2' undeclared (first use in this function) cargo:warning= 193 | *high_out = (BN_ULONG)(result >> BN_BITS2); cargo:warning= | ^~~~~~~~ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p256.c:15: cargo:warning=crypto/fipsmodule/ec/./p256_shared.h: At top level: cargo:warning=crypto/fipsmodule/ec/./p256_shared.h:40:27: error: 'BN_BITS2' undeclared here (not in a function) cargo:warning= 40 | #define P256_LIMBS (256 / BN_BITS2) cargo:warning= | ^~~~~~~~ cargo:warning=crypto/fipsmodule/ec/./p256_shared.h:45:14: note: in expansion of macro 'P256_LIMBS' cargo:warning= 45 | BN_ULONG X[P256_LIMBS]; cargo:warning= | ^~~~~~~~~~ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p256.c:17: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.h:22:9: error: unknown type name 'crypto_word_t' cargo:warning= 22 | typedef crypto_word_t Limb; cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/gfp_p256.c:36:3: warning: implicit declaration of function 'BN_MONT_CTX_N0' [-Wimplicit-function-declaration] cargo:warning= 36 | BN_MONT_CTX_N0(0xccd1c8aa, 0xee00bc4f) cargo:warning= | ^~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/gfp_p256.c:36:3: error: initializer element is not constant cargo:warning=crypto/fipsmodule/ec/gfp_p256.c:36:3: note: (near initialization for 'N_N0[0]') cargo:warning=crypto/fipsmodule/ec/gfp_p256.c:39:38: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] cargo:warning= 39 | void p256_scalar_mul_mont(ScalarMont r, const ScalarMont a, cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p256.c:39:58: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] cargo:warning= 39 | void p256_scalar_mul_mont(ScalarMont r, const ScalarMont a, cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p256.c:40:48: warning: type defaults to 'int' in declaration of 'b' [-Wimplicit-int] cargo:warning= 40 | const ScalarMont b) { cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p256.c: In function 'ring_core_0_17_8_p256_scalar_mul_mont': cargo:warning=crypto/fipsmodule/ec/gfp_p256.c:42:15: warning: passing argument 1 of 'ring_core_0_17_8_bn_mul_mont' makes pointer from integer without a cast [-Wint-conversion] cargo:warning= 42 | bn_mul_mont(r, a, b, N, N_N0, P256_LIMBS); cargo:warning= | ^ cargo:warning= | | cargo:warning= | int cargo:warning=In file included from crypto/fipsmodule/ec/./p256_shared.h:24, cargo:warning= from crypto/fipsmodule/ec/gfp_p256.c:15: cargo:warning=crypto/fipsmodule/ec/./../bn/internal.h:183:28: note: expected 'BN_ULONG *' {aka 'int *'} but argument is of type 'int' cargo:warning= 183 | void bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, cargo:warning= | ~~~~~~~~~~^~ cargo:warning=crypto/fipsmodule/ec/gfp_p256.c:42:18: warning: passing argument 2 of 'ring_core_0_17_8_bn_mul_mont' makes pointer from integer without a cast [-Wint-conversion] cargo:warning= 42 | bn_mul_mont(r, a, b, N, N_N0, P256_LIMBS); cargo:warning= | ^ cargo:warning= | | cargo:warning= | int cargo:warning=In file included from crypto/fipsmodule/ec/./p256_shared.h:24, cargo:warning= from crypto/fipsmodule/ec/gfp_p256.c:15: cargo:warning=crypto/fipsmodule/ec/./../bn/internal.h:183:48: note: expected 'const BN_ULONG *' {aka 'const int *'} but argument is of type 'int' cargo:warning= 183 | void bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, cargo:warning= | ~~~~~~~~~~~~~~~~^~ cargo:warning=crypto/fipsmodule/ec/gfp_p256.c:42:21: warning: passing argument 3 of 'ring_core_0_17_8_bn_mul_mont' makes pointer from integer without a cast [-Wint-conversion] cargo:warning= 42 | bn_mul_mont(r, a, b, N, N_N0, P256_LIMBS); cargo:warning= | ^ cargo:warning= | | cargo:warning= | int cargo:warning=In file included from crypto/fipsmodule/ec/./p256_shared.h:24, cargo:warning= from crypto/fipsmodule/ec/gfp_p256.c:15: cargo:warning=crypto/fipsmodule/ec/./../bn/internal.h:183:68: note: expected 'const BN_ULONG *' {aka 'const int *'} but argument is of type 'int' cargo:warning= 183 | void bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, cargo:warning= | ~~~~~~~~~~~~~~~~^~ cargo:warning=crypto/fipsmodule/ec/gfp_p256.c: At top level: cargo:warning=crypto/fipsmodule/ec/gfp_p256.c:46:42: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] cargo:warning= 46 | void p256_scalar_sqr_rep_mont(ScalarMont r, const ScalarMont a, Limb rep) { cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p256.c:46:62: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] cargo:warning= 46 | void p256_scalar_sqr_rep_mont(ScalarMont r, const ScalarMont a, Limb rep) { cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p256.c:26:23: warning: 'N' defined but not used [-Wunused-variable] cargo:warning= 26 | static const BN_ULONG N[P256_LIMBS] = { cargo:warning= | ^ exit status: 1 cargo:warning=ToolExecError: Command "gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "include" "-I" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out" "-O2" "-I/usr/pkg/include" "-I/usr/include" "-fvisibility=hidden" "-std=c1x" "-Wall" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-g3" "-DNDEBUG" "-o" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out/a9af75d892b04b75-gfp_p256.o" "-c" "crypto/fipsmodule/ec/gfp_p256.c" with args gcc did not execute successfully (status code exit status: 1).cargo:warning=In file included from include/ring-core/base.h:74, cargo:warning= from crypto/fipsmodule/ec/../../limbs/limbs.h:18, cargo:warning= from crypto/fipsmodule/ec/gfp_p384.c:15: cargo:warning=include/ring-core/target.h:64:2: error: #error "Unknown target CPU" cargo:warning= 64 | #error "Unknown target CPU" cargo:warning= | ^~~~~ cargo:warning=In file included from crypto/fipsmodule/ec/../../limbs/limbs.h:20, cargo:warning= from crypto/fipsmodule/ec/gfp_p384.c:15: cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:219:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" cargo:warning= 219 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" cargo:warning= | ^~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:232:15: error: unknown type name 'crypto_word_t' cargo:warning= 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:232:45: error: unknown type name 'crypto_word_t' cargo:warning= 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:244:15: error: unknown type name 'crypto_word_t' cargo:warning= 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:244:49: error: unknown type name 'crypto_word_t' cargo:warning= 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:249:15: error: unknown type name 'crypto_word_t' cargo:warning= 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:249:53: error: unknown type name 'crypto_word_t' cargo:warning= 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:264:15: error: unknown type name 'crypto_word_t' cargo:warning= 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:264:56: error: unknown type name 'crypto_word_t' cargo:warning= 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:269:15: error: unknown type name 'crypto_word_t' cargo:warning= 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:269:48: error: unknown type name 'crypto_word_t' cargo:warning= 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:270:48: error: unknown type name 'crypto_word_t' cargo:warning= 270 | crypto_word_t b) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:277:15: error: unknown type name 'crypto_word_t' cargo:warning= 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:277:52: error: unknown type name 'crypto_word_t' cargo:warning= 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:278:52: error: unknown type name 'crypto_word_t' cargo:warning= 278 | crypto_word_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:279:52: error: unknown type name 'crypto_word_t' cargo:warning= 279 | crypto_word_t b) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:291:46: error: unknown type name 'crypto_word_t' cargo:warning= 291 | static inline uint8_t constant_time_select_8(crypto_word_t mask, uint8_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:308:59: error: unknown type name 'crypto_word_t' cargo:warning= 308 | const crypto_word_t mask) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h: In function 'constant_time_conditional_memcpy': cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:313:14: warning: implicit declaration of function 'constant_time_select_8' [-Wimplicit-function-declaration] cargo:warning= 313 | out[i] = constant_time_select_8(mask, in[i], out[i]); cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:313:14: warning: nested extern declaration of 'constant_time_select_8' [-Wnested-externs] cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h: At top level: cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:322:59: error: unknown type name 'crypto_word_t' cargo:warning= 322 | const crypto_word_t mask) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h: In function 'constant_time_conditional_memxor': cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:327:15: warning: implicit declaration of function 'value_barrier_w' [-Wimplicit-function-declaration] cargo:warning= 327 | out[i] ^= value_barrier_w(mask) & in[i]; cargo:warning= | ^~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:327:15: warning: nested extern declaration of 'value_barrier_w' [-Wnested-externs] cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h: At top level: cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:359:15: error: unknown type name 'crypto_word_t' cargo:warning= 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:359:56: error: unknown type name 'crypto_word_t' cargo:warning= 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:15: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.h:22:9: error: unknown type name 'crypto_word_t' cargo:warning= 22 | typedef crypto_word_t Limb; cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.h:24:19: error: 'CRYPTO_WORD_BITS' undeclared here (not in a function) cargo:warning= 24 | #define LIMB_BITS CRYPTO_WORD_BITS cargo:warning= | ^~~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.h:20:28: note: in expansion of macro 'LIMB_BITS' cargo:warning= 20 | #define P384_LIMBS (384u / LIMB_BITS) cargo:warning= | ^~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.h:23:10: note: in expansion of macro 'P384_LIMBS' cargo:warning= 23 | Limb X[P384_LIMBS]; cargo:warning= | ^~~~~~~~~~ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:18: cargo:warning=crypto/fipsmodule/ec/../bn/internal.h:137:9: error: unknown type name 'crypto_word_t' cargo:warning= 137 | typedef crypto_word_t BN_ULONG; cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../bn/internal.h:165:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" cargo:warning= 165 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" cargo:warning= | ^~~~~ cargo:warning=crypto/fipsmodule/ec/../bn/internal.h: In function 'bn_umult_lohi': cargo:warning=crypto/fipsmodule/ec/../bn/internal.h:191:3: error: unknown type name 'BN_ULLONG'; did you mean 'BN_ULONG'? cargo:warning= 191 | BN_ULLONG result = (BN_ULLONG)a * b; cargo:warning= | ^~~~~~~~~ cargo:warning= | BN_ULONG cargo:warning=crypto/fipsmodule/ec/../bn/internal.h:191:23: error: 'BN_ULLONG' undeclared (first use in this function); did you mean 'BN_ULONG'? cargo:warning= 191 | BN_ULLONG result = (BN_ULLONG)a * b; cargo:warning= | ^~~~~~~~~ cargo:warning= | BN_ULONG cargo:warning=crypto/fipsmodule/ec/../bn/internal.h:191:23: note: each undeclared identifier is reported only once for each function it appears in cargo:warning=crypto/fipsmodule/ec/../bn/internal.h:191:33: error: expected ',' or ';' before 'a' cargo:warning= 191 | BN_ULLONG result = (BN_ULLONG)a * b; cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/../bn/internal.h:193:36: error: 'BN_BITS2' undeclared (first use in this function) cargo:warning= 193 | *high_out = (BN_ULONG)(result >> BN_BITS2); cargo:warning= | ^~~~~~~~ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:15: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl: At top level: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.h:24:19: warning: "CRYPTO_WORD_BITS" is not defined, evaluates to 0 [-Wundef] cargo:warning= 24 | #define LIMB_BITS CRYPTO_WORD_BITS cargo:warning= | ^~~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:49:5: note: in expansion of macro 'LIMB_BITS' cargo:warning= 49 | #if LIMB_BITS == 64 cargo:warning= | ^~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.h:24:19: warning: "CRYPTO_WORD_BITS" is not defined, evaluates to 0 [-Wundef] cargo:warning= 24 | #define LIMB_BITS CRYPTO_WORD_BITS cargo:warning= | ^~~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:51:7: note: in expansion of macro 'LIMB_BITS' cargo:warning= 51 | #elif LIMB_BITS == 32 cargo:warning= | ^~~~~~~~~ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:21: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl: In function 'limb_adc': cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:64:3: error: unknown type name 'DoubleLimb' cargo:warning= 64 | DoubleLimb x = (DoubleLimb)a + b + carry_in; cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:64:19: error: 'DoubleLimb' undeclared (first use in this function) cargo:warning= 64 | DoubleLimb x = (DoubleLimb)a + b + carry_in; cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:64:30: error: expected ',' or ';' before 'a' cargo:warning= 64 | DoubleLimb x = (DoubleLimb)a + b + carry_in; cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl: In function 'limb_add': cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:78:3: error: unknown type name 'DoubleLimb' cargo:warning= 78 | DoubleLimb x = (DoubleLimb)a + b; cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:78:19: error: 'DoubleLimb' undeclared (first use in this function) cargo:warning= 78 | DoubleLimb x = (DoubleLimb)a + b; cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:78:30: error: expected ',' or ';' before 'a' cargo:warning= 78 | DoubleLimb x = (DoubleLimb)a + b; cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl: In function 'limb_sbb': cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:94:3: error: unknown type name 'DoubleLimb' cargo:warning= 94 | DoubleLimb x = (DoubleLimb)a - b - borrow_in; cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:94:19: error: 'DoubleLimb' undeclared (first use in this function) cargo:warning= 94 | DoubleLimb x = (DoubleLimb)a - b - borrow_in; cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:94:30: error: expected ',' or ';' before 'a' cargo:warning= 94 | DoubleLimb x = (DoubleLimb)a - b - borrow_in; cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl: In function 'limb_sub': cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:108:3: error: unknown type name 'DoubleLimb' cargo:warning= 108 | DoubleLimb x = (DoubleLimb)a - b; cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:108:19: error: 'DoubleLimb' undeclared (first use in this function) cargo:warning= 108 | DoubleLimb x = (DoubleLimb)a - b; cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:108:30: error: expected ',' or ';' before 'a' cargo:warning= 108 | DoubleLimb x = (DoubleLimb)a - b; cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl: At top level: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:145:33: error: unknown type name 'crypto_word_t' cargo:warning= 145 | crypto_word_t index) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:60:19: warning: type defaults to 'int' in declaration of 'Q_PLUS_1_SHR_1' [-Wimplicit-int] cargo:warning= 60 | static const Elem Q_PLUS_1_SHR_1 = { cargo:warning= | ^~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:65:3: warning: signed conversion from 'unsigned int' to 'int' changes value from '2147483648' to '-2147483648' [-Wsign-conversion] cargo:warning= 65 | 0x80000000, 0, 0x80000000, 0x7fffffff, 0xffffffff, 0xffffffff, 0xffffffff, cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:65:15: warning: excess elements in scalar initializer cargo:warning= 65 | 0x80000000, 0, 0x80000000, 0x7fffffff, 0xffffffff, 0xffffffff, 0xffffffff, cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:65:15: note: (near initialization for 'Q_PLUS_1_SHR_1') cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:65:18: warning: excess elements in scalar initializer cargo:warning= 65 | 0x80000000, 0, 0x80000000, 0x7fffffff, 0xffffffff, 0xffffffff, 0xffffffff, cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:65:18: note: (near initialization for 'Q_PLUS_1_SHR_1') cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:65:30: warning: excess elements in scalar initializer cargo:warning= 65 | 0x80000000, 0, 0x80000000, 0x7fffffff, 0xffffffff, 0xffffffff, 0xffffffff, cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:65:30: note: (near initialization for 'Q_PLUS_1_SHR_1') cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:65:42: warning: excess elements in scalar initializer cargo:warning= 65 | 0x80000000, 0, 0x80000000, 0x7fffffff, 0xffffffff, 0xffffffff, 0xffffffff, cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:65:42: note: (near initialization for 'Q_PLUS_1_SHR_1') cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:65:54: warning: excess elements in scalar initializer cargo:warning= 65 | 0x80000000, 0, 0x80000000, 0x7fffffff, 0xffffffff, 0xffffffff, 0xffffffff, cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:65:54: note: (near initialization for 'Q_PLUS_1_SHR_1') cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:65:66: warning: excess elements in scalar initializer cargo:warning= 65 | 0x80000000, 0, 0x80000000, 0x7fffffff, 0xffffffff, 0xffffffff, 0xffffffff, cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:65:66: note: (near initialization for 'Q_PLUS_1_SHR_1') cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:66:3: warning: excess elements in scalar initializer cargo:warning= 66 | 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x7fffffff cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:66:3: note: (near initialization for 'Q_PLUS_1_SHR_1') cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:66:15: warning: excess elements in scalar initializer cargo:warning= 66 | 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x7fffffff cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:66:15: note: (near initialization for 'Q_PLUS_1_SHR_1') cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:66:27: warning: excess elements in scalar initializer cargo:warning= 66 | 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x7fffffff cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:66:27: note: (near initialization for 'Q_PLUS_1_SHR_1') cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:66:39: warning: excess elements in scalar initializer cargo:warning= 66 | 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x7fffffff cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:66:39: note: (near initialization for 'Q_PLUS_1_SHR_1') cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:66:51: warning: excess elements in scalar initializer cargo:warning= 66 | 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x7fffffff cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:66:51: note: (near initialization for 'Q_PLUS_1_SHR_1') cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:71:3: warning: implicit declaration of function 'BN_MONT_CTX_N0' [-Wimplicit-function-declaration] cargo:warning= 71 | BN_MONT_CTX_N0(1, 1) cargo:warning= | ^~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:71:3: error: initializer element is not constant cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:71:3: note: (near initialization for 'Q_N0[0]') cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:75:3: error: initializer element is not constant cargo:warning= 75 | BN_MONT_CTX_N0(0x6ed46089, 0xe88fdc45) cargo:warning= | ^~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:75:3: note: (near initialization for 'N_N0[0]') cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:86:40: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] cargo:warning= 86 | static inline Limb is_equal(const Elem a, const Elem b) { cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:86:54: warning: type defaults to 'int' in declaration of 'b' [-Wimplicit-int] cargo:warning= 86 | static inline Limb is_equal(const Elem a, const Elem b) { cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c: In function 'is_equal': cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:87:22: warning: passing argument 1 of 'ring_core_0_17_8_LIMBS_equal' makes pointer from integer without a cast [-Wint-conversion] cargo:warning= 87 | return LIMBS_equal(a, b, P384_LIMBS); cargo:warning= | ^ cargo:warning= | | cargo:warning= | int cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:15: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.h:30:29: note: expected 'const Limb *' {aka 'const int *'} but argument is of type 'int' cargo:warning= 30 | Limb LIMBS_equal(const Limb a[], const Limb b[], size_t num_limbs); cargo:warning= | ~~~~~~~~~~~^~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:87:25: warning: passing argument 2 of 'ring_core_0_17_8_LIMBS_equal' makes pointer from integer without a cast [-Wint-conversion] cargo:warning= 87 | return LIMBS_equal(a, b, P384_LIMBS); cargo:warning= | ^ cargo:warning= | | cargo:warning= | int cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:15: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.h:30:45: note: expected 'const Limb *' {aka 'const int *'} but argument is of type 'int' cargo:warning= 30 | Limb LIMBS_equal(const Limb a[], const Limb b[], size_t num_limbs); cargo:warning= | ~~~~~~~~~~~^~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c: At top level: cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:94:42: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] cargo:warning= 94 | static inline void copy_conditional(Elem r, const Elem a, cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:94:56: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] cargo:warning= 94 | static inline void copy_conditional(Elem r, const Elem a, cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c: In function 'copy_conditional': cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:97:6: error: subscripted value is neither array nor pointer nor vector cargo:warning= 97 | r[i] = constant_time_select_w(condition, a[i], r[i]); cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:97:12: warning: implicit declaration of function 'constant_time_select_w' [-Wimplicit-function-declaration] cargo:warning= 97 | r[i] = constant_time_select_w(condition, a[i], r[i]); cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:97:12: warning: nested extern declaration of 'constant_time_select_w' [-Wnested-externs] cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:97:47: error: subscripted value is neither array nor pointer nor vector cargo:warning= 97 | r[i] = constant_time_select_w(condition, a[i], r[i]); cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:97:53: error: subscripted value is neither array nor pointer nor vector cargo:warning= 97 | r[i] = constant_time_select_w(condition, a[i], r[i]); cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c: At top level: cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:102:34: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] cargo:warning= 102 | static inline void elem_add(Elem r, const Elem a, const Elem b) { cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:102:48: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] cargo:warning= 102 | static inline void elem_add(Elem r, const Elem a, const Elem b) { cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:102:62: warning: type defaults to 'int' in declaration of 'b' [-Wimplicit-int] cargo:warning= 102 | static inline void elem_add(Elem r, const Elem a, const Elem b) { cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c: In function 'elem_add': cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:103:17: warning: passing argument 1 of 'ring_core_0_17_8_LIMBS_add_mod' makes pointer from integer without a cast [-Wint-conversion] cargo:warning= 103 | LIMBS_add_mod(r, a, b, Q, P384_LIMBS); cargo:warning= | ^ cargo:warning= | | cargo:warning= | int cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:15: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.h:33:25: note: expected 'Limb *' {aka 'int *'} but argument is of type 'int' cargo:warning= 33 | void LIMBS_add_mod(Limb r[], const Limb a[], const Limb b[], const Limb m[], cargo:warning= | ~~~~~^~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:103:20: warning: passing argument 2 of 'ring_core_0_17_8_LIMBS_add_mod' makes pointer from integer without a cast [-Wint-conversion] cargo:warning= 103 | LIMBS_add_mod(r, a, b, Q, P384_LIMBS); cargo:warning= | ^ cargo:warning= | | cargo:warning= | int cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:15: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.h:33:41: note: expected 'const Limb *' {aka 'const int *'} but argument is of type 'int' cargo:warning= 33 | void LIMBS_add_mod(Limb r[], const Limb a[], const Limb b[], const Limb m[], cargo:warning= | ~~~~~~~~~~~^~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:103:23: warning: passing argument 3 of 'ring_core_0_17_8_LIMBS_add_mod' makes pointer from integer without a cast [-Wint-conversion] cargo:warning= 103 | LIMBS_add_mod(r, a, b, Q, P384_LIMBS); cargo:warning= | ^ cargo:warning= | | cargo:warning= | int cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:15: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.h:33:57: note: expected 'const Limb *' {aka 'const int *'} but argument is of type 'int' cargo:warning= 33 | void LIMBS_add_mod(Limb r[], const Limb a[], const Limb b[], const Limb m[], cargo:warning= | ~~~~~~~~~~~^~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c: At top level: cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:106:34: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] cargo:warning= 106 | static inline void elem_sub(Elem r, const Elem a, const Elem b) { cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:106:48: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] cargo:warning= 106 | static inline void elem_sub(Elem r, const Elem a, const Elem b) { cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:106:62: warning: type defaults to 'int' in declaration of 'b' [-Wimplicit-int] cargo:warning= 106 | static inline void elem_sub(Elem r, const Elem a, const Elem b) { cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c: In function 'elem_sub': cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:107:17: warning: passing argument 1 of 'ring_core_0_17_8_LIMBS_sub_mod' makes pointer from integer without a cast [-Wint-conversion] cargo:warning= 107 | LIMBS_sub_mod(r, a, b, Q, P384_LIMBS); cargo:warning= | ^ cargo:warning= | | cargo:warning= | int cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:15: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.h:35:25: note: expected 'Limb *' {aka 'int *'} but argument is of type 'int' cargo:warning= 35 | void LIMBS_sub_mod(Limb r[], const Limb a[], const Limb b[], const Limb m[], cargo:warning= | ~~~~~^~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:107:20: warning: passing argument 2 of 'ring_core_0_17_8_LIMBS_sub_mod' makes pointer from integer without a cast [-Wint-conversion] cargo:warning= 107 | LIMBS_sub_mod(r, a, b, Q, P384_LIMBS); cargo:warning= | ^ cargo:warning= | | cargo:warning= | int cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:15: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.h:35:41: note: expected 'const Limb *' {aka 'const int *'} but argument is of type 'int' cargo:warning= 35 | void LIMBS_sub_mod(Limb r[], const Limb a[], const Limb b[], const Limb m[], cargo:warning= | ~~~~~~~~~~~^~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:107:23: warning: passing argument 3 of 'ring_core_0_17_8_LIMBS_sub_mod' makes pointer from integer without a cast [-Wint-conversion] cargo:warning= 107 | LIMBS_sub_mod(r, a, b, Q, P384_LIMBS); cargo:warning= | ^ cargo:warning= | | cargo:warning= | int cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:15: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.h:35:57: note: expected 'const Limb *' {aka 'const int *'} but argument is of type 'int' cargo:warning= 35 | void LIMBS_sub_mod(Limb r[], const Limb a[], const Limb b[], const Limb m[], cargo:warning= | ~~~~~~~~~~~^~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c: At top level: cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:110:32: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] cargo:warning= 110 | static void elem_div_by_2(Elem r, const Elem a) { cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:110:46: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] cargo:warning= 110 | static void elem_div_by_2(Elem r, const Elem a) { cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c: In function 'elem_div_by_2': cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:152:17: warning: implicit declaration of function 'constant_time_is_nonzero_w' [-Wimplicit-function-declaration] cargo:warning= 152 | Limb is_odd = constant_time_is_nonzero_w(a[0] & 1); cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:152:17: warning: nested extern declaration of 'constant_time_is_nonzero_w' [-Wnested-externs] cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:152:45: error: subscripted value is neither array nor pointer nor vector cargo:warning= 152 | Limb is_odd = constant_time_is_nonzero_w(a[0] & 1); cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:164:8: warning: type defaults to 'int' in declaration of 'adjusted' [-Wimplicit-int] cargo:warning= 164 | Elem adjusted; cargo:warning= | ^~~~~~~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:165:31: warning: passing argument 1 of 'limbs_add' makes pointer from integer without a cast [-Wint-conversion] cargo:warning= 165 | BN_ULONG carry2 = limbs_add(adjusted, r, Q_PLUS_1_SHR_1, P384_LIMBS); cargo:warning= | ^~~~~~~~ cargo:warning= | | cargo:warning= | int cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:21: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:116:36: note: expected 'Limb *' {aka 'int *'} but argument is of type 'int' cargo:warning= 116 | static inline Carry limbs_add(Limb r[], const Limb a[], const Limb b[], cargo:warning= | ~~~~~^~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:165:41: warning: passing argument 2 of 'limbs_add' makes pointer from integer without a cast [-Wint-conversion] cargo:warning= 165 | BN_ULONG carry2 = limbs_add(adjusted, r, Q_PLUS_1_SHR_1, P384_LIMBS); cargo:warning= | ^ cargo:warning= | | cargo:warning= | int cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:21: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:116:52: note: expected 'const Limb *' {aka 'const int *'} but argument is of type 'int' cargo:warning= 116 | static inline Carry limbs_add(Limb r[], const Limb a[], const Limb b[], cargo:warning= | ~~~~~~~~~~~^~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:165:44: warning: passing argument 3 of 'limbs_add' makes pointer from integer without a cast [-Wint-conversion] cargo:warning= 165 | BN_ULONG carry2 = limbs_add(adjusted, r, Q_PLUS_1_SHR_1, P384_LIMBS); cargo:warning= | ^~~~~~~~~~~~~~ cargo:warning= | | cargo:warning= | int cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:21: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:116:68: note: expected 'const Limb *' {aka 'const int *'} but argument is of type 'int' cargo:warning= 116 | static inline Carry limbs_add(Limb r[], const Limb a[], const Limb b[], cargo:warning= | ~~~~~~~~~~~^~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c: At top level: cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:171:39: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] cargo:warning= 171 | static inline void elem_mul_mont(Elem r, const Elem a, const Elem b) { cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:171:53: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] cargo:warning= 171 | static inline void elem_mul_mont(Elem r, const Elem a, const Elem b) { cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:171:67: warning: type defaults to 'int' in declaration of 'b' [-Wimplicit-int] cargo:warning= 171 | static inline void elem_mul_mont(Elem r, const Elem a, const Elem b) { cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c: In function 'elem_mul_mont': cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:173:15: warning: passing argument 1 of 'ring_core_0_17_8_bn_mul_mont' makes pointer from integer without a cast [-Wint-conversion] cargo:warning= 173 | bn_mul_mont(r, a, b, Q, Q_N0, P384_LIMBS); cargo:warning= | ^ cargo:warning= | | cargo:warning= | int cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:18: cargo:warning=crypto/fipsmodule/ec/../bn/internal.h:183:28: note: expected 'BN_ULONG *' {aka 'int *'} but argument is of type 'int' cargo:warning= 183 | void bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, cargo:warning= | ~~~~~~~~~~^~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:173:18: warning: passing argument 2 of 'ring_core_0_17_8_bn_mul_mont' makes pointer from integer without a cast [-Wint-conversion] cargo:warning= 173 | bn_mul_mont(r, a, b, Q, Q_N0, P384_LIMBS); cargo:warning= | ^ cargo:warning= | | cargo:warning= | int cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:18: cargo:warning=crypto/fipsmodule/ec/../bn/internal.h:183:48: note: expected 'const BN_ULONG *' {aka 'const int *'} but argument is of type 'int' cargo:warning= 183 | void bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, cargo:warning= | ~~~~~~~~~~~~~~~~^~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:173:21: warning: passing argument 3 of 'ring_core_0_17_8_bn_mul_mont' makes pointer from integer without a cast [-Wint-conversion] cargo:warning= 173 | bn_mul_mont(r, a, b, Q, Q_N0, P384_LIMBS); cargo:warning= | ^ cargo:warning= | | cargo:warning= | int cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:18: cargo:warning=crypto/fipsmodule/ec/../bn/internal.h:183:68: note: expected 'const BN_ULONG *' {aka 'const int *'} but argument is of type 'int' cargo:warning= 183 | void bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, cargo:warning= | ~~~~~~~~~~~~~~~~^~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c: At top level: cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:176:39: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] cargo:warning= 176 | static inline void elem_mul_by_2(Elem r, const Elem a) { cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:176:53: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] cargo:warning= 176 | static inline void elem_mul_by_2(Elem r, const Elem a) { cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c: In function 'elem_mul_by_2': cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:177:17: warning: passing argument 1 of 'ring_core_0_17_8_LIMBS_shl_mod' makes pointer from integer without a cast [-Wint-conversion] cargo:warning= 177 | LIMBS_shl_mod(r, a, Q, P384_LIMBS); cargo:warning= | ^ cargo:warning= | | cargo:warning= | int cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:15: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.h:37:25: note: expected 'Limb *' {aka 'int *'} but argument is of type 'int' cargo:warning= 37 | void LIMBS_shl_mod(Limb r[], const Limb a[], const Limb m[], size_t num_limbs); cargo:warning= | ~~~~~^~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:177:20: warning: passing argument 2 of 'ring_core_0_17_8_LIMBS_shl_mod' makes pointer from integer without a cast [-Wint-conversion] cargo:warning= 177 | LIMBS_shl_mod(r, a, Q, P384_LIMBS); cargo:warning= | ^ cargo:warning= | | cargo:warning= | int cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:15: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.h:37:41: note: expected 'const Limb *' {aka 'const int *'} but argument is of type 'int' cargo:warning= 37 | void LIMBS_shl_mod(Limb r[], const Limb a[], const Limb m[], size_t num_limbs); cargo:warning= | ~~~~~~~~~~~^~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c: At top level: cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:180:51: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] cargo:warning= 180 | static INLINE_IF_POSSIBLE void elem_mul_by_3(Elem r, const Elem a) { cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:180:65: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] cargo:warning= 180 | static INLINE_IF_POSSIBLE void elem_mul_by_3(Elem r, const Elem a) { cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c: In function 'elem_mul_by_3': cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:182:8: warning: type defaults to 'int' in declaration of 'doubled' [-Wimplicit-int] cargo:warning= 182 | Elem doubled; cargo:warning= | ^~~~~~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c: At top level: cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:187:39: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] cargo:warning= 187 | static inline void elem_sqr_mont(Elem r, const Elem a) { cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:187:53: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] cargo:warning= 187 | static inline void elem_sqr_mont(Elem r, const Elem a) { cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:192:25: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] cargo:warning= 192 | void p384_elem_sub(Elem r, const Elem a, const Elem b) { cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:192:39: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] cargo:warning= 192 | void p384_elem_sub(Elem r, const Elem a, const Elem b) { cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:192:53: warning: type defaults to 'int' in declaration of 'b' [-Wimplicit-int] cargo:warning= 192 | void p384_elem_sub(Elem r, const Elem a, const Elem b) { cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:196:30: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] cargo:warning= 196 | void p384_elem_div_by_2(Elem r, const Elem a) { cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:196:44: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] cargo:warning= 196 | void p384_elem_div_by_2(Elem r, const Elem a) { cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:200:30: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] cargo:warning= 200 | void p384_elem_mul_mont(Elem r, const Elem a, const Elem b) { cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:200:44: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] cargo:warning= 200 | void p384_elem_mul_mont(Elem r, const Elem a, const Elem b) { cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:200:58: warning: type defaults to 'int' in declaration of 'b' [-Wimplicit-int] cargo:warning= 200 | void p384_elem_mul_mont(Elem r, const Elem a, const Elem b) { cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:204:25: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] cargo:warning= 204 | void p384_elem_neg(Elem r, const Elem a) { cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:204:39: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] cargo:warning= 204 | void p384_elem_neg(Elem r, const Elem a) { cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c: In function 'ring_core_0_17_8_p384_elem_neg': cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:205:33: warning: passing argument 1 of 'ring_core_0_17_8_LIMBS_are_zero' makes pointer from integer without a cast [-Wint-conversion] cargo:warning= 205 | Limb is_zero = LIMBS_are_zero(a, P384_LIMBS); cargo:warning= | ^ cargo:warning= | | cargo:warning= | int cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:15: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.h:28:32: note: expected 'const Limb *' {aka 'const int *'} but argument is of type 'int' cargo:warning= 28 | Limb LIMBS_are_zero(const Limb a[], size_t num_limbs); cargo:warning= | ~~~~~~~~~~~^~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:206:28: warning: passing argument 1 of 'limbs_sub' makes pointer from integer without a cast [-Wint-conversion] cargo:warning= 206 | Carry borrow = limbs_sub(r, Q, a, P384_LIMBS); cargo:warning= | ^ cargo:warning= | | cargo:warning= | int cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:21: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:127:36: note: expected 'Limb *' {aka 'int *'} but argument is of type 'int' cargo:warning= 127 | static inline Carry limbs_sub(Limb r[], const Limb a[], const Limb b[], cargo:warning= | ~~~~~^~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:206:34: warning: passing argument 3 of 'limbs_sub' makes pointer from integer without a cast [-Wint-conversion] cargo:warning= 206 | Carry borrow = limbs_sub(r, Q, a, P384_LIMBS); cargo:warning= | ^ cargo:warning= | | cargo:warning= | int cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:21: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:127:68: note: expected 'const Limb *' {aka 'const int *'} but argument is of type 'int' cargo:warning= 127 | static inline Carry limbs_sub(Limb r[], const Limb a[], const Limb b[], cargo:warning= | ~~~~~~~~~~~^~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:210:6: error: subscripted value is neither array nor pointer nor vector cargo:warning= 210 | r[i] = constant_time_select_w(is_zero, 0, r[i]); cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:210:48: error: subscripted value is neither array nor pointer nor vector cargo:warning= 210 | r[i] = constant_time_select_w(is_zero, 0, r[i]); cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c: At top level: cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:215:38: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] cargo:warning= 215 | void p384_scalar_mul_mont(ScalarMont r, const ScalarMont a, cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:215:58: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] cargo:warning= 215 | void p384_scalar_mul_mont(ScalarMont r, const ScalarMont a, cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:216:48: warning: type defaults to 'int' in declaration of 'b' [-Wimplicit-int] cargo:warning= 216 | const ScalarMont b) { cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c: In function 'ring_core_0_17_8_p384_scalar_mul_mont': cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:218:15: warning: passing argument 1 of 'ring_core_0_17_8_bn_mul_mont' makes pointer from integer without a cast [-Wint-conversion] cargo:warning= 218 | bn_mul_mont(r, a, b, N, N_N0, P384_LIMBS); cargo:warning= | ^ cargo:warning= | | cargo:warning= | int cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:18: cargo:warning=crypto/fipsmodule/ec/../bn/internal.h:183:28: note: expected 'BN_ULONG *' {aka 'int *'} but argument is of type 'int' cargo:warning= 183 | void bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, cargo:warning= | ~~~~~~~~~~^~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:218:18: warning: passing argument 2 of 'ring_core_0_17_8_bn_mul_mont' makes pointer from integer without a cast [-Wint-conversion] cargo:warning= 218 | bn_mul_mont(r, a, b, N, N_N0, P384_LIMBS); cargo:warning= | ^ cargo:warning= | | cargo:warning= | int cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:18: cargo:warning=crypto/fipsmodule/ec/../bn/internal.h:183:48: note: expected 'const BN_ULONG *' {aka 'const int *'} but argument is of type 'int' cargo:warning= 183 | void bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, cargo:warning= | ~~~~~~~~~~~~~~~~^~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:218:21: warning: passing argument 3 of 'ring_core_0_17_8_bn_mul_mont' makes pointer from integer without a cast [-Wint-conversion] cargo:warning= 218 | bn_mul_mont(r, a, b, N, N_N0, P384_LIMBS); cargo:warning= | ^ cargo:warning= | | cargo:warning= | int cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:18: cargo:warning=crypto/fipsmodule/ec/../bn/internal.h:183:68: note: expected 'const BN_ULONG *' {aka 'const int *'} but argument is of type 'int' cargo:warning= 183 | void bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, cargo:warning= | ~~~~~~~~~~~~~~~~^~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c: In function 'p384_point_select_w5': cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:226:8: warning: type defaults to 'int' in declaration of 'x' [-Wimplicit-int] cargo:warning= 226 | Elem x; limbs_zero(x, P384_LIMBS); cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:226:22: warning: passing argument 1 of 'limbs_zero' makes pointer from integer without a cast [-Wint-conversion] cargo:warning= 226 | Elem x; limbs_zero(x, P384_LIMBS); cargo:warning= | ^ cargo:warning= | | cargo:warning= | int cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:21: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:158:36: note: expected 'Limb *' {aka 'int *'} but argument is of type 'int' cargo:warning= 158 | static inline void limbs_zero(Limb r[], size_t num_limbs) { cargo:warning= | ~~~~~^~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:227:8: warning: type defaults to 'int' in declaration of 'y' [-Wimplicit-int] cargo:warning= 227 | Elem y; limbs_zero(y, P384_LIMBS); cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:227:22: warning: passing argument 1 of 'limbs_zero' makes pointer from integer without a cast [-Wint-conversion] cargo:warning= 227 | Elem y; limbs_zero(y, P384_LIMBS); cargo:warning= | ^ cargo:warning= | | cargo:warning= | int cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:21: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:158:36: note: expected 'Limb *' {aka 'int *'} but argument is of type 'int' cargo:warning= 158 | static inline void limbs_zero(Limb r[], size_t num_limbs) { cargo:warning= | ~~~~~^~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:228:8: warning: type defaults to 'int' in declaration of 'z' [-Wimplicit-int] cargo:warning= 228 | Elem z; limbs_zero(z, P384_LIMBS); cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:228:22: warning: passing argument 1 of 'limbs_zero' makes pointer from integer without a cast [-Wint-conversion] cargo:warning= 228 | Elem z; limbs_zero(z, P384_LIMBS); cargo:warning= | ^ cargo:warning= | | cargo:warning= | int cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:21: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:158:36: note: expected 'Limb *' {aka 'int *'} but argument is of type 'int' cargo:warning= 158 | static inline void limbs_zero(Limb r[], size_t num_limbs) { cargo:warning= | ~~~~~^~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:232:5: error: unknown type name 'crypto_word_t' cargo:warning= 232 | crypto_word_t equal = constant_time_eq_w(index, (crypto_word_t)i + 1); cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:232:27: warning: implicit declaration of function 'constant_time_eq_w' [-Wimplicit-function-declaration] cargo:warning= 232 | crypto_word_t equal = constant_time_eq_w(index, (crypto_word_t)i + 1); cargo:warning= | ^~~~~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:232:27: warning: nested extern declaration of 'constant_time_eq_w' [-Wnested-externs] cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:232:54: error: 'crypto_word_t' undeclared (first use in this function) cargo:warning= 232 | crypto_word_t equal = constant_time_eq_w(index, (crypto_word_t)i + 1); cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:232:68: error: expected ')' before 'i' cargo:warning= 232 | crypto_word_t equal = constant_time_eq_w(index, (crypto_word_t)i + 1); cargo:warning= | ^ cargo:warning= | ) cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:234:8: error: subscripted value is neither array nor pointer nor vector cargo:warning= 234 | x[j] = constant_time_select_w(equal, table[i].X[j], x[j]); cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:234:60: error: subscripted value is neither array nor pointer nor vector cargo:warning= 234 | x[j] = constant_time_select_w(equal, table[i].X[j], x[j]); cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:235:8: error: subscripted value is neither array nor pointer nor vector cargo:warning= 235 | y[j] = constant_time_select_w(equal, table[i].Y[j], y[j]); cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:235:60: error: subscripted value is neither array nor pointer nor vector cargo:warning= 235 | y[j] = constant_time_select_w(equal, table[i].Y[j], y[j]); cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:236:8: error: subscripted value is neither array nor pointer nor vector cargo:warning= 236 | z[j] = constant_time_select_w(equal, table[i].Z[j], z[j]); cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:236:60: error: subscripted value is neither array nor pointer nor vector cargo:warning= 236 | z[j] = constant_time_select_w(equal, table[i].Z[j], z[j]); cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:240:22: warning: passing argument 2 of 'limbs_copy' makes pointer from integer without a cast [-Wint-conversion] cargo:warning= 240 | limbs_copy(out->X, x, P384_LIMBS); cargo:warning= | ^ cargo:warning= | | cargo:warning= | int cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:21: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:137:52: note: expected 'const Limb *' {aka 'const int *'} but argument is of type 'int' cargo:warning= 137 | static inline void limbs_copy(Limb r[], const Limb a[], size_t num_limbs) { cargo:warning= | ~~~~~~~~~~~^~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:241:22: warning: passing argument 2 of 'limbs_copy' makes pointer from integer without a cast [-Wint-conversion] cargo:warning= 241 | limbs_copy(out->Y, y, P384_LIMBS); cargo:warning= | ^ cargo:warning= | | cargo:warning= | int cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:21: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:137:52: note: expected 'const Limb *' {aka 'const int *'} but argument is of type 'int' cargo:warning= 137 | static inline void limbs_copy(Limb r[], const Limb a[], size_t num_limbs) { cargo:warning= | ~~~~~~~~~~~^~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:242:22: warning: passing argument 2 of 'limbs_copy' makes pointer from integer without a cast [-Wint-conversion] cargo:warning= 242 | limbs_copy(out->Z, z, P384_LIMBS); cargo:warning= | ^ cargo:warning= | | cargo:warning= | int cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:21: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:137:52: note: expected 'const Limb *' {aka 'const int *'} but argument is of type 'int' cargo:warning= 137 | static inline void limbs_copy(Limb r[], const Limb a[], size_t num_limbs) { cargo:warning= | ~~~~~~~~~~~^~~ cargo:warning=In file included from crypto/fipsmodule/ec/ecp_nistz384.inl:24, cargo:warning= from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz.h: At top level: cargo:warning=crypto/fipsmodule/ec/ecp_nistz.h:249:33: error: unknown type name 'crypto_word_t' cargo:warning= 249 | static inline void booth_recode(crypto_word_t *is_negative, crypto_word_t *digit, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/ecp_nistz.h:249:61: error: unknown type name 'crypto_word_t' cargo:warning= 249 | static inline void booth_recode(crypto_word_t *is_negative, crypto_word_t *digit, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/ecp_nistz.h:250:33: error: unknown type name 'crypto_word_t' cargo:warning= 250 | crypto_word_t in, crypto_word_t w) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/ecp_nistz.h:250:51: error: unknown type name 'crypto_word_t' cargo:warning= 250 | crypto_word_t in, crypto_word_t w) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl: In function 'nistz384_point_double': cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:46:20: warning: passing argument 2 of 'elem_mul_by_2' makes integer from pointer without a cast [-Wint-conversion] cargo:warning= 46 | elem_mul_by_2(S, in_y); cargo:warning= | ^~~~ cargo:warning= | | cargo:warning= | const BN_ULONG * {aka const int *} cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:176:53: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} cargo:warning= 176 | static inline void elem_mul_by_2(Elem r, const Elem a) { cargo:warning= | ~~~~~~~~~~~^ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:48:23: warning: passing argument 2 of 'elem_sqr_mont' makes integer from pointer without a cast [-Wint-conversion] cargo:warning= 48 | elem_sqr_mont(Zsqr, in_z); cargo:warning= | ^~~~ cargo:warning= | | cargo:warning= | const BN_ULONG * {aka const int *} cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:187:53: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} cargo:warning= 187 | static inline void elem_sqr_mont(Elem r, const Elem a) { cargo:warning= | ~~~~~~~~~~~^ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:52:17: warning: passing argument 1 of 'elem_mul_mont' makes integer from pointer without a cast [-Wint-conversion] cargo:warning= 52 | elem_mul_mont(res_z, in_z, in_y); cargo:warning= | ^~~~~ cargo:warning= | | cargo:warning= | BN_ULONG * {aka int *} cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:171:39: note: expected 'int' but argument is of type 'BN_ULONG *' {aka 'int *'} cargo:warning= 171 | static inline void elem_mul_mont(Elem r, const Elem a, const Elem b) { cargo:warning= | ~~~~~^ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:52:24: warning: passing argument 2 of 'elem_mul_mont' makes integer from pointer without a cast [-Wint-conversion] cargo:warning= 52 | elem_mul_mont(res_z, in_z, in_y); cargo:warning= | ^~~~ cargo:warning= | | cargo:warning= | const BN_ULONG * {aka const int *} cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:171:53: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} cargo:warning= 171 | static inline void elem_mul_mont(Elem r, const Elem a, const Elem b) { cargo:warning= | ~~~~~~~~~~~^ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:52:30: warning: passing argument 3 of 'elem_mul_mont' makes integer from pointer without a cast [-Wint-conversion] cargo:warning= 52 | elem_mul_mont(res_z, in_z, in_y); cargo:warning= | ^~~~ cargo:warning= | | cargo:warning= | const BN_ULONG * {aka const int *} cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:171:67: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} cargo:warning= 171 | static inline void elem_mul_mont(Elem r, const Elem a, const Elem b) { cargo:warning= | ~~~~~~~~~~~^ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:53:17: warning: passing argument 1 of 'elem_mul_by_2' makes integer from pointer without a cast [-Wint-conversion] cargo:warning= 53 | elem_mul_by_2(res_z, res_z); cargo:warning= | ^~~~~ cargo:warning= | | cargo:warning= | BN_ULONG * {aka int *} cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:176:39: note: expected 'int' but argument is of type 'BN_ULONG *' {aka 'int *'} cargo:warning= 176 | static inline void elem_mul_by_2(Elem r, const Elem a) { cargo:warning= | ~~~~~^ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:53:24: warning: passing argument 2 of 'elem_mul_by_2' makes integer from pointer without a cast [-Wint-conversion] cargo:warning= 53 | elem_mul_by_2(res_z, res_z); cargo:warning= | ^~~~~ cargo:warning= | | cargo:warning= | BN_ULONG * {aka int *} cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:176:53: note: expected 'int' but argument is of type 'BN_ULONG *' {aka 'int *'} cargo:warning= 176 | static inline void elem_mul_by_2(Elem r, const Elem a) { cargo:warning= | ~~~~~~~~~~~^ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:55:15: warning: passing argument 2 of 'elem_add' makes integer from pointer without a cast [-Wint-conversion] cargo:warning= 55 | elem_add(M, in_x, Zsqr); cargo:warning= | ^~~~ cargo:warning= | | cargo:warning= | const BN_ULONG * {aka const int *} cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:102:48: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} cargo:warning= 102 | static inline void elem_add(Elem r, const Elem a, const Elem b) { cargo:warning= | ~~~~~~~~~~~^ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:56:18: warning: passing argument 2 of 'elem_sub' makes integer from pointer without a cast [-Wint-conversion] cargo:warning= 56 | elem_sub(Zsqr, in_x, Zsqr); cargo:warning= | ^~~~ cargo:warning= | | cargo:warning= | const BN_ULONG * {aka const int *} cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:106:48: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} cargo:warning= 106 | static inline void elem_sub(Elem r, const Elem a, const Elem b) { cargo:warning= | ~~~~~~~~~~~^ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:58:17: warning: passing argument 1 of 'elem_sqr_mont' makes integer from pointer without a cast [-Wint-conversion] cargo:warning= 58 | elem_sqr_mont(res_y, S); cargo:warning= | ^~~~~ cargo:warning= | | cargo:warning= | BN_ULONG * {aka int *} cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:187:39: note: expected 'int' but argument is of type 'BN_ULONG *' {aka 'int *'} cargo:warning= 187 | static inline void elem_sqr_mont(Elem r, const Elem a) { cargo:warning= | ~~~~~^ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:59:17: warning: passing argument 1 of 'elem_div_by_2' makes integer from pointer without a cast [-Wint-conversion] cargo:warning= 59 | elem_div_by_2(res_y, res_y); cargo:warning= | ^~~~~ cargo:warning= | | cargo:warning= | BN_ULONG * {aka int *} cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:110:32: note: expected 'int' but argument is of type 'BN_ULONG *' {aka 'int *'} cargo:warning= 110 | static void elem_div_by_2(Elem r, const Elem a) { cargo:warning= | ~~~~~^ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:59:24: warning: passing argument 2 of 'elem_div_by_2' makes integer from pointer without a cast [-Wint-conversion] cargo:warning= 59 | elem_div_by_2(res_y, res_y); cargo:warning= | ^~~~~ cargo:warning= | | cargo:warning= | BN_ULONG * {aka int *} cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:110:46: note: expected 'int' but argument is of type 'BN_ULONG *' {aka 'int *'} cargo:warning= 110 | static void elem_div_by_2(Elem r, const Elem a) { cargo:warning= | ~~~~~~~~~~~^ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:64:23: warning: passing argument 3 of 'elem_mul_mont' makes integer from pointer without a cast [-Wint-conversion] cargo:warning= 64 | elem_mul_mont(S, S, in_x); cargo:warning= | ^~~~ cargo:warning= | | cargo:warning= | const BN_ULONG * {aka const int *} cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:171:67: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} cargo:warning= 171 | static inline void elem_mul_mont(Elem r, const Elem a, const Elem b) { cargo:warning= | ~~~~~~~~~~~^ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:67:17: warning: passing argument 1 of 'elem_sqr_mont' makes integer from pointer without a cast [-Wint-conversion] cargo:warning= 67 | elem_sqr_mont(res_x, M); cargo:warning= | ^~~~~ cargo:warning= | | cargo:warning= | BN_ULONG * {aka int *} cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:187:39: note: expected 'int' but argument is of type 'BN_ULONG *' {aka 'int *'} cargo:warning= 187 | static inline void elem_sqr_mont(Elem r, const Elem a) { cargo:warning= | ~~~~~^ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:69:12: warning: passing argument 1 of 'elem_sub' makes integer from pointer without a cast [-Wint-conversion] cargo:warning= 69 | elem_sub(res_x, res_x, tmp0); cargo:warning= | ^~~~~ cargo:warning= | | cargo:warning= | BN_ULONG * {aka int *} cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:106:34: note: expected 'int' but argument is of type 'BN_ULONG *' {aka 'int *'} cargo:warning= 106 | static inline void elem_sub(Elem r, const Elem a, const Elem b) { cargo:warning= | ~~~~~^ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:69:19: warning: passing argument 2 of 'elem_sub' makes integer from pointer without a cast [-Wint-conversion] cargo:warning= 69 | elem_sub(res_x, res_x, tmp0); cargo:warning= | ^~~~~ cargo:warning= | | cargo:warning= | BN_ULONG * {aka int *} cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:106:48: note: expected 'int' but argument is of type 'BN_ULONG *' {aka 'int *'} cargo:warning= 106 | static inline void elem_sub(Elem r, const Elem a, const Elem b) { cargo:warning= | ~~~~~~~~~~~^ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:70:18: warning: passing argument 3 of 'elem_sub' makes integer from pointer without a cast [-Wint-conversion] cargo:warning= 70 | elem_sub(S, S, res_x); cargo:warning= | ^~~~~ cargo:warning= | | cargo:warning= | BN_ULONG * {aka int *} cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:106:62: note: expected 'int' but argument is of type 'BN_ULONG *' {aka 'int *'} cargo:warning= 106 | static inline void elem_sub(Elem r, const Elem a, const Elem b) { cargo:warning= | ~~~~~~~~~~~^ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:73:12: warning: passing argument 1 of 'elem_sub' makes integer from pointer without a cast [-Wint-conversion] cargo:warning= 73 | elem_sub(res_y, S, res_y); cargo:warning= | ^~~~~ cargo:warning= | | cargo:warning= | BN_ULONG * {aka int *} cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:106:34: note: expected 'int' but argument is of type 'BN_ULONG *' {aka 'int *'} cargo:warning= 106 | static inline void elem_sub(Elem r, const Elem a, const Elem b) { cargo:warning= | ~~~~~^ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:73:22: warning: passing argument 3 of 'elem_sub' makes integer from pointer without a cast [-Wint-conversion] cargo:warning= 73 | elem_sub(res_y, S, res_y); cargo:warning= | ^~~~~ cargo:warning= | | cargo:warning= | BN_ULONG * {aka int *} cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:106:62: note: expected 'int' but argument is of type 'BN_ULONG *' {aka 'int *'} cargo:warning= 106 | static inline void elem_sub(Elem r, const Elem a, const Elem b) { cargo:warning= | ~~~~~~~~~~~^ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:36:12: warning: unused variable 'tmp0' [-Wunused-variable] cargo:warning= 36 | BN_ULONG tmp0[P384_LIMBS]; cargo:warning= | ^~~~ cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:35:12: warning: unused variable 'Zsqr' [-Wunused-variable] cargo:warning= 35 | BN_ULONG Zsqr[P384_LIMBS]; cargo:warning= | ^~~~ cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:34:12: warning: unused variable 'M' [-Wunused-variable] cargo:warning= 34 | BN_ULONG M[P384_LIMBS]; cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:33:12: warning: unused variable 'S' [-Wunused-variable] cargo:warning= 33 | BN_ULONG S[P384_LIMBS]; cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl: In function 'nistz384_point_add': cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:100:31: error: type of formal parameter 1 is incomplete cargo:warning= 100 | BN_ULONG in1infty = is_zero(a->Z); cargo:warning= | ^~~~ cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:101:31: error: type of formal parameter 1 is incomplete cargo:warning= 101 | BN_ULONG in2infty = is_zero(b->Z); cargo:warning= | ^~~~ cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:103:24: warning: passing argument 2 of 'elem_sqr_mont' makes integer from pointer without a cast [-Wint-conversion] cargo:warning= 103 | elem_sqr_mont(Z2sqr, in2_z); /* Z2^2 */ cargo:warning= | ^~~~~ cargo:warning= | | cargo:warning= | const BN_ULONG * {aka const int *} cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:187:53: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} cargo:warning= 187 | static inline void elem_sqr_mont(Elem r, const Elem a) { cargo:warning= | ~~~~~~~~~~~^ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:104:24: warning: passing argument 2 of 'elem_sqr_mont' makes integer from pointer without a cast [-Wint-conversion] cargo:warning= 104 | elem_sqr_mont(Z1sqr, in1_z); /* Z1^2 */ cargo:warning= | ^~~~~ cargo:warning= | | cargo:warning= | const BN_ULONG * {aka const int *} cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:187:53: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} cargo:warning= 187 | static inline void elem_sqr_mont(Elem r, const Elem a) { cargo:warning= | ~~~~~~~~~~~^ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:106:28: warning: passing argument 3 of 'elem_mul_mont' makes integer from pointer without a cast [-Wint-conversion] cargo:warning= 106 | elem_mul_mont(S1, Z2sqr, in2_z); /* S1 = Z2^3 */ cargo:warning= | ^~~~~ cargo:warning= | | cargo:warning= | const BN_ULONG * {aka const int *} cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:171:67: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} cargo:warning= 171 | static inline void elem_mul_mont(Elem r, const Elem a, const Elem b) { cargo:warning= | ~~~~~~~~~~~^ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:107:28: warning: passing argument 3 of 'elem_mul_mont' makes integer from pointer without a cast [-Wint-conversion] cargo:warning= 107 | elem_mul_mont(S2, Z1sqr, in1_z); /* S2 = Z1^3 */ cargo:warning= | ^~~~~ cargo:warning= | | cargo:warning= | const BN_ULONG * {aka const int *} cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:171:67: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} cargo:warning= 171 | static inline void elem_mul_mont(Elem r, const Elem a, const Elem b) { cargo:warning= | ~~~~~~~~~~~^ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:109:25: warning: passing argument 3 of 'elem_mul_mont' makes integer from pointer without a cast [-Wint-conversion] cargo:warning= 109 | elem_mul_mont(S1, S1, in1_y); /* S1 = Y1*Z2^3 */ cargo:warning= | ^~~~~ cargo:warning= | | cargo:warning= | const BN_ULONG * {aka const int *} cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:171:67: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} cargo:warning= 171 | static inline void elem_mul_mont(Elem r, const Elem a, const Elem b) { cargo:warning= | ~~~~~~~~~~~^ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:110:25: warning: passing argument 3 of 'elem_mul_mont' makes integer from pointer without a cast [-Wint-conversion] cargo:warning= 110 | elem_mul_mont(S2, S2, in2_y); /* S2 = Y2*Z1^3 */ cargo:warning= | ^~~~~ cargo:warning= | | cargo:warning= | const BN_ULONG * {aka const int *} cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:171:67: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} cargo:warning= 171 | static inline void elem_mul_mont(Elem r, const Elem a, const Elem b) { cargo:warning= | ~~~~~~~~~~~^ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:113:21: warning: passing argument 2 of 'elem_mul_mont' makes integer from pointer without a cast [-Wint-conversion] cargo:warning= 113 | elem_mul_mont(U1, in1_x, Z2sqr); /* U1 = X1*Z2^2 */ cargo:warning= | ^~~~~ cargo:warning= | | cargo:warning= | const BN_ULONG * {aka const int *} cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:171:53: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} cargo:warning= 171 | static inline void elem_mul_mont(Elem r, const Elem a, const Elem b) { cargo:warning= | ~~~~~~~~~~~^ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:114:21: warning: passing argument 2 of 'elem_mul_mont' makes integer from pointer without a cast [-Wint-conversion] cargo:warning= 114 | elem_mul_mont(U2, in2_x, Z1sqr); /* U2 = X2*Z1^2 */ cargo:warning= | ^~~~~ cargo:warning= | | cargo:warning= | const BN_ULONG * {aka const int *} cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:171:53: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} cargo:warning= 171 | static inline void elem_mul_mont(Elem r, const Elem a, const Elem b) { cargo:warning= | ~~~~~~~~~~~^ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:130:27: warning: passing argument 3 of 'elem_mul_mont' makes integer from pointer without a cast [-Wint-conversion] cargo:warning= 130 | elem_mul_mont(res_z, H, in1_z); /* Z3 = H*Z1*Z2 */ cargo:warning= | ^~~~~ cargo:warning= | | cargo:warning= | const BN_ULONG * {aka const int *} cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:171:67: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} cargo:warning= 171 | static inline void elem_mul_mont(Elem r, const Elem a, const Elem b) { cargo:warning= | ~~~~~~~~~~~^ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:132:31: warning: passing argument 3 of 'elem_mul_mont' makes integer from pointer without a cast [-Wint-conversion] cargo:warning= 132 | elem_mul_mont(res_z, res_z, in2_z); /* Z3 = H*Z1*Z2 */ cargo:warning= | ^~~~~ cargo:warning= | | cargo:warning= | const BN_ULONG * {aka const int *} cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:171:67: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} cargo:warning= 171 | static inline void elem_mul_mont(Elem r, const Elem a, const Elem b) { cargo:warning= | ~~~~~~~~~~~^ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:147:27: warning: passing argument 2 of 'copy_conditional' makes integer from pointer without a cast [-Wint-conversion] cargo:warning= 147 | copy_conditional(res_x, in2_x, in1infty); cargo:warning= | ^~~~~ cargo:warning= | | cargo:warning= | const BN_ULONG * {aka const int *} cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:94:56: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} cargo:warning= 94 | static inline void copy_conditional(Elem r, const Elem a, cargo:warning= | ~~~~~~~~~~~^ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:148:27: warning: passing argument 2 of 'copy_conditional' makes integer from pointer without a cast [-Wint-conversion] cargo:warning= 148 | copy_conditional(res_y, in2_y, in1infty); cargo:warning= | ^~~~~ cargo:warning= | | cargo:warning= | const BN_ULONG * {aka const int *} cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:94:56: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} cargo:warning= 94 | static inline void copy_conditional(Elem r, const Elem a, cargo:warning= | ~~~~~~~~~~~^ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:149:27: warning: passing argument 2 of 'copy_conditional' makes integer from pointer without a cast [-Wint-conversion] cargo:warning= 149 | copy_conditional(res_z, in2_z, in1infty); cargo:warning= | ^~~~~ cargo:warning= | | cargo:warning= | const BN_ULONG * {aka const int *} cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:94:56: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} cargo:warning= 94 | static inline void copy_conditional(Elem r, const Elem a, cargo:warning= | ~~~~~~~~~~~^ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:151:27: warning: passing argument 2 of 'copy_conditional' makes integer from pointer without a cast [-Wint-conversion] cargo:warning= 151 | copy_conditional(res_x, in1_x, in2infty); cargo:warning= | ^~~~~ cargo:warning= | | cargo:warning= | const BN_ULONG * {aka const int *} cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:94:56: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} cargo:warning= 94 | static inline void copy_conditional(Elem r, const Elem a, cargo:warning= | ~~~~~~~~~~~^ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:152:27: warning: passing argument 2 of 'copy_conditional' makes integer from pointer without a cast [-Wint-conversion] cargo:warning= 152 | copy_conditional(res_y, in1_y, in2infty); cargo:warning= | ^~~~~ cargo:warning= | | cargo:warning= | const BN_ULONG * {aka const int *} cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:94:56: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} cargo:warning= 94 | static inline void copy_conditional(Elem r, const Elem a, cargo:warning= | ~~~~~~~~~~~^ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:153:27: warning: passing argument 2 of 'copy_conditional' makes integer from pointer without a cast [-Wint-conversion] cargo:warning= 153 | copy_conditional(res_z, in1_z, in2infty); cargo:warning= | ^~~~~ cargo:warning= | | cargo:warning= | const BN_ULONG * {aka const int *} cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:94:56: note: expected 'int' but argument is of type 'const BN_ULONG *' {aka 'const int *'} cargo:warning= 94 | static inline void copy_conditional(Elem r, const Elem a, cargo:warning= | ~~~~~~~~~~~^ cargo:warning=In file included from crypto/fipsmodule/ec/gfp_p384.c:246: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:90:12: warning: unused variable 'res_z' [-Wunused-variable] cargo:warning= 90 | BN_ULONG res_z[P384_LIMBS]; cargo:warning= | ^~~~~ cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:89:12: warning: unused variable 'res_y' [-Wunused-variable] cargo:warning= 89 | BN_ULONG res_y[P384_LIMBS]; cargo:warning= | ^~~~~ cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:88:12: warning: unused variable 'res_x' [-Wunused-variable] cargo:warning= 88 | BN_ULONG res_x[P384_LIMBS]; cargo:warning= | ^~~~~ cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:86:12: warning: unused variable 'Hcub' [-Wunused-variable] cargo:warning= 86 | BN_ULONG Hcub[P384_LIMBS]; cargo:warning= | ^~~~ cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:85:12: warning: unused variable 'Rsqr' [-Wunused-variable] cargo:warning= 85 | BN_ULONG Rsqr[P384_LIMBS]; cargo:warning= | ^~~~ cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:84:12: warning: unused variable 'Hsqr' [-Wunused-variable] cargo:warning= 84 | BN_ULONG Hsqr[P384_LIMBS]; cargo:warning= | ^~~~ cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:83:27: warning: unused variable 'R' [-Wunused-variable] cargo:warning= 83 | BN_ULONG H[P384_LIMBS], R[P384_LIMBS]; cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:83:12: warning: unused variable 'H' [-Wunused-variable] cargo:warning= 83 | BN_ULONG H[P384_LIMBS], R[P384_LIMBS]; cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:82:12: warning: unused variable 'Z2sqr' [-Wunused-variable] cargo:warning= 82 | BN_ULONG Z2sqr[P384_LIMBS]; cargo:warning= | ^~~~~ cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:81:12: warning: unused variable 'Z1sqr' [-Wunused-variable] cargo:warning= 81 | BN_ULONG Z1sqr[P384_LIMBS]; cargo:warning= | ^~~~~ cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:80:28: warning: unused variable 'S1' [-Wunused-variable] cargo:warning= 80 | BN_ULONG U1[P384_LIMBS], S1[P384_LIMBS]; cargo:warning= | ^~ cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:80:12: warning: unused variable 'U1' [-Wunused-variable] cargo:warning= 80 | BN_ULONG U1[P384_LIMBS], S1[P384_LIMBS]; cargo:warning= | ^~ cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:79:28: warning: unused variable 'S2' [-Wunused-variable] cargo:warning= 79 | BN_ULONG U2[P384_LIMBS], S2[P384_LIMBS]; cargo:warning= | ^~ cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:79:12: warning: unused variable 'U2' [-Wunused-variable] cargo:warning= 79 | BN_ULONG U2[P384_LIMBS], S2[P384_LIMBS]; cargo:warning= | ^~ cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl: At top level: cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:160:47: error: unknown type name 'crypto_word_t' cargo:warning= 160 | static void add_precomputed_w5(P384_POINT *r, crypto_word_t wvalue, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl: In function 'nistz384_point_mul': cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:182:16: error: unknown type name 'crypto_word_t' cargo:warning= 182 | static const crypto_word_t kMask = (1 << (5 /* kWindowSize */ + 1)) - 1; cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:222:3: error: unknown type name 'crypto_word_t' cargo:warning= 222 | crypto_word_t recoded; cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:224:3: error: unknown type name 'crypto_word_t' cargo:warning= 224 | crypto_word_t wvalue = p_str[(index - 1) / 8]; cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:227:3: warning: implicit declaration of function 'booth_recode' [-Wimplicit-function-declaration] cargo:warning= 227 | booth_recode(&recoded_is_negative, &recoded, wvalue, 5); cargo:warning= | ^~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:227:3: warning: nested extern declaration of 'booth_recode' [-Wnested-externs] cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:238:7: warning: implicit declaration of function 'add_precomputed_w5' [-Wimplicit-function-declaration] cargo:warning= 238 | add_precomputed_w5(r, wvalue, table); cargo:warning= | ^~~~~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:238:7: warning: nested extern declaration of 'add_precomputed_w5' [-Wnested-externs] cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:184:11: warning: unused variable 'p_str' [-Wunused-variable] cargo:warning= 184 | uint8_t p_str[(P384_LIMBS * sizeof(Limb)) + 1]; cargo:warning= | ^~~~~ cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl: In function 'ring_core_0_17_8_p384_point_mul': cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:292:28: error: type of formal parameter 2 is incomplete cargo:warning= 292 | nistz384_point_mul(&acc, p_scalar, p_x, p_y); cargo:warning= | ^~~~~~~~ cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:292:38: error: type of formal parameter 3 is incomplete cargo:warning= 292 | nistz384_point_mul(&acc, p_scalar, p_x, p_y); cargo:warning= | ^~~ cargo:warning=crypto/fipsmodule/ec/ecp_nistz384.inl:292:43: error: type of formal parameter 4 is incomplete cargo:warning= 292 | nistz384_point_mul(&acc, p_scalar, p_x, p_y); cargo:warning= | ^~~ cargo:warning=At top level: cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:52:23: warning: 'ONE' defined but not used [-Wunused-variable] cargo:warning= 52 | static const BN_ULONG ONE[P384_LIMBS] = { cargo:warning= | ^~~ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:42:23: warning: 'N' defined but not used [-Wunused-variable] cargo:warning= 42 | static const BN_ULONG N[P384_LIMBS] = { cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/gfp_p384.c:32:23: warning: 'Q' defined but not used [-Wunused-variable] cargo:warning= 32 | static const BN_ULONG Q[P384_LIMBS] = { cargo:warning= | ^ exit status: 1 cargo:warning=ToolExecError: Command "gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "include" "-I" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out" "-O2" "-I/usr/pkg/include" "-I/usr/include" "-fvisibility=hidden" "-std=c1x" "-Wall" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-g3" "-DNDEBUG" "-o" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out/a9af75d892b04b75-gfp_p384.o" "-c" "crypto/fipsmodule/ec/gfp_p384.c" with args gcc did not execute successfully (status code exit status: 1).cargo:warning=In file included from include/ring-core/base.h:74, cargo:warning= from crypto/fipsmodule/ec/p256.c:19: cargo:warning=include/ring-core/target.h:64:2: error: #error "Unknown target CPU" cargo:warning= 64 | #error "Unknown target CPU" cargo:warning= | ^~~~~ cargo:warning=In file included from crypto/fipsmodule/ec/../../limbs/limbs.h:20, cargo:warning= from crypto/fipsmodule/ec/p256.c:21: cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:219:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" cargo:warning= 219 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" cargo:warning= | ^~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:232:15: error: unknown type name 'crypto_word_t' cargo:warning= 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:232:45: error: unknown type name 'crypto_word_t' cargo:warning= 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:244:15: error: unknown type name 'crypto_word_t' cargo:warning= 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:244:49: error: unknown type name 'crypto_word_t' cargo:warning= 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:249:15: error: unknown type name 'crypto_word_t' cargo:warning= 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:249:53: error: unknown type name 'crypto_word_t' cargo:warning= 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:264:15: error: unknown type name 'crypto_word_t' cargo:warning= 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:264:56: error: unknown type name 'crypto_word_t' cargo:warning= 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:269:15: error: unknown type name 'crypto_word_t' cargo:warning= 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:269:48: error: unknown type name 'crypto_word_t' cargo:warning= 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:270:48: error: unknown type name 'crypto_word_t' cargo:warning= 270 | crypto_word_t b) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:277:15: error: unknown type name 'crypto_word_t' cargo:warning= 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:277:52: error: unknown type name 'crypto_word_t' cargo:warning= 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:278:52: error: unknown type name 'crypto_word_t' cargo:warning= 278 | crypto_word_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:279:52: error: unknown type name 'crypto_word_t' cargo:warning= 279 | crypto_word_t b) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:291:46: error: unknown type name 'crypto_word_t' cargo:warning= 291 | static inline uint8_t constant_time_select_8(crypto_word_t mask, uint8_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:308:59: error: unknown type name 'crypto_word_t' cargo:warning= 308 | const crypto_word_t mask) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h: In function 'constant_time_conditional_memcpy': cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:313:14: warning: implicit declaration of function 'constant_time_select_8' [-Wimplicit-function-declaration] cargo:warning= 313 | out[i] = constant_time_select_8(mask, in[i], out[i]); cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:313:14: warning: nested extern declaration of 'constant_time_select_8' [-Wnested-externs] cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h: At top level: cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:322:59: error: unknown type name 'crypto_word_t' cargo:warning= 322 | const crypto_word_t mask) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h: In function 'constant_time_conditional_memxor': cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:327:15: warning: implicit declaration of function 'value_barrier_w' [-Wimplicit-function-declaration] cargo:warning= 327 | out[i] ^= value_barrier_w(mask) & in[i]; cargo:warning= | ^~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:327:15: warning: nested extern declaration of 'value_barrier_w' [-Wnested-externs] cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h: At top level: cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:359:15: error: unknown type name 'crypto_word_t' cargo:warning= 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/../internal.h:359:56: error: unknown type name 'crypto_word_t' cargo:warning= 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=In file included from crypto/fipsmodule/ec/p256.c:21: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.h:22:9: error: unknown type name 'crypto_word_t' cargo:warning= 22 | typedef crypto_word_t Limb; cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.h:24:19: warning: "CRYPTO_WORD_BITS" is not defined, evaluates to 0 [-Wundef] cargo:warning= 24 | #define LIMB_BITS CRYPTO_WORD_BITS cargo:warning= | ^~~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:49:5: note: in expansion of macro 'LIMB_BITS' cargo:warning= 49 | #if LIMB_BITS == 64 cargo:warning= | ^~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.h:24:19: warning: "CRYPTO_WORD_BITS" is not defined, evaluates to 0 [-Wundef] cargo:warning= 24 | #define LIMB_BITS CRYPTO_WORD_BITS cargo:warning= | ^~~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:51:7: note: in expansion of macro 'LIMB_BITS' cargo:warning= 51 | #elif LIMB_BITS == 32 cargo:warning= | ^~~~~~~~~ cargo:warning=In file included from crypto/fipsmodule/ec/p256.c:22: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl: In function 'limb_adc': cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:64:3: error: unknown type name 'DoubleLimb' cargo:warning= 64 | DoubleLimb x = (DoubleLimb)a + b + carry_in; cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:64:19: error: 'DoubleLimb' undeclared (first use in this function) cargo:warning= 64 | DoubleLimb x = (DoubleLimb)a + b + carry_in; cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:64:19: note: each undeclared identifier is reported only once for each function it appears in cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:64:30: error: expected ',' or ';' before 'a' cargo:warning= 64 | DoubleLimb x = (DoubleLimb)a + b + carry_in; cargo:warning= | ^ cargo:warning=In file included from crypto/fipsmodule/ec/p256.c:21: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.h:24:19: error: 'CRYPTO_WORD_BITS' undeclared (first use in this function) cargo:warning= 24 | #define LIMB_BITS CRYPTO_WORD_BITS cargo:warning= | ^~~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:66:22: note: in expansion of macro 'LIMB_BITS' cargo:warning= 66 | ret = (Carry)(x >> LIMB_BITS); cargo:warning= | ^~~~~~~~~ cargo:warning=In file included from crypto/fipsmodule/ec/p256.c:22: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl: In function 'limb_add': cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:78:3: error: unknown type name 'DoubleLimb' cargo:warning= 78 | DoubleLimb x = (DoubleLimb)a + b; cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:78:19: error: 'DoubleLimb' undeclared (first use in this function) cargo:warning= 78 | DoubleLimb x = (DoubleLimb)a + b; cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:78:30: error: expected ',' or ';' before 'a' cargo:warning= 78 | DoubleLimb x = (DoubleLimb)a + b; cargo:warning= | ^ cargo:warning=In file included from crypto/fipsmodule/ec/p256.c:21: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.h:24:19: error: 'CRYPTO_WORD_BITS' undeclared (first use in this function) cargo:warning= 24 | #define LIMB_BITS CRYPTO_WORD_BITS cargo:warning= | ^~~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:80:22: note: in expansion of macro 'LIMB_BITS' cargo:warning= 80 | ret = (Carry)(x >> LIMB_BITS); cargo:warning= | ^~~~~~~~~ cargo:warning=In file included from crypto/fipsmodule/ec/p256.c:22: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl: In function 'limb_sbb': cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:94:3: error: unknown type name 'DoubleLimb' cargo:warning= 94 | DoubleLimb x = (DoubleLimb)a - b - borrow_in; cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:94:19: error: 'DoubleLimb' undeclared (first use in this function) cargo:warning= 94 | DoubleLimb x = (DoubleLimb)a - b - borrow_in; cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:94:30: error: expected ',' or ';' before 'a' cargo:warning= 94 | DoubleLimb x = (DoubleLimb)a - b - borrow_in; cargo:warning= | ^ cargo:warning=In file included from crypto/fipsmodule/ec/p256.c:21: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.h:24:19: error: 'CRYPTO_WORD_BITS' undeclared (first use in this function) cargo:warning= 24 | #define LIMB_BITS CRYPTO_WORD_BITS cargo:warning= | ^~~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:96:23: note: in expansion of macro 'LIMB_BITS' cargo:warning= 96 | ret = (Carry)((x >> LIMB_BITS) & 1); cargo:warning= | ^~~~~~~~~ cargo:warning=In file included from crypto/fipsmodule/ec/p256.c:22: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl: In function 'limb_sub': cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:108:3: error: unknown type name 'DoubleLimb' cargo:warning= 108 | DoubleLimb x = (DoubleLimb)a - b; cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:108:19: error: 'DoubleLimb' undeclared (first use in this function) cargo:warning= 108 | DoubleLimb x = (DoubleLimb)a - b; cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:108:30: error: expected ',' or ';' before 'a' cargo:warning= 108 | DoubleLimb x = (DoubleLimb)a - b; cargo:warning= | ^ cargo:warning=In file included from crypto/fipsmodule/ec/p256.c:21: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.h:24:19: error: 'CRYPTO_WORD_BITS' undeclared (first use in this function) cargo:warning= 24 | #define LIMB_BITS CRYPTO_WORD_BITS cargo:warning= | ^~~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:110:23: note: in expansion of macro 'LIMB_BITS' cargo:warning= 110 | ret = (Carry)((x >> LIMB_BITS) & 1); cargo:warning= | ^~~~~~~~~ cargo:warning=In file included from crypto/fipsmodule/ec/p256.c:22: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl: At top level: cargo:warning=crypto/fipsmodule/ec/../../limbs/limbs.inl:145:33: error: unknown type name 'crypto_word_t' cargo:warning= 145 | crypto_word_t index) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=In file included from crypto/fipsmodule/ec/p256_shared.h:24, cargo:warning= from crypto/fipsmodule/ec/p256.c:24: cargo:warning=crypto/fipsmodule/ec/../bn/internal.h:137:9: error: unknown type name 'crypto_word_t' cargo:warning= 137 | typedef crypto_word_t BN_ULONG; cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/../bn/internal.h:165:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" cargo:warning= 165 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" cargo:warning= | ^~~~~ cargo:warning=crypto/fipsmodule/ec/../bn/internal.h: In function 'bn_umult_lohi': cargo:warning=crypto/fipsmodule/ec/../bn/internal.h:191:3: error: unknown type name 'BN_ULLONG'; did you mean 'BN_ULONG'? cargo:warning= 191 | BN_ULLONG result = (BN_ULLONG)a * b; cargo:warning= | ^~~~~~~~~ cargo:warning= | BN_ULONG cargo:warning=crypto/fipsmodule/ec/../bn/internal.h:191:23: error: 'BN_ULLONG' undeclared (first use in this function); did you mean 'BN_ULONG'? cargo:warning= 191 | BN_ULLONG result = (BN_ULLONG)a * b; cargo:warning= | ^~~~~~~~~ cargo:warning= | BN_ULONG cargo:warning=crypto/fipsmodule/ec/../bn/internal.h:191:33: error: expected ',' or ';' before 'a' cargo:warning= 191 | BN_ULLONG result = (BN_ULLONG)a * b; cargo:warning= | ^ cargo:warning=crypto/fipsmodule/ec/../bn/internal.h:193:36: error: 'BN_BITS2' undeclared (first use in this function) cargo:warning= 193 | *high_out = (BN_ULONG)(result >> BN_BITS2); cargo:warning= | ^~~~~~~~ cargo:warning=In file included from crypto/fipsmodule/ec/p256.c:24: cargo:warning=crypto/fipsmodule/ec/p256_shared.h: At top level: cargo:warning=crypto/fipsmodule/ec/p256_shared.h:40:27: error: 'BN_BITS2' undeclared here (not in a function) cargo:warning= 40 | #define P256_LIMBS (256 / BN_BITS2) cargo:warning= | ^~~~~~~~ cargo:warning=crypto/fipsmodule/ec/p256_shared.h:45:14: note: in expansion of macro 'P256_LIMBS' cargo:warning= 45 | BN_ULONG X[P256_LIMBS]; cargo:warning= | ^~~~~~~~~~ cargo:warning=In file included from crypto/fipsmodule/ec/p256.c:27: cargo:warning=crypto/fipsmodule/ec/./util.h:246:39: error: unknown type name 'crypto_word_t' cargo:warning= 246 | static inline void recode_scalar_bits(crypto_word_t *sign, crypto_word_t *digit, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/./util.h:246:60: error: unknown type name 'crypto_word_t' cargo:warning= 246 | static inline void recode_scalar_bits(crypto_word_t *sign, crypto_word_t *digit, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/./util.h:247:39: error: unknown type name 'crypto_word_t' cargo:warning= 247 | crypto_word_t in) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/p256.c: In function 'fiat_p256_point_add': cargo:warning=crypto/fipsmodule/ec/p256.c:269:43: warning: implicit declaration of function 'constant_time_is_zero_w' [-Wimplicit-function-declaration] cargo:warning= 269 | fiat_p256_limb_t is_nontrivial_double = constant_time_is_zero_w(xneq | yneq) & cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/p256.c:269:43: warning: nested extern declaration of 'constant_time_is_zero_w' [-Wnested-externs] cargo:warning=crypto/fipsmodule/ec/p256.c:272:7: warning: implicit declaration of function 'constant_time_declassify_w' [-Wimplicit-function-declaration] cargo:warning= 272 | if (constant_time_declassify_w(is_nontrivial_double)) { cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/p256.c:272:7: warning: nested extern declaration of 'constant_time_declassify_w' [-Wnested-externs] cargo:warning=crypto/fipsmodule/ec/p256.c: At top level: cargo:warning=crypto/fipsmodule/ec/p256.c:344:8: error: unknown type name 'crypto_word_t' cargo:warning= 344 | static crypto_word_t fiat_p256_get_bit(const Limb in[P256_LIMBS], int i) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/p256.c: In function 'ring_core_0_17_8_p256_point_mul': cargo:warning=crypto/fipsmodule/ec/p256.c:397:7: error: unknown type name 'crypto_word_t' cargo:warning= 397 | crypto_word_t bits = fiat_p256_get_bit(scalar, i + 4) << 5; cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/p256.c:397:46: error: type of formal parameter 1 is incomplete cargo:warning= 397 | crypto_word_t bits = fiat_p256_get_bit(scalar, i + 4) << 5; cargo:warning= | ^~~~~~ cargo:warning=crypto/fipsmodule/ec/p256.c:398:33: error: type of formal parameter 1 is incomplete cargo:warning= 398 | bits |= fiat_p256_get_bit(scalar, i + 3) << 4; cargo:warning= | ^~~~~~ cargo:warning=crypto/fipsmodule/ec/p256.c:399:33: error: type of formal parameter 1 is incomplete cargo:warning= 399 | bits |= fiat_p256_get_bit(scalar, i + 2) << 3; cargo:warning= | ^~~~~~ cargo:warning=crypto/fipsmodule/ec/p256.c:400:33: error: type of formal parameter 1 is incomplete cargo:warning= 400 | bits |= fiat_p256_get_bit(scalar, i + 1) << 2; cargo:warning= | ^~~~~~ cargo:warning=crypto/fipsmodule/ec/p256.c:401:33: error: type of formal parameter 1 is incomplete cargo:warning= 401 | bits |= fiat_p256_get_bit(scalar, i) << 1; cargo:warning= | ^~~~~~ cargo:warning=crypto/fipsmodule/ec/p256.c:402:33: error: type of formal parameter 1 is incomplete cargo:warning= 402 | bits |= fiat_p256_get_bit(scalar, i - 1); cargo:warning= | ^~~~~~ cargo:warning=crypto/fipsmodule/ec/p256.c:403:7: error: unknown type name 'crypto_word_t' cargo:warning= 403 | crypto_word_t sign, digit; cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/p256.c:404:7: warning: implicit declaration of function 'recode_scalar_bits' [-Wimplicit-function-declaration] cargo:warning= 404 | recode_scalar_bits(&sign, &digit, bits); cargo:warning= | ^~~~~~~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/p256.c:404:7: warning: nested extern declaration of 'recode_scalar_bits' [-Wnested-externs] cargo:warning=crypto/fipsmodule/ec/p256.c: In function 'ring_core_0_17_8_p256_point_mul_base': cargo:warning=crypto/fipsmodule/ec/p256.c:441:5: error: unknown type name 'crypto_word_t' cargo:warning= 441 | crypto_word_t bits = fiat_p256_get_bit(scalar, i + 224) << 3; cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/fipsmodule/ec/p256.c:441:44: error: type of formal parameter 1 is incomplete cargo:warning= 441 | crypto_word_t bits = fiat_p256_get_bit(scalar, i + 224) << 3; cargo:warning= | ^~~~~~ cargo:warning=crypto/fipsmodule/ec/p256.c:442:31: error: type of formal parameter 1 is incomplete cargo:warning= 442 | bits |= fiat_p256_get_bit(scalar, i + 160) << 2; cargo:warning= | ^~~~~~ cargo:warning=crypto/fipsmodule/ec/p256.c:443:31: error: type of formal parameter 1 is incomplete cargo:warning= 443 | bits |= fiat_p256_get_bit(scalar, i + 96) << 1; cargo:warning= | ^~~~~~ cargo:warning=crypto/fipsmodule/ec/p256.c:444:31: error: type of formal parameter 1 is incomplete cargo:warning= 444 | bits |= fiat_p256_get_bit(scalar, i + 32); cargo:warning= | ^~~~~~ cargo:warning=crypto/fipsmodule/ec/p256.c:460:30: error: type of formal parameter 1 is incomplete cargo:warning= 460 | bits = fiat_p256_get_bit(scalar, i + 192) << 3; cargo:warning= | ^~~~~~ cargo:warning=crypto/fipsmodule/ec/p256.c:461:31: error: type of formal parameter 1 is incomplete cargo:warning= 461 | bits |= fiat_p256_get_bit(scalar, i + 128) << 2; cargo:warning= | ^~~~~~ cargo:warning=crypto/fipsmodule/ec/p256.c:462:31: error: type of formal parameter 1 is incomplete cargo:warning= 462 | bits |= fiat_p256_get_bit(scalar, i + 64) << 1; cargo:warning= | ^~~~~~ cargo:warning=crypto/fipsmodule/ec/p256.c:463:31: error: type of formal parameter 1 is incomplete cargo:warning= 463 | bits |= fiat_p256_get_bit(scalar, i); cargo:warning= | ^~~~~~ exit status: 1 cargo:warning=ToolExecError: Command "gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "include" "-I" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out" "-O2" "-I/usr/pkg/include" "-I/usr/include" "-fvisibility=hidden" "-std=c1x" "-Wall" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-g3" "-DNDEBUG" "-o" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out/a9af75d892b04b75-p256.o" "-c" "crypto/fipsmodule/ec/p256.c" with args gcc did not execute successfully (status code exit status: 1).cargo:warning=In file included from include/ring-core/base.h:74, cargo:warning= from crypto/limbs/limbs.h:18, cargo:warning= from crypto/limbs/limbs.c:15: cargo:warning=include/ring-core/target.h:64:2: error: #error "Unknown target CPU" cargo:warning= 64 | #error "Unknown target CPU" cargo:warning= | ^~~~~ cargo:warning=In file included from crypto/limbs/limbs.h:20, cargo:warning= from crypto/limbs/limbs.c:15: cargo:warning=crypto/limbs/../internal.h:219:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" cargo:warning= 219 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" cargo:warning= | ^~~~~ cargo:warning=crypto/limbs/../internal.h:232:15: error: unknown type name 'crypto_word_t' cargo:warning= 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/limbs/../internal.h:232:45: error: unknown type name 'crypto_word_t' cargo:warning= 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/limbs/../internal.h:244:15: error: unknown type name 'crypto_word_t' cargo:warning= 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/limbs/../internal.h:244:49: error: unknown type name 'crypto_word_t' cargo:warning= 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/limbs/../internal.h:249:15: error: unknown type name 'crypto_word_t' cargo:warning= 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/limbs/../internal.h:249:53: error: unknown type name 'crypto_word_t' cargo:warning= 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/limbs/../internal.h:264:15: error: unknown type name 'crypto_word_t' cargo:warning= 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/limbs/../internal.h:264:56: error: unknown type name 'crypto_word_t' cargo:warning= 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/limbs/../internal.h:269:15: error: unknown type name 'crypto_word_t' cargo:warning= 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/limbs/../internal.h:269:48: error: unknown type name 'crypto_word_t' cargo:warning= 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/limbs/../internal.h:270:48: error: unknown type name 'crypto_word_t' cargo:warning= 270 | crypto_word_t b) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/limbs/../internal.h:277:15: error: unknown type name 'crypto_word_t' cargo:warning= 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/limbs/../internal.h:277:52: error: unknown type name 'crypto_word_t' cargo:warning= 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/limbs/../internal.h:278:52: error: unknown type name 'crypto_word_t' cargo:warning= 278 | crypto_word_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/limbs/../internal.h:279:52: error: unknown type name 'crypto_word_t' cargo:warning= 279 | crypto_word_t b) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/limbs/../internal.h:291:46: error: unknown type name 'crypto_word_t' cargo:warning= 291 | static inline uint8_t constant_time_select_8(crypto_word_t mask, uint8_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/limbs/../internal.h:308:59: error: unknown type name 'crypto_word_t' cargo:warning= 308 | const crypto_word_t mask) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/limbs/../internal.h: In function 'constant_time_conditional_memcpy': cargo:warning=crypto/limbs/../internal.h:313:14: warning: implicit declaration of function 'constant_time_select_8' [-Wimplicit-function-declaration] cargo:warning= 313 | out[i] = constant_time_select_8(mask, in[i], out[i]); cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~ cargo:warning=crypto/limbs/../internal.h:313:14: warning: nested extern declaration of 'constant_time_select_8' [-Wnested-externs] cargo:warning=crypto/limbs/../internal.h: At top level: cargo:warning=crypto/limbs/../internal.h:322:59: error: unknown type name 'crypto_word_t' cargo:warning= 322 | const crypto_word_t mask) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/limbs/../internal.h: In function 'constant_time_conditional_memxor': cargo:warning=crypto/limbs/../internal.h:327:15: warning: implicit declaration of function 'value_barrier_w' [-Wimplicit-function-declaration] cargo:warning= 327 | out[i] ^= value_barrier_w(mask) & in[i]; cargo:warning= | ^~~~~~~~~~~~~~~ cargo:warning=crypto/limbs/../internal.h:327:15: warning: nested extern declaration of 'value_barrier_w' [-Wnested-externs] cargo:warning=crypto/limbs/../internal.h: At top level: cargo:warning=crypto/limbs/../internal.h:359:15: error: unknown type name 'crypto_word_t' cargo:warning= 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/limbs/../internal.h:359:56: error: unknown type name 'crypto_word_t' cargo:warning= 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=In file included from crypto/limbs/limbs.c:15: cargo:warning=crypto/limbs/limbs.h:22:9: error: unknown type name 'crypto_word_t' cargo:warning= 22 | typedef crypto_word_t Limb; cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=In file included from crypto/limbs/limbs.c:18: cargo:warning=crypto/limbs/../fipsmodule/bn/internal.h:137:9: error: unknown type name 'crypto_word_t' cargo:warning= 137 | typedef crypto_word_t BN_ULONG; cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/limbs/../fipsmodule/bn/internal.h:165:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" cargo:warning= 165 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" cargo:warning= | ^~~~~ cargo:warning=crypto/limbs/../fipsmodule/bn/internal.h: In function 'bn_umult_lohi': cargo:warning=crypto/limbs/../fipsmodule/bn/internal.h:191:3: error: unknown type name 'BN_ULLONG'; did you mean 'BN_ULONG'? cargo:warning= 191 | BN_ULLONG result = (BN_ULLONG)a * b; cargo:warning= | ^~~~~~~~~ cargo:warning= | BN_ULONG cargo:warning=crypto/limbs/../fipsmodule/bn/internal.h:191:23: error: 'BN_ULLONG' undeclared (first use in this function); did you mean 'BN_ULONG'? cargo:warning= 191 | BN_ULLONG result = (BN_ULLONG)a * b; cargo:warning= | ^~~~~~~~~ cargo:warning= | BN_ULONG cargo:warning=crypto/limbs/../fipsmodule/bn/internal.h:191:23: note: each undeclared identifier is reported only once for each function it appears in cargo:warning=crypto/limbs/../fipsmodule/bn/internal.h:191:33: error: expected ',' or ';' before 'a' cargo:warning= 191 | BN_ULLONG result = (BN_ULLONG)a * b; cargo:warning= | ^ cargo:warning=crypto/limbs/../fipsmodule/bn/internal.h:193:36: error: 'BN_BITS2' undeclared (first use in this function) cargo:warning= 193 | *high_out = (BN_ULONG)(result >> BN_BITS2); cargo:warning= | ^~~~~~~~ cargo:warning=In file included from crypto/limbs/limbs.c:15: cargo:warning=crypto/limbs/limbs.inl: At top level: cargo:warning=crypto/limbs/limbs.h:24:19: warning: "CRYPTO_WORD_BITS" is not defined, evaluates to 0 [-Wundef] cargo:warning= 24 | #define LIMB_BITS CRYPTO_WORD_BITS cargo:warning= | ^~~~~~~~~~~~~~~~ cargo:warning=crypto/limbs/limbs.inl:49:5: note: in expansion of macro 'LIMB_BITS' cargo:warning= 49 | #if LIMB_BITS == 64 cargo:warning= | ^~~~~~~~~ cargo:warning=crypto/limbs/limbs.h:24:19: warning: "CRYPTO_WORD_BITS" is not defined, evaluates to 0 [-Wundef] cargo:warning= 24 | #define LIMB_BITS CRYPTO_WORD_BITS cargo:warning= | ^~~~~~~~~~~~~~~~ cargo:warning=crypto/limbs/limbs.inl:51:7: note: in expansion of macro 'LIMB_BITS' cargo:warning= 51 | #elif LIMB_BITS == 32 cargo:warning= | ^~~~~~~~~ cargo:warning=In file included from crypto/limbs/limbs.c:19: cargo:warning=crypto/limbs/limbs.inl: In function 'limb_adc': cargo:warning=crypto/limbs/limbs.inl:64:3: error: unknown type name 'DoubleLimb' cargo:warning= 64 | DoubleLimb x = (DoubleLimb)a + b + carry_in; cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/limbs/limbs.inl:64:19: error: 'DoubleLimb' undeclared (first use in this function) cargo:warning= 64 | DoubleLimb x = (DoubleLimb)a + b + carry_in; cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/limbs/limbs.inl:64:30: error: expected ',' or ';' before 'a' cargo:warning= 64 | DoubleLimb x = (DoubleLimb)a + b + carry_in; cargo:warning= | ^ cargo:warning=In file included from crypto/limbs/limbs.c:15: cargo:warning=crypto/limbs/limbs.h:24:19: error: 'CRYPTO_WORD_BITS' undeclared (first use in this function) cargo:warning= 24 | #define LIMB_BITS CRYPTO_WORD_BITS cargo:warning= | ^~~~~~~~~~~~~~~~ cargo:warning=crypto/limbs/limbs.inl:66:22: note: in expansion of macro 'LIMB_BITS' cargo:warning= 66 | ret = (Carry)(x >> LIMB_BITS); cargo:warning= | ^~~~~~~~~ cargo:warning=In file included from crypto/limbs/limbs.c:19: cargo:warning=crypto/limbs/limbs.inl: In function 'limb_add': cargo:warning=crypto/limbs/limbs.inl:78:3: error: unknown type name 'DoubleLimb' cargo:warning= 78 | DoubleLimb x = (DoubleLimb)a + b; cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/limbs/limbs.inl:78:19: error: 'DoubleLimb' undeclared (first use in this function) cargo:warning= 78 | DoubleLimb x = (DoubleLimb)a + b; cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/limbs/limbs.inl:78:30: error: expected ',' or ';' before 'a' cargo:warning= 78 | DoubleLimb x = (DoubleLimb)a + b; cargo:warning= | ^ cargo:warning=In file included from crypto/limbs/limbs.c:15: cargo:warning=crypto/limbs/limbs.h:24:19: error: 'CRYPTO_WORD_BITS' undeclared (first use in this function) cargo:warning= 24 | #define LIMB_BITS CRYPTO_WORD_BITS cargo:warning= | ^~~~~~~~~~~~~~~~ cargo:warning=crypto/limbs/limbs.inl:80:22: note: in expansion of macro 'LIMB_BITS' cargo:warning= 80 | ret = (Carry)(x >> LIMB_BITS); cargo:warning= | ^~~~~~~~~ cargo:warning=In file included from crypto/limbs/limbs.c:19: cargo:warning=crypto/limbs/limbs.inl: In function 'limb_sbb': cargo:warning=crypto/limbs/limbs.inl:94:3: error: unknown type name 'DoubleLimb' cargo:warning= 94 | DoubleLimb x = (DoubleLimb)a - b - borrow_in; cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/limbs/limbs.inl:94:19: error: 'DoubleLimb' undeclared (first use in this function) cargo:warning= 94 | DoubleLimb x = (DoubleLimb)a - b - borrow_in; cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/limbs/limbs.inl:94:30: error: expected ',' or ';' before 'a' cargo:warning= 94 | DoubleLimb x = (DoubleLimb)a - b - borrow_in; cargo:warning= | ^ cargo:warning=In file included from crypto/limbs/limbs.c:15: cargo:warning=crypto/limbs/limbs.h:24:19: error: 'CRYPTO_WORD_BITS' undeclared (first use in this function) cargo:warning= 24 | #define LIMB_BITS CRYPTO_WORD_BITS cargo:warning= | ^~~~~~~~~~~~~~~~ cargo:warning=crypto/limbs/limbs.inl:96:23: note: in expansion of macro 'LIMB_BITS' cargo:warning= 96 | ret = (Carry)((x >> LIMB_BITS) & 1); cargo:warning= | ^~~~~~~~~ cargo:warning=In file included from crypto/limbs/limbs.c:19: cargo:warning=crypto/limbs/limbs.inl: In function 'limb_sub': cargo:warning=crypto/limbs/limbs.inl:108:3: error: unknown type name 'DoubleLimb' cargo:warning= 108 | DoubleLimb x = (DoubleLimb)a - b; cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/limbs/limbs.inl:108:19: error: 'DoubleLimb' undeclared (first use in this function) cargo:warning= 108 | DoubleLimb x = (DoubleLimb)a - b; cargo:warning= | ^~~~~~~~~~ cargo:warning=crypto/limbs/limbs.inl:108:30: error: expected ',' or ';' before 'a' cargo:warning= 108 | DoubleLimb x = (DoubleLimb)a - b; cargo:warning= | ^ cargo:warning=In file included from crypto/limbs/limbs.c:15: cargo:warning=crypto/limbs/limbs.h:24:19: error: 'CRYPTO_WORD_BITS' undeclared (first use in this function) cargo:warning= 24 | #define LIMB_BITS CRYPTO_WORD_BITS cargo:warning= | ^~~~~~~~~~~~~~~~ cargo:warning=crypto/limbs/limbs.inl:110:23: note: in expansion of macro 'LIMB_BITS' cargo:warning= 110 | ret = (Carry)((x >> LIMB_BITS) & 1); cargo:warning= | ^~~~~~~~~ cargo:warning=In file included from crypto/limbs/limbs.c:19: cargo:warning=crypto/limbs/limbs.inl: At top level: cargo:warning=crypto/limbs/limbs.inl:145:33: error: unknown type name 'crypto_word_t' cargo:warning= 145 | crypto_word_t index) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=In file included from crypto/limbs/limbs.h:20, cargo:warning= from crypto/limbs/limbs.c:15: cargo:warning=crypto/limbs/limbs.c: In function 'ring_core_0_17_8_LIMBS_are_zero': cargo:warning=crypto/limbs/../internal.h:222:29: error: 'crypto_word_t' undeclared (first use in this function) cargo:warning= 222 | #define CONSTTIME_TRUE_W ~((crypto_word_t)0) cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/limbs/limbs.c:29:18: note: in expansion of macro 'CONSTTIME_TRUE_W' cargo:warning= 29 | Limb is_zero = CONSTTIME_TRUE_W; cargo:warning= | ^~~~~~~~~~~~~~~~ cargo:warning=crypto/limbs/../internal.h:222:43: error: expected ')' before numeric constant cargo:warning= 222 | #define CONSTTIME_TRUE_W ~((crypto_word_t)0) cargo:warning= | ~ ^ cargo:warning=crypto/limbs/limbs.c:29:18: note: in expansion of macro 'CONSTTIME_TRUE_W' cargo:warning= 29 | Limb is_zero = CONSTTIME_TRUE_W; cargo:warning= | ^~~~~~~~~~~~~~~~ cargo:warning=crypto/limbs/limbs.c:31:15: warning: implicit declaration of function 'constant_time_select_w' [-Wimplicit-function-declaration] cargo:warning= 31 | is_zero = constant_time_select_w(is_zero, constant_time_is_zero_w(a[i]), cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~ cargo:warning=crypto/limbs/limbs.c:31:15: warning: nested extern declaration of 'constant_time_select_w' [-Wnested-externs] cargo:warning=crypto/limbs/limbs.c:31:47: warning: implicit declaration of function 'constant_time_is_zero_w' [-Wimplicit-function-declaration] cargo:warning= 31 | is_zero = constant_time_select_w(is_zero, constant_time_is_zero_w(a[i]), cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~ cargo:warning=crypto/limbs/limbs.c:31:47: warning: nested extern declaration of 'constant_time_is_zero_w' [-Wnested-externs] cargo:warning=In file included from crypto/limbs/limbs.h:20, cargo:warning= from crypto/limbs/limbs.c:15: cargo:warning=crypto/limbs/limbs.c: In function 'ring_core_0_17_8_LIMBS_equal': cargo:warning=crypto/limbs/../internal.h:222:29: error: 'crypto_word_t' undeclared (first use in this function) cargo:warning= 222 | #define CONSTTIME_TRUE_W ~((crypto_word_t)0) cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/limbs/limbs.c:39:13: note: in expansion of macro 'CONSTTIME_TRUE_W' cargo:warning= 39 | Limb eq = CONSTTIME_TRUE_W; cargo:warning= | ^~~~~~~~~~~~~~~~ cargo:warning=crypto/limbs/../internal.h:222:43: error: expected ')' before numeric constant cargo:warning= 222 | #define CONSTTIME_TRUE_W ~((crypto_word_t)0) cargo:warning= | ~ ^ cargo:warning=crypto/limbs/limbs.c:39:13: note: in expansion of macro 'CONSTTIME_TRUE_W' cargo:warning= 39 | Limb eq = CONSTTIME_TRUE_W; cargo:warning= | ^~~~~~~~~~~~~~~~ cargo:warning=crypto/limbs/limbs.c:41:37: warning: implicit declaration of function 'constant_time_eq_w' [-Wimplicit-function-declaration] cargo:warning= 41 | eq = constant_time_select_w(eq, constant_time_eq_w(a[i], b[i]), eq); cargo:warning= | ^~~~~~~~~~~~~~~~~~ cargo:warning=crypto/limbs/limbs.c:41:37: warning: nested extern declaration of 'constant_time_eq_w' [-Wnested-externs] cargo:warning=crypto/limbs/limbs.c: In function 'ring_core_0_17_8_LIMBS_less_than': cargo:warning=crypto/limbs/limbs.c:80:10: warning: implicit declaration of function 'constant_time_is_nonzero_w' [-Wimplicit-function-declaration] cargo:warning= 80 | return constant_time_is_nonzero_w(borrow); cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cargo:warning=crypto/limbs/limbs.c:80:10: warning: nested extern declaration of 'constant_time_is_nonzero_w' [-Wnested-externs] cargo:warning=In file included from crypto/limbs/limbs.c:15: cargo:warning=crypto/limbs/limbs.c: In function 'ring_core_0_17_8_LIMBS_shl_mod': cargo:warning=crypto/limbs/limbs.h:24:19: error: 'CRYPTO_WORD_BITS' undeclared (first use in this function) cargo:warning= 24 | #define LIMB_BITS CRYPTO_WORD_BITS cargo:warning= | ^~~~~~~~~~~~~~~~ cargo:warning=crypto/limbs/limbs.h:25:38: note: in expansion of macro 'LIMB_BITS' cargo:warning= 25 | #define LIMB_HIGH_BIT ((Limb)(1) << (LIMB_BITS - 1)) cargo:warning= | ^~~~~~~~~ cargo:warning=crypto/limbs/limbs.c:137:53: note: in expansion of macro 'LIMB_HIGH_BIT' cargo:warning= 137 | constant_time_is_nonzero_w(a[num_limbs - 1] & LIMB_HIGH_BIT); cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/limbs/limbs.c: At top level: cargo:warning=crypto/limbs/limbs.c:154:25: error: unknown type name 'crypto_word_t' cargo:warning= 154 | crypto_word_t index) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/limbs/limbs.c:164:1: error: unknown type name 'crypto_word_t' cargo:warning= 164 | crypto_word_t LIMBS_window5_split_window(Limb lower_limb, Limb higher_limb, size_t index_within_word) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=In file included from crypto/limbs/limbs.c:15: cargo:warning=crypto/limbs/limbs.c: In function 'ring_core_0_17_8_LIMBS_window5_split_window': cargo:warning=crypto/limbs/limbs.h:24:19: error: 'CRYPTO_WORD_BITS' undeclared (first use in this function) cargo:warning= 24 | #define LIMB_BITS CRYPTO_WORD_BITS cargo:warning= | ^~~~~~~~~~~~~~~~ cargo:warning=crypto/limbs/limbs.c:165:37: note: in expansion of macro 'LIMB_BITS' cargo:warning= 165 | Limb high_bits = (higher_limb << (LIMB_BITS - index_within_word)) cargo:warning= | ^~~~~~~~~ cargo:warning=crypto/limbs/limbs.c: At top level: cargo:warning=crypto/limbs/limbs.c:174:1: error: unknown type name 'crypto_word_t' cargo:warning= 174 | crypto_word_t LIMBS_window5_unsplit_window(Limb limb, size_t index_within_word) { cargo:warning= | ^~~~~~~~~~~~~ exit status: 1 cargo:warning=ToolExecError: Command "gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "include" "-I" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out" "-O2" "-I/usr/pkg/include" "-I/usr/include" "-fvisibility=hidden" "-std=c1x" "-Wall" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-g3" "-DNDEBUG" "-o" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out/a1949f2101df4b9c-limbs.o" "-c" "crypto/limbs/limbs.c" with args gcc did not execute successfully (status code exit status: 1).cargo:warning=In file included from include/ring-core/base.h:74, cargo:warning= from include/ring-core/mem.h:60, cargo:warning= from crypto/mem.c:57: cargo:warning=include/ring-core/target.h:64:2: error: #error "Unknown target CPU" cargo:warning= 64 | #error "Unknown target CPU" cargo:warning= | ^~~~~ cargo:warning=In file included from crypto/mem.c:58: cargo:warning=crypto/internal.h:219:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" cargo:warning= 219 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" cargo:warning= | ^~~~~ cargo:warning=crypto/internal.h:232:15: error: unknown type name 'crypto_word_t' cargo:warning= 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/internal.h:232:45: error: unknown type name 'crypto_word_t' cargo:warning= 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/internal.h:244:15: error: unknown type name 'crypto_word_t' cargo:warning= 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/internal.h:244:49: error: unknown type name 'crypto_word_t' cargo:warning= 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/internal.h:249:15: error: unknown type name 'crypto_word_t' cargo:warning= 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/internal.h:249:53: error: unknown type name 'crypto_word_t' cargo:warning= 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/internal.h:264:15: error: unknown type name 'crypto_word_t' cargo:warning= 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/internal.h:264:56: error: unknown type name 'crypto_word_t' cargo:warning= 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/internal.h:269:15: error: unknown type name 'crypto_word_t' cargo:warning= 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/internal.h:269:48: error: unknown type name 'crypto_word_t' cargo:warning= 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/internal.h:270:48: error: unknown type name 'crypto_word_t' cargo:warning= 270 | crypto_word_t b) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/internal.h:277:15: error: unknown type name 'crypto_word_t' cargo:warning= 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/internal.h:277:52: error: unknown type name 'crypto_word_t' cargo:warning= 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/internal.h:278:52: error: unknown type name 'crypto_word_t' cargo:warning= 278 | crypto_word_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/internal.h:279:52: error: unknown type name 'crypto_word_t' cargo:warning= 279 | crypto_word_t b) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/internal.h:291:46: error: unknown type name 'crypto_word_t' cargo:warning= 291 | static inline uint8_t constant_time_select_8(crypto_word_t mask, uint8_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/internal.h:308:59: error: unknown type name 'crypto_word_t' cargo:warning= 308 | const crypto_word_t mask) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/internal.h: In function 'constant_time_conditional_memcpy': cargo:warning=crypto/internal.h:313:14: warning: implicit declaration of function 'constant_time_select_8' [-Wimplicit-function-declaration] cargo:warning= 313 | out[i] = constant_time_select_8(mask, in[i], out[i]); cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~ cargo:warning=crypto/internal.h:313:14: warning: nested extern declaration of 'constant_time_select_8' [-Wnested-externs] cargo:warning=crypto/internal.h: At top level: cargo:warning=crypto/internal.h:322:59: error: unknown type name 'crypto_word_t' cargo:warning= 322 | const crypto_word_t mask) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/internal.h: In function 'constant_time_conditional_memxor': cargo:warning=crypto/internal.h:327:15: warning: implicit declaration of function 'value_barrier_w' [-Wimplicit-function-declaration] cargo:warning= 327 | out[i] ^= value_barrier_w(mask) & in[i]; cargo:warning= | ^~~~~~~~~~~~~~~ cargo:warning=crypto/internal.h:327:15: warning: nested extern declaration of 'value_barrier_w' [-Wnested-externs] cargo:warning=crypto/internal.h: At top level: cargo:warning=crypto/internal.h:359:15: error: unknown type name 'crypto_word_t' cargo:warning= 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/internal.h:359:56: error: unknown type name 'crypto_word_t' cargo:warning= 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { cargo:warning= | ^~~~~~~~~~~~~ exit status: 1 cargo:warning=ToolExecError: Command "gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "include" "-I" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out" "-O2" "-I/usr/pkg/include" "-I/usr/include" "-fvisibility=hidden" "-std=c1x" "-Wall" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-g3" "-DNDEBUG" "-o" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out/7effb53edfc7fa2d-mem.o" "-c" "crypto/mem.c" with args gcc did not execute successfully (status code exit status: 1).cargo:warning=In file included from include/ring-core/base.h:74, cargo:warning= from include/ring-core/poly1305.h:18, cargo:warning= from crypto/poly1305/poly1305.c:19: cargo:warning=include/ring-core/target.h:64:2: error: #error "Unknown target CPU" cargo:warning= 64 | #error "Unknown target CPU" cargo:warning= | ^~~~~ cargo:warning=In file included from crypto/poly1305/poly1305.c:22: cargo:warning=crypto/poly1305/../internal.h:219:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" cargo:warning= 219 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" cargo:warning= | ^~~~~ cargo:warning=crypto/poly1305/../internal.h:232:15: error: unknown type name 'crypto_word_t' cargo:warning= 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/poly1305/../internal.h:232:45: error: unknown type name 'crypto_word_t' cargo:warning= 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/poly1305/../internal.h:244:15: error: unknown type name 'crypto_word_t' cargo:warning= 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/poly1305/../internal.h:244:49: error: unknown type name 'crypto_word_t' cargo:warning= 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/poly1305/../internal.h:249:15: error: unknown type name 'crypto_word_t' cargo:warning= 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/poly1305/../internal.h:249:53: error: unknown type name 'crypto_word_t' cargo:warning= 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/poly1305/../internal.h:264:15: error: unknown type name 'crypto_word_t' cargo:warning= 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/poly1305/../internal.h:264:56: error: unknown type name 'crypto_word_t' cargo:warning= 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/poly1305/../internal.h:269:15: error: unknown type name 'crypto_word_t' cargo:warning= 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/poly1305/../internal.h:269:48: error: unknown type name 'crypto_word_t' cargo:warning= 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/poly1305/../internal.h:270:48: error: unknown type name 'crypto_word_t' cargo:warning= 270 | crypto_word_t b) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/poly1305/../internal.h:277:15: error: unknown type name 'crypto_word_t' cargo:warning= 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/poly1305/../internal.h:277:52: error: unknown type name 'crypto_word_t' cargo:warning= 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/poly1305/../internal.h:278:52: error: unknown type name 'crypto_word_t' cargo:warning= 278 | crypto_word_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/poly1305/../internal.h:279:52: error: unknown type name 'crypto_word_t' cargo:warning= 279 | crypto_word_t b) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/poly1305/../internal.h:291:46: error: unknown type name 'crypto_word_t' cargo:warning= 291 | static inline uint8_t constant_time_select_8(crypto_word_t mask, uint8_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/poly1305/../internal.h:308:59: error: unknown type name 'crypto_word_t' cargo:warning= 308 | const crypto_word_t mask) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/poly1305/../internal.h: In function 'constant_time_conditional_memcpy': cargo:warning=crypto/poly1305/../internal.h:313:14: warning: implicit declaration of function 'constant_time_select_8' [-Wimplicit-function-declaration] cargo:warning= 313 | out[i] = constant_time_select_8(mask, in[i], out[i]); cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~ cargo:warning=crypto/poly1305/../internal.h:313:14: warning: nested extern declaration of 'constant_time_select_8' [-Wnested-externs] cargo:warning=crypto/poly1305/../internal.h: At top level: cargo:warning=crypto/poly1305/../internal.h:322:59: error: unknown type name 'crypto_word_t' cargo:warning= 322 | const crypto_word_t mask) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/poly1305/../internal.h: In function 'constant_time_conditional_memxor': cargo:warning=crypto/poly1305/../internal.h:327:15: warning: implicit declaration of function 'value_barrier_w' [-Wimplicit-function-declaration] cargo:warning= 327 | out[i] ^= value_barrier_w(mask) & in[i]; cargo:warning= | ^~~~~~~~~~~~~~~ cargo:warning=crypto/poly1305/../internal.h:327:15: warning: nested extern declaration of 'value_barrier_w' [-Wnested-externs] cargo:warning=crypto/poly1305/../internal.h: At top level: cargo:warning=crypto/poly1305/../internal.h:359:15: error: unknown type name 'crypto_word_t' cargo:warning= 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/poly1305/../internal.h:359:56: error: unknown type name 'crypto_word_t' cargo:warning= 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { cargo:warning= | ^~~~~~~~~~~~~ exit status: 1 cargo:warning=ToolExecError: Command "gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "include" "-I" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out" "-O2" "-I/usr/pkg/include" "-I/usr/include" "-fvisibility=hidden" "-std=c1x" "-Wall" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-g3" "-DNDEBUG" "-o" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out/bec76f70393ddef1-poly1305.o" "-c" "crypto/poly1305/poly1305.c" with args gcc did not execute successfully (status code exit status: 1). --- stderr error occurred: Command "gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "include" "-I" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out" "-O2" "-I/usr/pkg/include" "-I/usr/include" "-fvisibility=hidden" "-std=c1x" "-Wall" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-g3" "-DNDEBUG" "-o" "/usr/pkgsrc/net/termscp/work/termscp-0.16.1/target/release/build/ring-1c2abdce70e742be/out/bec76f70393ddef1-poly1305.o" "-c" "crypto/poly1305/poly1305.c" with args gcc did not execute successfully (status code exit status: 1). *** Error code 101 Stop. make[1]: stopped in /usr/pkgsrc/net/termscp *** Error code 1 Stop. make: stopped in /usr/pkgsrc/net/termscp