>>> ibm-sw-tpm2 1563 Downloading --2020-05-07 04:16:53-- https://sourceforge.net/projects/ibmswtpm2/files/ibmtpm1563.tar.gz Resolving sourceforge.net (sourceforge.net)... 216.105.38.13 Connecting to sourceforge.net (sourceforge.net)|216.105.38.13|:443... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://sourceforge.net/projects/ibmswtpm2/files/ibmtpm1563.tar.gz/ [following] --2020-05-07 04:16:53-- https://sourceforge.net/projects/ibmswtpm2/files/ibmtpm1563.tar.gz/ Connecting to sourceforge.net (sourceforge.net)|216.105.38.13|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://sourceforge.net/projects/ibmswtpm2/files/ibmtpm1563.tar.gz/download [following] --2020-05-07 04:16:54-- https://sourceforge.net/projects/ibmswtpm2/files/ibmtpm1563.tar.gz/download Reusing existing connection to sourceforge.net:443. HTTP request sent, awaiting response... 302 Found Location: https://downloads.sourceforge.net/project/ibmswtpm2/ibmtpm1563.tar.gz?r=&ts=1588846614&use_mirror=phoenixnap [following] --2020-05-07 04:16:54-- https://downloads.sourceforge.net/project/ibmswtpm2/ibmtpm1563.tar.gz?r=&ts=1588846614&use_mirror=phoenixnap Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.105.38.13 Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.105.38.13|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://phoenixnap.dl.sourceforge.net/project/ibmswtpm2/ibmtpm1563.tar.gz [following] --2020-05-07 04:16:54-- https://phoenixnap.dl.sourceforge.net/project/ibmswtpm2/ibmtpm1563.tar.gz Resolving phoenixnap.dl.sourceforge.net (phoenixnap.dl.sourceforge.net)... 184.164.141.26 Connecting to phoenixnap.dl.sourceforge.net (phoenixnap.dl.sourceforge.net)|184.164.141.26|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 673153 (657K) [application/x-gzip] Saving to: '/tmp/instance-3/output-1/build/.ibmtpm1563.tar.gz.NN2TKq/output' 0K .......... .......... .......... .......... .......... 7% 2.17M 0s 50K .......... .......... .......... .......... .......... 15% 2.22M 0s 100K .......... .......... .......... .......... .......... 22% 279M 0s 150K .......... .......... .......... .......... .......... 30% 1.83M 0s 200K .......... .......... .......... .......... .......... 38% 275M 0s 250K .......... .......... .......... .......... .......... 45% 301M 0s 300K .......... .......... .......... .......... .......... 53% 2.99M 0s 350K .......... .......... .......... .......... .......... 60% 96.6M 0s 400K .......... .......... .......... .......... .......... 68% 2.33M 0s 450K .......... .......... .......... .......... .......... 76% 25.1M 0s 500K .......... .......... .......... .......... .......... 83% 276M 0s 550K .......... .......... .......... .......... .......... 91% 2.35M 0s 600K .......... .......... .......... .......... .......... 98% 279M 0s 650K ....... 100% 273M=0.1s 2020-05-07 04:16:54 (4.84 MB/s) - '/tmp/instance-3/output-1/build/.ibmtpm1563.tar.gz.NN2TKq/output' saved [673153/673153] ibmtpm1563.tar.gz: OK (sha1: a2a5335024a2edc1739f08b99e716fa355be627d) ibmtpm1563.tar.gz: OK (md5: 13013612b3a13dc935fefe1a5684179c) ibmtpm1563.tar.gz: OK (sha256: fc3a17f8315c1f47670764f2384943afc0d3ba1e9a0422dacb08d455733bd1e9) >>> ibm-sw-tpm2 1563 Extracting gzip -d -c /tmp/instance-3/dl/ibm-sw-tpm2/ibmtpm1563.tar.gz | /tmp/instance-3/output-1/host/bin/tar --strip-components=1 -C /tmp/instance-3/output-1/build/ibm-sw-tpm2-1563 -xf - >>> ibm-sw-tpm2 1563 Patching Applying 0001-Use-__WORDSIZE-to-define-RADIX_BITS.patch using patch: patching file src/LibSupport.h >>> ibm-sw-tpm2 1563 Configuring >>> ibm-sw-tpm2 1563 Building PATH="/tmp/instance-3/output-1/host/bin:/tmp/instance-3/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j32 -C /tmp/instance-3/output-1/build/ibm-sw-tpm2-1563/src PATH="/tmp/instance-3/output-1/host/bin:/tmp/instance-3/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" AR="/tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-ar" AS="/tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-as" LD="/tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-ld" NM="/tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-nm" CC="/tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc" GCC="/tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc" CPP="/tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-cpp" CXX="/tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-g++" FC="/tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-gfortran" F77="/tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-gfortran" RANLIB="/tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-ranlib" READELF="/tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-readelf" STRIP="/tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-strip" OBJCOPY="/tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-objcopy" OBJDUMP="/tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/tmp/instance-3/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/tmp/instance-3/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/tmp/instance-3/output-1/host/include" LDFLAGS_FOR_BUILD="-L/tmp/instance-3/output-1/host/lib -Wl,-rpath,/tmp/instance-3/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-as" DEFAULT_LINKER="/tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 " LDFLAGS="" FCFLAGS=" -O2 " FFLAGS=" -O2 " PKG_CONFIG="/tmp/instance-3/output-1/host/bin/pkg-config" STAGING_DIR="/tmp/instance-3/output-1/host/arm-buildroot-linux-musleabihf/sysroot" INTLTOOL_PERL=/usr/bin/perl make[1]: Entering directory '/tmp/instance-3/output-1/build/ibm-sw-tpm2-1563/src' /tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO ACTCommands.c -o ACTCommands.o /tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO ACT_spt.c -o ACT_spt.o /tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO AlgorithmCap.c -o AlgorithmCap.o /tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO AlgorithmTests.c -o AlgorithmTests.o /tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO AsymmetricCommands.c -o AsymmetricCommands.o /tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO Attest_spt.c -o Attest_spt.o /tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO AttestationCommands.c -o AttestationCommands.o /tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO AuditCommands.c -o AuditCommands.o /tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO Bits.c -o Bits.o /tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO BnConvert.c -o BnConvert.o /tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO BnMath.c -o BnMath.o /tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO BnMemory.c -o BnMemory.o /tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO Cancel.c -o Cancel.o /tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO CapabilityCommands.c -o CapabilityCommands.o /tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO Clock.c -o Clock.o In file included from Global.h:80, from Tpm.h:78, from ACT_spt.c:73: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from ACTCommands.c:62: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ /tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO ClockCommands.c -o ClockCommands.o In file included from Global.h:80, from Tpm.h:78, from AlgorithmCap.c:67: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function); did you mean 'PROOF_SIZE'? #define RADIX_BITS __WORDSIZE ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function); did you mean 'PROOF_SIZE'? #define RADIX_BITS __WORDSIZE ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from AsymmetricCommands.c:62: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from AlgorithmTests.c:66: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function); did you mean 'PROOF_SIZE'? #define RADIX_BITS __WORDSIZE ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from AttestationCommands.c:62: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from ACT_spt.c:73: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from Global.h:83, from Tpm.h:78, from ACT_spt.c:73: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ In file included from Global.h:80, from Tpm.h:78, from Attest_spt.c:62: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ /tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO CommandAudit.c -o CommandAudit.o In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from ACTCommands.c:62: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from Global.h:83, from Tpm.h:78, from ACTCommands.c:62: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function); did you mean 'PROOF_SIZE'? #define RADIX_BITS __WORDSIZE ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from AlgorithmCap.c:67: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function); did you mean 'PROOF_SIZE'? #define RADIX_BITS __WORDSIZE ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from Global.h:83, from Tpm.h:78, from AlgorithmCap.c:67: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_BITS'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from ACT_spt.c:73: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_BITS'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from Bits.c:69: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ In file included from Global.h:80, from Tpm.h:78, from ACTCommands.c:62: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function); did you mean 'PROOF_SIZE'? #define RADIX_BITS __WORDSIZE ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_BITS'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from AlgorithmCap.c:67: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from AsymmetricCommands.c:62: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from AlgorithmTests.c:66: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ In file included from Global.h:83, from Tpm.h:78, from AsymmetricCommands.c:62: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function); did you mean 'PROOF_SIZE'? #define RADIX_BITS __WORDSIZE ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from Global.h:83, from Tpm.h:78, from AlgorithmTests.c:66: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ /tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO CommandCodeAttributes.c -o CommandCodeAttributes.o BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from AttestationCommands.c:62: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ In file included from Global.h:83, from Tpm.h:78, from AttestationCommands.c:62: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_BITS'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from AlgorithmTests.c:66: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function); did you mean 'PROOF_SIZE'? #define RADIX_BITS __WORDSIZE ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from Attest_spt.c:62: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_BITS'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from Global.h:83, from Tpm.h:78, from Attest_spt.c:62: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from AsymmetricCommands.c:62: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_BITS'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ /tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO CommandDispatcher.c -o CommandDispatcher.o In file included from Global.h:80, from Tpm.h:78, from AttestationCommands.c:62: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ /tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO ContextCommands.c -o ContextCommands.o In file included from Global.h:80, from Tpm.h:78, from AuditCommands.c:62: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_BITS'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from Attest_spt.c:62: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from Bits.c:69: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ In file included from Global.h:83, from Tpm.h:78, from Bits.c:69: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_BITS'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from Bits.c:69: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function); did you mean 'PROOF_SIZE'? #define RADIX_BITS __WORDSIZE ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from AuditCommands.c:62: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ In file included from Global.h:83, from Tpm.h:78, from AuditCommands.c:62: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ /tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO Context_spt.c -o Context_spt.o In file included from Global.h:80, from Tpm.h:78, from BnMath.c:85: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_BITS'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from AuditCommands.c:62: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from BnMemory.c:66: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from ACT_spt.c:73: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from ACTCommands.c:62: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function); did you mean 'PROOF_SIZE'? #define RADIX_BITS __WORDSIZE ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from BnConvert.c:67: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ /tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO CryptDes.c -o CryptDes.o In file included from InternalRoutines.h:112, from Tpm.h:79, from AlgorithmCap.c:67: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function); did you mean 'PROOF_SIZE'? #define RADIX_BITS __WORDSIZE ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from BnMath.c:85: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ In file included from Global.h:83, from Tpm.h:78, from BnMath.c:85: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from AlgorithmTests.c:66: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function); did you mean 'PROOF_SIZE'? #define RADIX_BITS __WORDSIZE ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from AttestationCommands.c:62: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_BITS'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from BnMemory.c:66: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from BnMath.c:85: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ In file included from Global.h:83, from Tpm.h:78, from BnMemory.c:66: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ /tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO CryptCmac.c -o CryptCmac.o BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from BnConvert.c:67: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from Global.h:83, from Tpm.h:78, from BnConvert.c:67: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_BITS'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from BnMemory.c:66: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from Attest_spt.c:62: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from Bits.c:69: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_BITS'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from AsymmetricCommands.c:62: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from BnConvert.c:67: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ /tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO CryptEccData.c -o CryptEccData.o BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from AuditCommands.c:62: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ /tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO CryptEccKeyExchange.c -o CryptEccKeyExchange.o BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ /tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO CryptEccMain.c -o CryptEccMain.o BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from AlgorithmCap.c:67: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CapabilityCommands.c:62: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from BnMath.c:85: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from ACT_spt.c:73: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from ACTCommands.c:62: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ /tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO CryptEccSignature.c -o CryptEccSignature.o In file included from Global.h:80, from Tpm.h:78, from CommandAudit.c:66: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from BnMemory.c:66: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function); did you mean 'PROOF_SIZE'? #define RADIX_BITS __WORDSIZE ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from AlgorithmTests.c:66: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from BnConvert.c:67: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function); did you mean 'PROOF_SIZE'? #define RADIX_BITS __WORDSIZE ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from AttestationCommands.c:62: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from CapabilityCommands.c:62: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ /tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO CryptHash.c -o CryptHash.o BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ In file included from Global.h:83, from Tpm.h:78, from CapabilityCommands.c:62: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from Attest_spt.c:62: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from CommandAudit.c:66: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from AsymmetricCommands.c:62: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ In file included from Global.h:83, from Tpm.h:78, from CommandAudit.c:66: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_BITS'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CapabilityCommands.c:62: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_BITS'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from Bits.c:69: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CommandAudit.c:66: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ /tmp/instance-3/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO CryptPrime.c -o CryptPrime.o In file included from Global.h:80, from Tpm.h:78, from CommandCodeAttributes.c:66: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from AuditCommands.c:62: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from ClockCommands.c:62: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ make[1]: *** [makefile:88: AlgorithmCap.o] Error 1 make[1]: *** Waiting for unfinished jobs.... BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ make[1]: *** [makefile:88: ACTCommands.o] Error 1 make[1]: *** [makefile:88: ACT_spt.o] Error 1 BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function); did you mean 'PROOF_SIZE'? #define RADIX_BITS __WORDSIZE ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from ContextCommands.c:62: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function); did you mean 'PROOF_SIZE'? #define RADIX_BITS __WORDSIZE ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from CommandCodeAttributes.c:66: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ In file included from Global.h:83, from Tpm.h:78, from CommandCodeAttributes.c:66: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from ClockCommands.c:62: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ make[1]: *** [makefile:88: Attest_spt.o] Error 1 In file included from Global.h:83, from Tpm.h:78, from ClockCommands.c:62: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function); did you mean 'PROOF_SIZE'? #define RADIX_BITS __WORDSIZE ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_BITS'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_BITS'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CommandCodeAttributes.c:66: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from ClockCommands.c:62: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ make[1]: *** [makefile:88: Bits.o] Error 1 BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ make[1]: *** [makefile:88: AsymmetricCommands.o] Error 1 make[1]: *** [makefile:88: AttestationCommands.o] Error 1 BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from BnMath.c:85: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from ContextCommands.c:62: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ In file included from Global.h:83, from Tpm.h:78, from ContextCommands.c:62: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ make[1]: *** [makefile:88: AlgorithmTests.o] Error 1 CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_BITS'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from ContextCommands.c:62: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CommandDispatcher.c:78: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ make[1]: *** [makefile:88: AuditCommands.o] Error 1 BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from BnConvert.c:67: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from CapabilityCommands.c:62: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from BnMemory.c:66: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from CommandAudit.c:66: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function); did you mean 'PROOF_SIZE'? #define RADIX_BITS __WORDSIZE ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptCmac.c:69: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from CommandDispatcher.c:78: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ In file included from Global.h:83, from Tpm.h:78, from CommandDispatcher.c:78: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function); did you mean 'PROOF_SIZE'? #define RADIX_BITS __WORDSIZE ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_BITS'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ In file included from Global.h:80, from Tpm.h:78, from CommandDispatcher.c:78: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from CryptCmac.c:69: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ In file included from Global.h:83, from Tpm.h:78, from CryptCmac.c:69: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnMath.c:100:2: error: unknown type name 'crypt_uword_t' crypt_uword_t *result, ^~~~~~~~~~~~~ BnMath.c:101:8: error: unknown type name 'crypt_uword_t' const crypt_uword_t *op1, ^~~~~~~~~~~~~ BnMath.c:102:8: error: unknown type name 'crypt_uword_t' const crypt_uword_t *op2, ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptDes.c:66: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_BITS'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptCmac.c:69: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from CommandCodeAttributes.c:66: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnConvert.c: In function 'BnFromBytes': BnConvert.c:82:5: error: unknown type name 'crypt_uword_t' crypt_uword_t size; ^~~~~~~~~~~~~ In file included from Tpm.h:77, from BnConvert.c:67: BnConvert.c:89:32: error: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Werror=sign-compare] pAssert(BnGetAllocated(bn) >= size); ^~ GpMacros.h:125:29: note: in definition of macro 'pAssert' # define pAssert(a) {if(!(a)) FAIL(FATAL_ERROR_PARAMETER);} ^ BnMath.c:126:4: error: unknown type name 'crypt_uword_t' crypt_uword_t *result, ^~~~~~~~~~~~~ BnMath.c:127:10: error: unknown type name 'crypt_uword_t' const crypt_uword_t *op, ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptEccData.c:63: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ In file included from Tpm.h:77, from BnMath.c:85: BnMath.c: In function 'CarryResolve': BnMath.c:145:29: error: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Werror=sign-compare] pAssert((unsigned)stop < result->allocated); ^ GpMacros.h:125:29: note: in definition of macro 'pAssert' # define pAssert(a) {if(!(a)) FAIL(FATAL_ERROR_PARAMETER);} ^ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnMemory.c:75:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnConvert.c:111:5: error: implicit declaration of function 'BnSetTop'; did you mean 'BnSetBit'? [-Werror=implicit-function-declaration] BnSetTop(bn, size); ^~~~~~~~ BnSetBit BnConvert.c:111:5: error: nested extern declaration of 'BnSetTop' [-Werror=nested-externs] In file included from Global.h:80, from Tpm.h:78, from Context_spt.c:63: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnMath.c:148:5: error: implicit declaration of function 'BnSetTop'; did you mean 'BnSetBit'? [-Werror=implicit-function-declaration] BnSetTop(result, stop); ^~~~~~~~ BnSetBit BnMath.c:148:5: error: nested extern declaration of 'BnSetTop' [-Werror=nested-externs] BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnConvert.c: In function 'BnFromHex': BnConvert.c:149:2: error: implicit declaration of function 'BnSetWord'; did you mean 'BnGetWord'? [-Werror=implicit-function-declaration] BnSetWord(bn, 0); ^~~~~~~~~ BnGetWord BnConvert.c:149:2: error: nested extern declaration of 'BnSetWord' [-Werror=nested-externs] BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptEccKeyExchange.c:63: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function); did you mean 'PROOF_SIZE'? #define RADIX_BITS __WORDSIZE ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnMemory.c: In function 'BnClearTop': BnMemory.c:100:5: error: unknown type name 'crypt_uword_t' crypt_uword_t i; ^~~~~~~~~~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function); did you mean 'PROOF_SIZE'? #define RADIX_BITS __WORDSIZE ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnMath.c: In function 'BnAdd': BnMath.c:159:5: error: unknown type name 'crypt_uword_t' crypt_uword_t stop; ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from ContextCommands.c:62: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function); did you mean 'PROOF_SIZE'? #define RADIX_BITS __WORDSIZE ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath.c:171:18: error: implicit declaration of function 'AddSame' [-Werror=implicit-function-declaration] carry = (int)AddSame(result->d, n1->d, n2->d, (int)stop); ^~~~~~~ BnMath.c:171:18: error: nested extern declaration of 'AddSame' [-Werror=nested-externs] In file included from InternalRoutines.h:112, from Tpm.h:79, from ClockCommands.c:62: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnConvert.c:167:13: error: implicit declaration of function 'SWAP_CRYPT_WORD'; did you mean 'MAX_CRYPT_WORD'? [-Werror=implicit-function-declaration] bn->d[i] = SWAP_CRYPT_WORD(bn->d[i]); ^~~~~~~~~~~~~~~ MAX_CRYPT_WORD BnConvert.c:167:13: error: nested extern declaration of 'SWAP_CRYPT_WORD' [-Werror=nested-externs] BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from CryptEccData.c:63: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ In file included from Global.h:83, from Tpm.h:78, from CryptEccData.c:63: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ BnMath.c:173:10: error: implicit declaration of function 'CarryProp'; did you mean 'CarryResolve'? [-Werror=implicit-function-declaration] carry = CarryProp(&result->d[stop], &n1->d[stop], (int)(n1->size - stop), carry); ^~~~~~~~~ CarryResolve BnMath.c:173:10: error: nested extern declaration of 'CarryProp' [-Werror=nested-externs] In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from CryptDes.c:66: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function); did you mean 'PROOF_SIZE'? #define RADIX_BITS __WORDSIZE ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from Context_spt.c:63: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ In file included from Global.h:83, from Tpm.h:78, from CryptDes.c:66: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ BnMemory.c: At top level: BnMemory.c:117:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ In file included from Global.h:83, from Tpm.h:78, from Context_spt.c:63: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_BITS'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnConvert.c: In function 'BnToBytes': BnConvert.c:189:5: error: unknown type name 'crypt_uword_t' crypt_uword_t requiredSize; ^~~~~~~~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptEccData.c:63: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_BITS'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_BITS'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptDes.c:66: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from Context_spt.c:63: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from CryptEccKeyExchange.c:63: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ In file included from Global.h:83, from Tpm.h:78, from CryptEccKeyExchange.c:63: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ BnMath.c: At top level: BnMath.c:183:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMemory.c:118:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptEccSignature.c:64: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from CommandAudit.c:66: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnConvert.c:192:5: error: unknown type name 'crypt_uword_t' crypt_uword_t count; ^~~~~~~~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_BITS'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptEccKeyExchange.c:63: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnMemory.c:134:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from CapabilityCommands.c:62: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptEccMain.c:64: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath.c:197:2: error: unknown type name 'crypt_uword_t' crypt_uword_t *result, ^~~~~~~~~~~~~ BnMath.c:198:8: error: unknown type name 'crypt_uword_t' const crypt_uword_t *op1, ^~~~~~~~~~~~~ BnMath.c:199:8: error: unknown type name 'crypt_uword_t' const crypt_uword_t *op2, ^~~~~~~~~~~~~ BnMemory.c: In function 'BnCopy': BnMemory.c:156:2: error: implicit declaration of function 'BnSetTop'; did you mean 'BnSetBit'? [-Werror=implicit-function-declaration] BnSetTop(out, BnGetSize(out)); ^~~~~~~~ BnSetBit BnMemory.c:156:2: error: nested extern declaration of 'BnSetTop' [-Werror=nested-externs] In file included from Tpm.h:77, from BnMemory.c:66: BnMemory.c:162:35: error: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Werror=sign-compare] pAssert(BnGetAllocated(out) >= BnGetSize(in)); ^~ GpMacros.h:125:29: note: in definition of macro 'pAssert' # define pAssert(a) {if(!(a)) FAIL(FATAL_ERROR_PARAMETER);} ^ BnMemory.c:163:20: error: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Werror=sign-compare] for(i = 0; i < BnGetSize(in); i++) ^ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from Tpm.h:77, from BnConvert.c:67: BnConvert.c: In function 'BnPointTo2B': BnValues.h:133:30: error: 'crypt_uword_t' undeclared (first use in this function) #define BnGetWord(x, i) (crypt_uword_t)((x)->d[i]) ^~~~~~~~~~~~~ GpMacros.h:125:29: note: in definition of macro 'pAssert' # define pAssert(a) {if(!(a)) FAIL(FATAL_ERROR_PARAMETER);} ^ BnValues.h:138:31: note: in expansion of macro 'BnGetWord' ((BnGetSize(bn) == 1) && (BnGetWord(bn, 0) == (crypt_uword_t)word)) ^~~~~~~~~ BnConvert.c:290:13: note: in expansion of macro 'BnEqualWord' pAssert(BnEqualWord(ecP->z, 1)); ^~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnValues.h:133:30: note: each undeclared identifier is reported only once for each function it appears in #define BnGetWord(x, i) (crypt_uword_t)((x)->d[i]) ^~~~~~~~~~~~~ GpMacros.h:125:29: note: in definition of macro 'pAssert' # define pAssert(a) {if(!(a)) FAIL(FATAL_ERROR_PARAMETER);} ^ BnValues.h:138:31: note: in expansion of macro 'BnGetWord' ((BnGetSize(bn) == 1) && (BnGetWord(bn, 0) == (crypt_uword_t)word)) ^~~~~~~~~ BnConvert.c:290:13: note: in expansion of macro 'BnEqualWord' pAssert(BnEqualWord(ecP->z, 1)); ^~~~~~~~~~~ BnConvert.c:290:33: error: expected ')' before numeric constant pAssert(BnEqualWord(ecP->z, 1)); ^ GpMacros.h:125:29: note: in definition of macro 'pAssert' # define pAssert(a) {if(!(a)) FAIL(FATAL_ERROR_PARAMETER);} ^ BnConvert.c:290:13: note: in expansion of macro 'BnEqualWord' pAssert(BnEqualWord(ecP->z, 1)); ^~~~~~~~~~~ BnValues.h:138:30: note: to match this '(' ((BnGetSize(bn) == 1) && (BnGetWord(bn, 0) == (crypt_uword_t)word)) ^ GpMacros.h:125:29: note: in definition of macro 'pAssert' # define pAssert(a) {if(!(a)) FAIL(FATAL_ERROR_PARAMETER);} ^ BnConvert.c:290:13: note: in expansion of macro 'BnEqualWord' pAssert(BnEqualWord(ecP->z, 1)); ^~~~~~~~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function); did you mean 'PROOF_SIZE'? #define RADIX_BITS __WORDSIZE ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnMemory.c: In function 'BnInitializePoint': BnMemory.c:198:5: error: implicit declaration of function 'BnSetWord'; did you mean 'BnGetWord'? [-Werror=implicit-function-declaration] BnSetWord(z, 1); ^~~~~~~~~ BnGetWord BnMemory.c:198:5: error: nested extern declaration of 'BnSetWord' [-Werror=nested-externs] In file included from InternalRoutines.h:112, from Tpm.h:79, from CommandDispatcher.c:78: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ cc1: all warnings being treated as errors cc1: all warnings being treated as errors BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function); did you mean 'PROOF_SIZE'? #define RADIX_BITS __WORDSIZE ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ BnMath.c:222:5: error: unknown type name 'crypt_uword_t' crypt_uword_t *result, ^~~~~~~~~~~~~ BnMath.c:223:11: error: unknown type name 'crypt_uword_t' const crypt_uword_t *op, ^~~~~~~~~~~~~ make[1]: *** [makefile:88: BnConvert.o] Error 1 BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptHash.c:67: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnMath.c: In function 'BnSub': BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnMath.c:249:14: error: implicit declaration of function 'SubSame'; did you mean 'ub_name'? [-Werror=implicit-function-declaration] borrow = SubSame(result->d, op1->d, op2->d, stop); ^~~~~~~ ub_name BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnMath.c:249:14: error: nested extern declaration of 'SubSame' [-Werror=nested-externs] In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from CryptEccSignature.c:64: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ In file included from Global.h:83, from Tpm.h:78, from CryptEccSignature.c:64: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from CryptCmac.c:69: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ make[1]: *** [makefile:88: BnMemory.o] Error 1 BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from CryptEccMain.c:64: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_BITS'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from Global.h:83, from Tpm.h:78, from CryptEccMain.c:64: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptEccSignature.c:64: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptPrime.c:66: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function); did you mean 'PROOF_SIZE'? #define RADIX_BITS __WORDSIZE ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_BITS'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ BnMath.c:250:21: error: 'crypt_uword_t' undeclared (first use in this function) if(op1->size > (crypt_uword_t)stop) ^~~~~~~~~~~~~ BnMath.c:250:21: note: each undeclared identifier is reported only once for each function it appears in BnMath.c:250:35: error: expected ')' before 'stop' if(op1->size > (crypt_uword_t)stop) ~ ^~~~ ) In file included from Global.h:80, from Tpm.h:78, from CryptEccMain.c:64: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from CommandCodeAttributes.c:66: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath.c:251:11: error: implicit declaration of function 'BorrowProp' [-Werror=implicit-function-declaration] borrow = BorrowProp(&result->d[stop], &op1->d[stop], (int)(op1->size - stop), ^~~~~~~~~~ BnMath.c:251:11: error: nested extern declaration of 'BorrowProp' [-Werror=nested-externs] In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from CryptHash.c:67: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ In file included from Global.h:83, from Tpm.h:78, from CryptHash.c:67: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function); did you mean 'PROOF_SIZE'? #define RADIX_BITS __WORDSIZE ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ make[1]: *** [makefile:88: CommandAudit.o] Error 1 BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_BITS'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptHash.c:67: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from CryptPrime.c:66: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from CryptDes.c:66: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath.c: At top level: BnMath.c:263:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from CryptEccData.c:63: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ In file included from Global.h:83, from Tpm.h:78, from CryptPrime.c:66: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from Context_spt.c:63: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_BITS'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from ContextCommands.c:62: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptPrime.c:66: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ make[1]: *** [makefile:88: CapabilityCommands.o] Error 1 In file included from InternalRoutines.h:112, from Tpm.h:79, from CryptEccKeyExchange.c:63: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from ClockCommands.c:62: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath.c:317:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath.c:330:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMath.c:333:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ make[1]: *** [makefile:88: CommandCodeAttributes.o] Error 1 BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from CommandDispatcher.c:78: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from CryptEccSignature.c:64: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from CryptEccMain.c:64: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from CryptCmac.c:69: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ make[1]: *** [makefile:88: ClockCommands.o] Error 1 make[1]: *** [makefile:88: ContextCommands.o] Error 1 BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from CryptHash.c:67: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from CryptDes.c:66: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from CryptPrime.c:66: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from CryptEccData.c:63: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from Context_spt.c:63: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from CryptEccKeyExchange.c:63: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMath.c:352:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath.c: In function 'BnMsb': BnMath.c:381:27: error: implicit declaration of function 'Msb'; did you mean 'BnMsb'? [-Werror=implicit-function-declaration] int retVal = Msb(bn->d[bn->size - 1]); ^~~ BnMsb BnMath.c:381:27: error: nested extern declaration of 'Msb' [-Werror=nested-externs] BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ make[1]: *** [makefile:88: CryptCmac.o] Error 1 BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath.c: At top level: BnMath.c:404:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ CryptEccData.c:101:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \ ^~~~~~~~~~~~~ CryptEccData.c:103:2: note: in expansion of macro 'ECC_CONST' ECC_CONST(ECC_ZERO, 0, 0); ^~~~~~~~~ CryptEccData.c:101:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \ ^~~~~~~~~~~~~ CryptEccData.c:111:1: note: in expansion of macro 'ECC_CONST' ECC_CONST(ECC_ONE, 1, 1); ^~~~~~~~~ CryptEccData.c:101:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \ ^~~~~~~~~~~~~ CryptEccData.c:218:1: note: in expansion of macro 'ECC_CONST' ECC_CONST(NIST_P256_p, 32, TO_ECC_256( ^~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath.c: In function 'BnSetBit': BnMath.c:424:5: error: unknown type name 'crypt_uword_t' crypt_uword_t offset = bitNum / RADIX_BITS; ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ make[1]: *** [makefile:88: CryptDes.o] Error 1 BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath.c:429:23: error: 'crypt_uword_t' undeclared (first use in this function) bn->d[offset] |= (crypt_uword_t)(1 << RADIX_MOD(bitNum)); ^~~~~~~~~~~~~ CryptEccData.c:71:49: error: implicit declaration of function 'TO_CRYPT_WORD_64'; did you mean 'MAX_CRYPT_WORD'? [-Werror=implicit-function-declaration] # define TO_ECC_64 TO_CRYPT_WORD_64 ^~~~~~~~~~~~~~~~ CryptEccData.c:102:65: note: in definition of macro 'ECC_CONST' } NAME = {BN_MIN_ALLOC(bytes), BYTES_TO_CRYPT_WORDS(bytes),{initializer}} ^~~~~~~~~~~ CryptEccData.c:218:28: note: in expansion of macro 'TO_ECC_256' ECC_CONST(NIST_P256_p, 32, TO_ECC_256( ^~~~~~~~~~ CryptEccData.c:222:11: note: in expansion of macro 'TO_ECC_64' TO_ECC_64(0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF))); ^~~~~~~~~ CryptEccData.c:101:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \ ^~~~~~~~~~~~~ CryptEccData.c:223:1: note: in expansion of macro 'ECC_CONST' ECC_CONST(NIST_P256_a, 32, TO_ECC_256( ^~~~~~~~~ CryptEccData.c:101:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \ ^~~~~~~~~~~~~ CryptEccData.c:228:1: note: in expansion of macro 'ECC_CONST' ECC_CONST(NIST_P256_b, 32, TO_ECC_256( ^~~~~~~~~ CryptEccData.c:101:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \ ^~~~~~~~~~~~~ CryptEccData.c:233:1: note: in expansion of macro 'ECC_CONST' ECC_CONST(NIST_P256_gX, 32, TO_ECC_256( ^~~~~~~~~ CryptEccData.c:101:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \ ^~~~~~~~~~~~~ CryptEccData.c:238:1: note: in expansion of macro 'ECC_CONST' ECC_CONST(NIST_P256_gY, 32, TO_ECC_256( ^~~~~~~~~ CryptEccData.c:101:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \ ^~~~~~~~~~~~~ CryptEccData.c:243:1: note: in expansion of macro 'ECC_CONST' ECC_CONST(NIST_P256_n, 32, TO_ECC_256( ^~~~~~~~~ make[1]: *** [makefile:88: Context_spt.o] Error 1 CryptEccData.c:101:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \ ^~~~~~~~~~~~~ CryptEccData.c:263:1: note: in expansion of macro 'ECC_CONST' ECC_CONST(NIST_P384_p, 48, TO_ECC_384( ^~~~~~~~~ CryptEccData.c:101:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \ ^~~~~~~~~~~~~ CryptEccData.c:270:1: note: in expansion of macro 'ECC_CONST' ECC_CONST(NIST_P384_a, 48, TO_ECC_384( ^~~~~~~~~ CryptEccData.c:101:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \ ^~~~~~~~~~~~~ CryptEccData.c:277:1: note: in expansion of macro 'ECC_CONST' ECC_CONST(NIST_P384_b, 48, TO_ECC_384( ^~~~~~~~~ CryptEccData.c:101:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \ ^~~~~~~~~~~~~ CryptEccData.c:284:1: note: in expansion of macro 'ECC_CONST' ECC_CONST(NIST_P384_gX, 48, TO_ECC_384( ^~~~~~~~~ CryptEccData.c:101:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \ ^~~~~~~~~~~~~ CryptEccData.c:291:1: note: in expansion of macro 'ECC_CONST' ECC_CONST(NIST_P384_gY, 48, TO_ECC_384( ^~~~~~~~~ CryptEccData.c:101:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \ ^~~~~~~~~~~~~ CryptEccData.c:298:1: note: in expansion of macro 'ECC_CONST' ECC_CONST(NIST_P384_n, 48, TO_ECC_384( ^~~~~~~~~ CryptEccData.c:101:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \ ^~~~~~~~~~~~~ CryptEccData.c:395:1: note: in expansion of macro 'ECC_CONST' ECC_CONST(BN_P256_p, 32, TO_ECC_256( ^~~~~~~~~ CryptEccData.c:101:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \ ^~~~~~~~~~~~~ CryptEccData.c:401:1: note: in expansion of macro 'ECC_CONST' ECC_CONST(BN_P256_b, 1, TO_ECC_8(3)); ^~~~~~~~~ CryptEccData.c:101:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \ ^~~~~~~~~~~~~ CryptEccData.c:403:1: note: in expansion of macro 'ECC_CONST' ECC_CONST(BN_P256_gY, 1, TO_ECC_8(2)); ^~~~~~~~~ CryptEccData.c:101:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \ ^~~~~~~~~~~~~ CryptEccData.c:404:1: note: in expansion of macro 'ECC_CONST' ECC_CONST(BN_P256_n, 32, TO_ECC_256( ^~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from CryptEccMain.c:64: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptEccKeyExchange.c:63: CryptEccKeyExchange.c: In function 'C_2_2_ECDH': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:183:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnAs, dsA); ^~~~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from CryptEccSignature.c:64: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:183:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnAs, dsA); ^~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:183:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnAs, dsA); ^~~~~~~~~~~~~~~ cc1: all warnings being treated as errors BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnValues.h:147:13: error: implicit declaration of function 'BnInit'; did you mean 'DAInit'? [-Werror=implicit-function-declaration] (bigNum)BnInit((bigNum)&(name), \ ^~~~~~ BnValues.h:165:38: note: in expansion of macro 'BN_INIT' bigNum name = BnFrom2B(BN_INIT(name##_), \ ^~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:183:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnAs, dsA); ^~~~~~~~~~~~~~~ BnMath.c: In function 'BnTestBit': BnMath.c:443:5: error: unknown type name 'crypt_uword_t' crypt_uword_t offset = RADIX_DIV(bitNum); ^~~~~~~~~~~~~ BnValues.h:147:13: error: nested extern declaration of 'BnInit' [-Werror=nested-externs] (bigNum)BnInit((bigNum)&(name), \ ^~~~~~ BnValues.h:165:38: note: in expansion of macro 'BN_INIT' bigNum name = BnFrom2B(BN_INIT(name##_), \ ^~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:183:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnAs, dsA); ^~~~~~~~~~~~~~~ make[1]: *** [makefile:88: CryptEccData.o] Error 1 BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:184:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnAe, deA); ^~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:184:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnAe, deA); ^~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:184:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnAe, deA); ^~~~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from CryptHash.c:67: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMath.c:446:30: error: 'crypt_uword_t' undeclared (first use in this function) return ((bn->d[offset] & (((crypt_uword_t)1) << RADIX_MOD(bitNum))) != 0); ^~~~~~~~~~~~~ BnMath.c:446:44: error: expected ')' before numeric constant return ((bn->d[offset] & (((crypt_uword_t)1) << RADIX_MOD(bitNum))) != 0); ~ ^ ) BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:185:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecBs, QsB); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:185:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecBs, QsB); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:185:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecBs, QsB); ^~~~~~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ make[1]: *** [makefile:88: CommandDispatcher.o] Error 1 In file included from InternalRoutines.h:113, from Tpm.h:79, from CryptPrime.c:66: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMath.c: At top level: BnMath.c:460:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:185:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecBs, QsB); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:185:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecBs, QsB); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:185:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecBs, QsB); ^~~~~~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:185:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecBs, QsB); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:185:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecBs, QsB); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:185:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecBs, QsB); ^~~~~~~~~~~~~~~~~ BnMath.c: In function 'BnShiftRight': BnMath.c:489:5: error: unknown type name 'crypt_uword_t' crypt_uword_t finalSize; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptEccMain.c:64: CryptEccMain.c: In function 'BnIsOnCurve': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccMain.c:448:5: note: in expansion of macro 'BN_VAR' BN_VAR(right, (MAX_ECC_KEY_BITS * 3)); ^~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccMain.c:448:5: note: in expansion of macro 'BN_VAR' BN_VAR(right, (MAX_ECC_KEY_BITS * 3)); ^~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccMain.c:448:5: note: in expansion of macro 'BN_VAR' BN_VAR(right, (MAX_ECC_KEY_BITS * 3)); ^~~~~~ CryptEccSignature.c: In function 'EcdsaDigest': BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ CryptEccSignature.c:83:2: error: implicit declaration of function 'BnSetWord'; did you mean 'BnGetWord'? [-Werror=implicit-function-declaration] BnSetWord(bnD, 0); ^~~~~~~~~ BnGetWord CryptEccSignature.c:83:2: error: nested extern declaration of 'BnSetWord' [-Werror=nested-externs] BnValues.h:147:13: error: implicit declaration of function 'BnInit'; did you mean 'DAInit'? [-Werror=implicit-function-declaration] (bigNum)BnInit((bigNum)&(name), \ ^~~~~~ BnValues.h:170:29: note: in expansion of macro 'BN_INIT' bigNum name = BN_INIT(_##name) ^~~~~~~ CryptEccMain.c:448:5: note: in expansion of macro 'BN_VAR' BN_VAR(right, (MAX_ECC_KEY_BITS * 3)); ^~~~~~ BnValues.h:147:13: error: nested extern declaration of 'BnInit' [-Werror=nested-externs] (bigNum)BnInit((bigNum)&(name), \ ^~~~~~ BnValues.h:170:29: note: in expansion of macro 'BN_INIT' bigNum name = BN_INIT(_##name) ^~~~~~~ CryptEccMain.c:448:5: note: in expansion of macro 'BN_VAR' BN_VAR(right, (MAX_ECC_KEY_BITS * 3)); ^~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptEccSignature.c:64: CryptEccSignature.c: In function 'BnSchnorrSign': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccSignature.c:115:5: note: in expansion of macro 'BN_VAR' BN_VAR(bnT1, MAX_ECC_PARAMETER_BYTES * 2 * 8); ^~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccSignature.c:115:5: note: in expansion of macro 'BN_VAR' BN_VAR(bnT1, MAX_ECC_PARAMETER_BYTES * 2 * 8); ^~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccSignature.c:115:5: note: in expansion of macro 'BN_VAR' BN_VAR(bnT1, MAX_ECC_PARAMETER_BYTES * 2 * 8); ^~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccMain.c:449:5: note: in expansion of macro 'BN_VAR' BN_VAR(left, (MAX_ECC_KEY_BITS * 2)); ^~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccMain.c:449:5: note: in expansion of macro 'BN_VAR' BN_VAR(left, (MAX_ECC_KEY_BITS * 2)); ^~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccMain.c:449:5: note: in expansion of macro 'BN_VAR' BN_VAR(left, (MAX_ECC_KEY_BITS * 2)); ^~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnValues.h:147:13: error: implicit declaration of function 'BnInit'; did you mean 'DAInit'? [-Werror=implicit-function-declaration] (bigNum)BnInit((bigNum)&(name), \ ^~~~~~ BnValues.h:170:29: note: in expansion of macro 'BN_INIT' bigNum name = BN_INIT(_##name) ^~~~~~~ CryptEccSignature.c:115:5: note: in expansion of macro 'BN_VAR' BN_VAR(bnT1, MAX_ECC_PARAMETER_BYTES * 2 * 8); ^~~~~~ BnValues.h:147:13: error: nested extern declaration of 'BnInit' [-Werror=nested-externs] (bigNum)BnInit((bigNum)&(name), \ ^~~~~~ BnValues.h:170:29: note: in expansion of macro 'BN_INIT' bigNum name = BN_INIT(_##name) ^~~~~~~ CryptEccSignature.c:115:5: note: in expansion of macro 'BN_VAR' BN_VAR(bnT1, MAX_ECC_PARAMETER_BYTES * 2 * 8); ^~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:186:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecBe, QeB); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:186:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecBe, QeB); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:186:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecBe, QeB); ^~~~~~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from BnMath.c:85: BnValues.h:86:25: error: 'crypt_uword_t' undeclared (first use in this function) #define RADIX_MASK ((((crypt_uword_t)1) << RADIX_LOG2) - 1) ^~~~~~~~~~~~~ BnMath.c:491:33: note: in expansion of macro 'RADIX_MASK' shiftAmount = shiftAmount & RADIX_MASK; ^~~~~~~~~~ BnValues.h:86:39: error: expected ')' before numeric constant #define RADIX_MASK ((((crypt_uword_t)1) << RADIX_LOG2) - 1) ~ ^ BnMath.c:491:33: note: in expansion of macro 'RADIX_MASK' shiftAmount = shiftAmount & RADIX_MASK; ^~~~~~~~~~ BnMath.c:495:22: error: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Werror=sign-compare] if(toShift->size > offset) ^ BnMath.c:505:19: error: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Werror=sign-compare] for(i = 0; i < finalSize; i++) ^ CryptEccSignature.c: In function 'BnSignEcdsa': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:145:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnK); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:145:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnK); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:145:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnK); ^~~~~~~ CryptEccMain.c: In function 'CryptEccIsValidPrivateKey': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ CryptEccMain.c:491:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(bnD, MAX_ECC_PARAMETER_BYTES * 8, d); ^~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ CryptEccMain.c:491:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(bnD, MAX_ECC_PARAMETER_BYTES * 8, d); ^~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ CryptEccMain.c:491:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(bnD, MAX_ECC_PARAMETER_BYTES * 8, d); ^~~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:146:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnIk); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:146:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnIk); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:146:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnIk); ^~~~~~~ CryptEccMain.c: In function 'BnEccGetPrivate': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccMain.c:567:5: note: in expansion of macro 'BN_VAR' BN_VAR(bnExtraBits, MAX_ECC_KEY_BITS + 64); ^~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccMain.c:567:5: note: in expansion of macro 'BN_VAR' BN_VAR(bnExtraBits, MAX_ECC_KEY_BITS + 64); ^~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccMain.c:567:5: note: in expansion of macro 'BN_VAR' BN_VAR(bnExtraBits, MAX_ECC_KEY_BITS + 64); ^~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:186:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecBe, QeB); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:186:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecBe, QeB); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:186:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecBe, QeB); ^~~~~~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptPrime.c:66: CryptPrime.c: In function 'BnIsProbablyPrime': BnValues.h:133:30: error: 'crypt_uword_t' undeclared (first use in this function) #define BnGetWord(x, i) (crypt_uword_t)((x)->d[i]) ^~~~~~~~~~~~~ BnValues.h:141:27: note: in expansion of macro 'BnGetWord' #define BnIsEven(n) ((BnGetWord(n, 0) & 1) == 0) ^~~~~~~~~ CryptPrime.c:151:8: note: in expansion of macro 'BnIsEven' if(BnIsEven(prime)) ^~~~~~~~ BnValues.h:133:30: note: each undeclared identifier is reported only once for each function it appears in #define BnGetWord(x, i) (crypt_uword_t)((x)->d[i]) ^~~~~~~~~~~~~ BnValues.h:141:27: note: in expansion of macro 'BnGetWord' #define BnIsEven(n) ((BnGetWord(n, 0) & 1) == 0) ^~~~~~~~~ CryptPrime.c:151:8: note: in expansion of macro 'BnIsEven' if(BnIsEven(prime)) ^~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccMain.c:568:5: note: in expansion of macro 'BN_VAR' BN_VAR(nMinus1, MAX_ECC_KEY_BITS); ^~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccMain.c:568:5: note: in expansion of macro 'BN_VAR' BN_VAR(nMinus1, MAX_ECC_KEY_BITS); ^~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccMain.c:568:5: note: in expansion of macro 'BN_VAR' BN_VAR(nMinus1, MAX_ECC_KEY_BITS); ^~~~~~ CryptEccMain.c:571:16: error: implicit declaration of function 'BnSubWord'; did you mean 'BnGetWord'? [-Werror=implicit-function-declaration] OK = OK && BnSubWord(nMinus1, order, 1); ^~~~~~~~~ BnGetWord CryptEccMain.c:571:16: error: nested extern declaration of 'BnSubWord' [-Werror=nested-externs] BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:186:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecBe, QeB); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:186:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecBe, QeB); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:186:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecBe, QeB); ^~~~~~~~~~~~~~~~~ CryptEccMain.c:573:16: error: implicit declaration of function 'BnAddWord'; did you mean 'BnGetWord'? [-Werror=implicit-function-declaration] OK = OK && BnAddWord(dOut, bnExtraBits, 1); ^~~~~~~~~ BnGetWord CryptEccMain.c:573:16: error: nested extern declaration of 'BnAddWord' [-Werror=nested-externs] CryptPrime.c:153:8: error: implicit declaration of function 'BnUnsignedCmpWord'; did you mean 'BnUnsignedCmp'? [-Werror=implicit-function-declaration] if(BnUnsignedCmpWord(prime, s_LastPrimeInTable) <= 0) ^~~~~~~~~~~~~~~~~ BnUnsignedCmp CryptPrime.c:153:8: error: nested extern declaration of 'BnUnsignedCmpWord' [-Werror=nested-externs] CryptPrime.c:155:19: error: expected ';' before 'temp' crypt_uword_t temp = prime->d[0] >> 1; ^ ~~~~ ; CryptEccMain.c: In function 'BnEccGenerateKeyPair': CryptEccMain.c:594:2: error: implicit declaration of function 'BnSetWord'; did you mean 'BnGetWord'? [-Werror=implicit-function-declaration] BnSetWord(ecQ->z, 0); ^~~~~~~~~ BnGetWord CryptEccMain.c:594:2: error: nested extern declaration of 'BnSetWord' [-Werror=nested-externs] make[1]: *** [makefile:88: CryptHash.o] Error 1 CryptPrime.c:156:28: error: 'temp' undeclared (first use in this function); did you mean 'bcmp'? return ((s_PrimeTable[temp >> 3] >> (temp & 7)) & 1); ^~~~ bcmp BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccSignature.c:147:5: note: in expansion of macro 'BN_VAR' BN_VAR(bnE, MAX(MAX_ECC_KEY_BYTES, MAX_DIGEST_SIZE) * 8); ^~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccSignature.c:147:5: note: in expansion of macro 'BN_VAR' BN_VAR(bnE, MAX(MAX_ECC_KEY_BYTES, MAX_DIGEST_SIZE) * 8); ^~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccSignature.c:147:5: note: in expansion of macro 'BN_VAR' BN_VAR(bnE, MAX(MAX_ECC_KEY_BYTES, MAX_DIGEST_SIZE) * 8); ^~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptEccMain.c:64: CryptEccMain.c: In function 'CryptEccNewKeyPair': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:610:5: note: in expansion of macro 'POINT' POINT(ecQ); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:610:5: note: in expansion of macro 'POINT' POINT(ecQ); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:610:5: note: in expansion of macro 'POINT' POINT(ecQ); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccKeyExchange.c:187:5: note: in expansion of macro 'POINT' POINT(ecZ); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccKeyExchange.c:187:5: note: in expansion of macro 'POINT' POINT(ecZ); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccKeyExchange.c:187:5: note: in expansion of macro 'POINT' POINT(ecZ); ^~~~~ BnMath.c: In function 'BnGetRandomBits': BnMath.c:537:10: error: implicit declaration of function 'BnMaskBits'; did you mean 'BnTestBit'? [-Werror=implicit-function-declaration] if(BnMaskBits(n, (crypt_uword_t)bits)) ^~~~~~~~~~ BnTestBit BnMath.c:537:10: error: nested extern declaration of 'BnMaskBits' [-Werror=nested-externs] BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:610:5: note: in expansion of macro 'POINT' POINT(ecQ); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:610:5: note: in expansion of macro 'POINT' POINT(ecQ); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:610:5: note: in expansion of macro 'POINT' POINT(ecQ); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccKeyExchange.c:187:5: note: in expansion of macro 'POINT' POINT(ecZ); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccKeyExchange.c:187:5: note: in expansion of macro 'POINT' POINT(ecZ); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccKeyExchange.c:187:5: note: in expansion of macro 'POINT' POINT(ecZ); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:148:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:148:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:148:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:610:5: note: in expansion of macro 'POINT' POINT(ecQ); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:610:5: note: in expansion of macro 'POINT' POINT(ecQ); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:610:5: note: in expansion of macro 'POINT' POINT(ecQ); ^~~~~ BnMath.c:537:25: error: 'crypt_uword_t' undeclared (first use in this function) if(BnMaskBits(n, (crypt_uword_t)bits)) ^~~~~~~~~~~~~ BnMath.c:537:39: error: expected ')' before 'bits' if(BnMaskBits(n, (crypt_uword_t)bits)) ^~~~ ) BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccKeyExchange.c:187:5: note: in expansion of macro 'POINT' POINT(ecZ); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccKeyExchange.c:187:5: note: in expansion of macro 'POINT' POINT(ecZ); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccKeyExchange.c:187:5: note: in expansion of macro 'POINT' POINT(ecZ); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:148:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:148:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:148:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnMath.c: In function 'BnGenerateRandomInRange': BnMath.c:564:6: error: implicit declaration of function 'BnSetWord'; did you mean 'BnGetWord'? [-Werror=implicit-function-declaration] BnSetWord(dest, 0); ^~~~~~~~~ BnGetWord BnMath.c:564:6: error: nested extern declaration of 'BnSetWord' [-Werror=nested-externs] BnMath.c: In function 'BnTestBit': BnMath.c:449:1: error: control reaches end of non-void function [-Werror=return-type] } ^ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccMain.c:611:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnD); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccMain.c:611:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnD); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccMain.c:611:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnD); ^~~~~~~ cc1: all warnings being treated as errors cc1: all warnings being treated as errors BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:148:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:148:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:148:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ CryptEccMain.c: In function 'CryptEccPointMultiply': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:657:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecP, Pin); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:657:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecP, Pin); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:657:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecP, Pin); ^~~~~~~~~~~~~~~~~ make[1]: *** [makefile:88: CryptEccKeyExchange.o] Error 1 make[1]: *** [makefile:88: BnMath.o] Error 1 BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:657:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecP, Pin); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:657:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecP, Pin); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:657:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecP, Pin); ^~~~~~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:657:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecP, Pin); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:657:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecP, Pin); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:657:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecP, Pin); ^~~~~~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptPrime.c:66: BnValues.h:116:2: error: expected specifier-qualifier-list before 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptPrime.c:159:2: note: in expansion of macro 'BN_VAR' BN_VAR(n, LARGEST_NUMBER_BITS); ^~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccMain.c:658:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnD, dIn); // If dIn is null, then bnD is null ^~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccMain.c:658:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnD, dIn); // If dIn is null, then bnD is null ^~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccMain.c:658:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnD, dIn); // If dIn is null, then bnD is null ^~~~~~~~~~~~~~~ BnValues.h:147:13: error: implicit declaration of function 'BnInit'; did you mean 'DAInit'? [-Werror=implicit-function-declaration] (bigNum)BnInit((bigNum)&(name), \ ^~~~~~ BnValues.h:170:29: note: in expansion of macro 'BN_INIT' bigNum name = BN_INIT(_##name) ^~~~~~~ CryptPrime.c:159:2: note: in expansion of macro 'BN_VAR' BN_VAR(n, LARGEST_NUMBER_BITS); ^~~~~~ BnValues.h:147:13: error: nested extern declaration of 'BnInit' [-Werror=nested-externs] (bigNum)BnInit((bigNum)&(name), \ ^~~~~~ BnValues.h:170:29: note: in expansion of macro 'BN_INIT' bigNum name = BN_INIT(_##name) ^~~~~~~ CryptPrime.c:159:2: note: in expansion of macro 'BN_VAR' BN_VAR(n, LARGEST_NUMBER_BITS); ^~~~~~ BnValues.h:148:38: error: 'struct ' has no member named 'd' BYTES_TO_CRYPT_WORDS(sizeof(name.d))) ^ BnValues.h:85:31: note: in definition of macro 'RADIX_DIV' #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^ BnValues.h:88:41: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BYTES_TO_CRYPT_WORDS(bytes) BITS_TO_CRYPT_WORDS(bytes * 8) ^~~~~~~~~~~~~~~~~~~ BnValues.h:148:6: note: in expansion of macro 'BYTES_TO_CRYPT_WORDS' BYTES_TO_CRYPT_WORDS(sizeof(name.d))) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:170:29: note: in expansion of macro 'BN_INIT' bigNum name = BN_INIT(_##name) ^~~~~~~ CryptPrime.c:159:2: note: in expansion of macro 'BN_VAR' BN_VAR(n, LARGEST_NUMBER_BITS); ^~~~~~ CryptPrime.c:161:21: error: expected ')' before numeric constant if(!BnEqualWord(n, 1)) ^ BnValues.h:138:66: note: in definition of macro 'BnEqualWord' ((BnGetSize(bn) == 1) && (BnGetWord(bn, 0) == (crypt_uword_t)word)) ^~~~ BnValues.h:138:30: note: to match this '(' ((BnGetSize(bn) == 1) && (BnGetWord(bn, 0) == (crypt_uword_t)word)) ^ CryptPrime.c:161:6: note: in expansion of macro 'BnEqualWord' if(!BnEqualWord(n, 1)) ^~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccMain.c:659:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnU, uIn); ^~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccMain.c:659:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnU, uIn); ^~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccMain.c:659:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnU, uIn); ^~~~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:660:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, Qin); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:660:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, Qin); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:660:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, Qin); ^~~~~~~~~~~~~~~~~ CryptEccSignature.c: In function 'BnSignEcdaa': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:172:24: note: in expansion of macro 'BN_VAR' #define BN_MAX(name) BN_VAR(name, LARGEST_NUMBER_BITS) ^~~~~~ CryptEccSignature.c:237:5: note: in expansion of macro 'BN_MAX' BN_MAX(bnT); ^~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:172:24: note: in expansion of macro 'BN_VAR' #define BN_MAX(name) BN_VAR(name, LARGEST_NUMBER_BITS) ^~~~~~ CryptEccSignature.c:237:5: note: in expansion of macro 'BN_MAX' BN_MAX(bnT); ^~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:172:24: note: in expansion of macro 'BN_VAR' #define BN_MAX(name) BN_VAR(name, LARGEST_NUMBER_BITS) ^~~~~~ CryptEccSignature.c:237:5: note: in expansion of macro 'BN_MAX' BN_MAX(bnT); ^~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:660:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, Qin); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:660:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, Qin); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:660:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, Qin); ^~~~~~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:660:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, Qin); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:660:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, Qin); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:660:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, Qin); ^~~~~~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccSignature.c:248:6: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnR, &r); ^~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccSignature.c:248:6: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnR, &r); ^~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccSignature.c:248:6: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnR, &r); ^~~~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:661:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:661:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:661:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:661:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:661:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:661:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ CryptEccSignature.c: In function 'BnSignEcSchnorr': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:334:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnK); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:334:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnK); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:334:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnK); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:661:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:661:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:661:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ CryptPrime.c: In function 'MillerRabin': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:172:24: note: in expansion of macro 'BN_VAR' #define BN_MAX(name) BN_VAR(name, LARGEST_NUMBER_BITS) ^~~~~~ CryptPrime.c:190:5: note: in expansion of macro 'BN_MAX' BN_MAX(bnWm1); ^~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:172:24: note: in expansion of macro 'BN_VAR' #define BN_MAX(name) BN_VAR(name, LARGEST_NUMBER_BITS) ^~~~~~ CryptPrime.c:190:5: note: in expansion of macro 'BN_MAX' BN_MAX(bnWm1); ^~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:172:24: note: in expansion of macro 'BN_VAR' #define BN_MAX(name) BN_VAR(name, LARGEST_NUMBER_BITS) ^~~~~~ CryptPrime.c:190:5: note: in expansion of macro 'BN_MAX' BN_MAX(bnWm1); ^~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:335:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:335:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:335:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ CryptEccMain.c: In function 'CryptEccIsPointOnCurve': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:686:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, Qin); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:686:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, Qin); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:686:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, Qin); ^~~~~~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:335:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:335:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:335:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:81:28: note: in expansion of macro 'BN_VAR' #define BN_PRIME(name) BN_VAR(name, (RSA_BITS / 2)) ^~~~~~ CryptPrime.c:191:5: note: in expansion of macro 'BN_PRIME' BN_PRIME(bnM); ^~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:81:28: note: in expansion of macro 'BN_VAR' #define BN_PRIME(name) BN_VAR(name, (RSA_BITS / 2)) ^~~~~~ CryptPrime.c:191:5: note: in expansion of macro 'BN_PRIME' BN_PRIME(bnM); ^~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:81:28: note: in expansion of macro 'BN_VAR' #define BN_PRIME(name) BN_VAR(name, (RSA_BITS / 2)) ^~~~~~ CryptPrime.c:191:5: note: in expansion of macro 'BN_PRIME' BN_PRIME(bnM); ^~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:81:28: note: in expansion of macro 'BN_VAR' #define BN_PRIME(name) BN_VAR(name, (RSA_BITS / 2)) ^~~~~~ CryptPrime.c:192:5: note: in expansion of macro 'BN_PRIME' BN_PRIME(bnB); ^~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:81:28: note: in expansion of macro 'BN_VAR' #define BN_PRIME(name) BN_VAR(name, (RSA_BITS / 2)) ^~~~~~ CryptPrime.c:192:5: note: in expansion of macro 'BN_PRIME' BN_PRIME(bnB); ^~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:81:28: note: in expansion of macro 'BN_VAR' #define BN_PRIME(name) BN_VAR(name, (RSA_BITS / 2)) ^~~~~~ CryptPrime.c:192:5: note: in expansion of macro 'BN_PRIME' BN_PRIME(bnB); ^~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:81:28: note: in expansion of macro 'BN_VAR' #define BN_PRIME(name) BN_VAR(name, (RSA_BITS / 2)) ^~~~~~ CryptPrime.c:193:5: note: in expansion of macro 'BN_PRIME' BN_PRIME(bnZ); ^~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:81:28: note: in expansion of macro 'BN_VAR' #define BN_PRIME(name) BN_VAR(name, (RSA_BITS / 2)) ^~~~~~ CryptPrime.c:193:5: note: in expansion of macro 'BN_PRIME' BN_PRIME(bnZ); ^~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:81:28: note: in expansion of macro 'BN_VAR' #define BN_PRIME(name) BN_VAR(name, (RSA_BITS / 2)) ^~~~~~ CryptPrime.c:193:5: note: in expansion of macro 'BN_PRIME' BN_PRIME(bnZ); ^~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:686:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, Qin); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:686:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, Qin); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:686:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, Qin); ^~~~~~~~~~~~~~~~~ CryptPrime.c:205:5: error: implicit declaration of function 'BnSubWord'; did you mean 'BnGetWord'? [-Werror=implicit-function-declaration] BnSubWord(bnWm1, bnW, 1); ^~~~~~~~~ BnGetWord CryptPrime.c:205:5: error: nested extern declaration of 'BnSubWord' [-Werror=nested-externs] BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:335:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:335:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:335:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:686:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, Qin); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:686:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, Qin); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:686:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, Qin); ^~~~~~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptPrime.c:66: BnValues.h:133:30: error: 'crypt_uword_t' undeclared (first use in this function) #define BnGetWord(x, i) (crypt_uword_t)((x)->d[i]) ^~~~~~~~~~~~~ BnValues.h:138:31: note: in expansion of macro 'BnGetWord' ((BnGetSize(bn) == 1) && (BnGetWord(bn, 0) == (crypt_uword_t)word)) ^~~~~~~~~ CryptPrime.c:250:10: note: in expansion of macro 'BnEqualWord' if(BnEqualWord(bnZ, 1)) ^~~~~~~~~~~ CryptPrime.c:250:27: error: expected ')' before numeric constant if(BnEqualWord(bnZ, 1)) ^ BnValues.h:138:66: note: in definition of macro 'BnEqualWord' ((BnGetSize(bn) == 1) && (BnGetWord(bn, 0) == (crypt_uword_t)word)) ^~~~ CryptEccSignature.c: In function 'CryptEccSign': BnValues.h:138:30: note: to match this '(' ((BnGetSize(bn) == 1) && (BnGetWord(bn, 0) == (crypt_uword_t)word)) ^ CryptPrime.c:250:10: note: in expansion of macro 'BnEqualWord' if(BnEqualWord(bnZ, 1)) ^~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccSignature.c:508:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnD, &signKey->sensitive.sensitive.ecc.b); ^~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccSignature.c:508:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnD, &signKey->sensitive.sensitive.ecc.b); ^~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccSignature.c:508:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnD, &signKey->sensitive.sensitive.ecc.b); ^~~~~~~~~~~~~~~ CryptEccMain.c: In function 'CryptEccGenerateKey': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccMain.c:719:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnD); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccMain.c:719:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnD); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccMain.c:719:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnD); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:509:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnR); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:509:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnR); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:509:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnR); ^~~~~~~ CryptPrime.c: In function 'RsaAdjustPrimeCandidate': CryptPrime.c:344:34: error: 'crypt_uword_t' undeclared (first use in this function) prime->d[prime->size - 1] = (crypt_uword_t)adjusted; ^~~~~~~~~~~~~ CryptPrime.c:344:48: error: expected ';' before 'adjusted' prime->d[prime->size - 1] = (crypt_uword_t)adjusted; ^~~~~~~~ ; BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:510:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:510:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:510:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:720:5: note: in expansion of macro 'POINT' POINT(ecQ); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:720:5: note: in expansion of macro 'POINT' POINT(ecQ); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:720:5: note: in expansion of macro 'POINT' POINT(ecQ); ^~~~~ cc1: all warnings being treated as errors make[1]: *** [makefile:88: CryptPrime.o] Error 1 BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:720:5: note: in expansion of macro 'POINT' POINT(ecQ); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:720:5: note: in expansion of macro 'POINT' POINT(ecQ); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:720:5: note: in expansion of macro 'POINT' POINT(ecQ); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:720:5: note: in expansion of macro 'POINT' POINT(ecQ); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:720:5: note: in expansion of macro 'POINT' POINT(ecQ); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:720:5: note: in expansion of macro 'POINT' POINT(ecQ); ^~~~~ CryptEccSignature.c: In function 'BnValidateSignatureEcdsa': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccSignature.c:582:5: note: in expansion of macro 'BN_VAR' BN_VAR(bnE, MAX(MAX_ECC_KEY_BYTES, MAX_DIGEST_SIZE) * 8); ^~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccSignature.c:582:5: note: in expansion of macro 'BN_VAR' BN_VAR(bnE, MAX(MAX_ECC_KEY_BYTES, MAX_DIGEST_SIZE) * 8); ^~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccSignature.c:582:5: note: in expansion of macro 'BN_VAR' BN_VAR(bnE, MAX(MAX_ECC_KEY_BYTES, MAX_DIGEST_SIZE) * 8); ^~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccMain.c:740:6: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnT); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccMain.c:740:6: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnT); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccMain.c:740:6: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnT); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:583:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccMain.c:741:6: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:583:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccMain.c:741:6: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:583:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccMain.c:741:6: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:583:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:583:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:583:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ cc1: all warnings being treated as errors BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:583:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:583:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:583:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ make[1]: *** [makefile:88: CryptEccMain.o] Error 1 BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:584:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnU1); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:584:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnU1); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:584:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnU1); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:585:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnU2); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:585:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnU2); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:585:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnU2); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:586:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnW); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:586:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnW); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:586:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnW); ^~~~~~~ CryptEccSignature.c: In function 'BnValidateSignatureEcSchnorr': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:172:24: note: in expansion of macro 'BN_VAR' #define BN_MAX(name) BN_VAR(name, LARGEST_NUMBER_BITS) ^~~~~~ CryptEccSignature.c:699:5: note: in expansion of macro 'BN_MAX' BN_MAX(bnRn); ^~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:172:24: note: in expansion of macro 'BN_VAR' #define BN_MAX(name) BN_VAR(name, LARGEST_NUMBER_BITS) ^~~~~~ CryptEccSignature.c:699:5: note: in expansion of macro 'BN_MAX' BN_MAX(bnRn); ^~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:172:24: note: in expansion of macro 'BN_VAR' #define BN_MAX(name) BN_VAR(name, LARGEST_NUMBER_BITS) ^~~~~~ CryptEccSignature.c:699:5: note: in expansion of macro 'BN_MAX' BN_MAX(bnRn); ^~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:700:5: note: in expansion of macro 'POINT' POINT(ecE); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:700:5: note: in expansion of macro 'POINT' POINT(ecE); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:700:5: note: in expansion of macro 'POINT' POINT(ecE); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:700:5: note: in expansion of macro 'POINT' POINT(ecE); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:700:5: note: in expansion of macro 'POINT' POINT(ecE); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:700:5: note: in expansion of macro 'POINT' POINT(ecE); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:700:5: note: in expansion of macro 'POINT' POINT(ecE); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:700:5: note: in expansion of macro 'POINT' POINT(ecE); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:700:5: note: in expansion of macro 'POINT' POINT(ecE); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:172:24: note: in expansion of macro 'BN_VAR' #define BN_MAX(name) BN_VAR(name, LARGEST_NUMBER_BITS) ^~~~~~ CryptEccSignature.c:701:5: note: in expansion of macro 'BN_MAX' BN_MAX(bnEx); ^~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:172:24: note: in expansion of macro 'BN_VAR' #define BN_MAX(name) BN_VAR(name, LARGEST_NUMBER_BITS) ^~~~~~ CryptEccSignature.c:701:5: note: in expansion of macro 'BN_MAX' BN_MAX(bnEx); ^~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:172:24: note: in expansion of macro 'BN_VAR' #define BN_MAX(name) BN_VAR(name, LARGEST_NUMBER_BITS) ^~~~~~ CryptEccSignature.c:701:5: note: in expansion of macro 'BN_MAX' BN_MAX(bnEx); ^~~~~~ CryptEccSignature.c: In function 'CryptEccValidateSignature': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:749:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnR); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:749:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnR); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:749:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnR); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:750:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:750:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:750:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:751:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, &signKey->publicArea.unique.ecc); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:751:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, &signKey->publicArea.unique.ecc); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:751:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, &signKey->publicArea.unique.ecc); ^~~~~~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:751:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, &signKey->publicArea.unique.ecc); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:751:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, &signKey->publicArea.unique.ecc); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:751:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, &signKey->publicArea.unique.ecc); ^~~~~~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:751:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, &signKey->publicArea.unique.ecc); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:751:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, &signKey->publicArea.unique.ecc); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:751:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, &signKey->publicArea.unique.ecc); ^~~~~~~~~~~~~~~~~ CryptEccSignature.c: In function 'CryptEccCommitCompute': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccSignature.c:830:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnR, r); ^~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccSignature.c:830:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnR, r); ^~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccSignature.c:830:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnR, r); ^~~~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccSignature.c:846:6: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnD, d); ^~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccSignature.c:846:6: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnD, d); ^~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccSignature.c:846:6: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnD, d); ^~~~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:847:6: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(pB, B); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:847:6: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(pB, B); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:847:6: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(pB, B); ^~~~~~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:847:6: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(pB, B); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:847:6: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(pB, B); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:847:6: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(pB, B); ^~~~~~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:847:6: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(pB, B); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:847:6: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(pB, B); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:847:6: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(pB, B); ^~~~~~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:848:6: note: in expansion of macro 'POINT' POINT(pK); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:848:6: note: in expansion of macro 'POINT' POINT(pK); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:848:6: note: in expansion of macro 'POINT' POINT(pK); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:848:6: note: in expansion of macro 'POINT' POINT(pK); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:848:6: note: in expansion of macro 'POINT' POINT(pK); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:848:6: note: in expansion of macro 'POINT' POINT(pK); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:848:6: note: in expansion of macro 'POINT' POINT(pK); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:848:6: note: in expansion of macro 'POINT' POINT(pK); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:848:6: note: in expansion of macro 'POINT' POINT(pK); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:849:6: note: in expansion of macro 'POINT' POINT(pL); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:849:6: note: in expansion of macro 'POINT' POINT(pL); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:849:6: note: in expansion of macro 'POINT' POINT(pL); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:849:6: note: in expansion of macro 'POINT' POINT(pL); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:849:6: note: in expansion of macro 'POINT' POINT(pL); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:849:6: note: in expansion of macro 'POINT' POINT(pL); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:849:6: note: in expansion of macro 'POINT' POINT(pL); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:849:6: note: in expansion of macro 'POINT' POINT(pL); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:849:6: note: in expansion of macro 'POINT' POINT(pL); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:872:6: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(pM, M); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:872:6: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(pM, M); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:872:6: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(pM, M); ^~~~~~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:872:6: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(pM, M); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:872:6: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(pM, M); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:872:6: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(pM, M); ^~~~~~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:872:6: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(pM, M); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:872:6: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(pM, M); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:872:6: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(pM, M); ^~~~~~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:873:6: note: in expansion of macro 'POINT' POINT(pE); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:873:6: note: in expansion of macro 'POINT' POINT(pE); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:873:6: note: in expansion of macro 'POINT' POINT(pE); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:873:6: note: in expansion of macro 'POINT' POINT(pE); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:873:6: note: in expansion of macro 'POINT' POINT(pE); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:873:6: note: in expansion of macro 'POINT' POINT(pE); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:873:6: note: in expansion of macro 'POINT' POINT(pE); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:873:6: note: in expansion of macro 'POINT' POINT(pE); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:873:6: note: in expansion of macro 'POINT' POINT(pE); ^~~~~ cc1: all warnings being treated as errors make[1]: *** [makefile:88: CryptEccSignature.o] Error 1 make[1]: Leaving directory '/tmp/instance-3/output-1/build/ibm-sw-tpm2-1563/src' make: *** [package/pkg-generic.mk:269: /tmp/instance-3/output-1/build/ibm-sw-tpm2-1563/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-3/buildroot'