>>> ibm-sw-tpm2 1563 Extracting gzip -d -c /home/rclinux/rc-buildroot-test/scripts/instance-0/dl/ibm-sw-tpm2/ibmtpm1563.tar.gz | tar --strip-components=1 -C /home/rclinux/rc-buildroot-test/scripts/instance-0/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="/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin:/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /usr/bin/make -j12 -C /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/ibm-sw-tpm2-1563/src PATH="/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin:/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" AR="/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-ar" AS="/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-as" LD="/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-ld" NM="/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-nm" CC="/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc" GCC="/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc" CPP="/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-cpp" CXX="/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-g++" FC="/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gfortran" F77="/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gfortran" RANLIB="/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-ranlib" READELF="/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-readelf" STRIP="/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-strip" OBJCOPY="/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-objcopy" OBJDUMP="/home/rclinux/rc-buildroot-test/scripts/instance-0/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/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/lib -Wl,-rpath,/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-as" DEFAULT_LINKER="/home/rclinux/rc-buildroot-test/scripts/instance-0/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="/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/arm-buildroot-linux-musleabihf/sysroot" INTLTOOL_PERL=/usr/bin/perl make[1]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/ibm-sw-tpm2-1563/src' /home/rclinux/rc-buildroot-test/scripts/instance-0/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 /home/rclinux/rc-buildroot-test/scripts/instance-0/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 /home/rclinux/rc-buildroot-test/scripts/instance-0/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 /home/rclinux/rc-buildroot-test/scripts/instance-0/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 /home/rclinux/rc-buildroot-test/scripts/instance-0/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 /home/rclinux/rc-buildroot-test/scripts/instance-0/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 /home/rclinux/rc-buildroot-test/scripts/instance-0/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 /home/rclinux/rc-buildroot-test/scripts/instance-0/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 /home/rclinux/rc-buildroot-test/scripts/instance-0/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 /home/rclinux/rc-buildroot-test/scripts/instance-0/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 /home/rclinux/rc-buildroot-test/scripts/instance-0/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 /home/rclinux/rc-buildroot-test/scripts/instance-0/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 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 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; ^~~~~~~~~~~~~ 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; ^~~~~~~~~~~~~ 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); ^~~~~~~ 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; ^~~~~~~~~~~~~ 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); ^~~~~~~ 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" ^~~~~ 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); ^~~~~~~ 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 AsymmetricCommands.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); ^~~~~~~ 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 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" ^~~~~ 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 ^~~~~ 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 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" ^~~~~ 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]; ^~~~~~~~~~~~~ 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: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" ^~~~~ 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 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: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 ^~~~~~~~~ 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]; ^~~~~~~~~~~~~ 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)); ^~~~~~~ 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 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: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 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" ^~~~~ 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)); ^~~~~~~ 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 ^~~~~~~~~~~~~ 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 ^~~~~~~~~~~~~ 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 ^~~~~~~~~~~~~ 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 AuditCommands.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 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; ^~~~~~~~~~~~~ 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 ^~~~~~~~~~~~~ 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: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: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: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: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:106: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: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 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; ^~~~~~~~~~~~~ BnMath_fp.h:106: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 ^~~~~~~~~~~~~ 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: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 ^~~~~~~~~~~~~ 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: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 AsymmetricCommands.c:62: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ 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: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 ACT_spt.c:73: 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:80, from Tpm.h:78, from AlgorithmCap.c:67: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ 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: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: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: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; ^~~~~~~~~~~~~ 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:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ 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); ^~~~~~~ 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:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ 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: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: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 Bits.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; ^~~~~~~~~~~~~ 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 ^~~~~~~~~~~~~ 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); ^~~~~~~ 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: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); ^~~~~~~ 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" ^~~~~ 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); ^~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ 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 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; ^~~~~~~~~~~~~ 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" ^~~~~ 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 ^~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ 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" ^~~~~ 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 ^~~~~ 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: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 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)); ^~~~~~~ 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 ^~~~~~~~~~~~~ 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)); ^~~~~~~ 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); ^~~~~~~ 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 AttestationCommands.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); ^~~~~~~ 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 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" ^~~~~ 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 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" ^~~~~ 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); ^~~~~~~ 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 ^~~~~ 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 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 ^~~~~ 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: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: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:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 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: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: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]; ^~~~~~~~~~~~~ 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: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: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" ^~~~~ 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: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 BnMath.c:85: 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]; ^~~~~~~~~~~~~ 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); ^~~~~~~ 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 BnMath.c:85: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 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: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: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: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]; ^~~~~~~~~~~~~ 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)); ^~~~~~~ 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 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)); ^~~~~~~ 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);} ^ 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] 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] makefile:88: recipe for target 'AsymmetricCommands.o' failed make[1]: *** [AsymmetricCommands.o] Error 1 make[1]: *** Waiting for unfinished jobs.... makefile:88: recipe for target 'Attest_spt.o' failed make[1]: *** [Attest_spt.o] Error 1 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 ^~~~~~~~~~~~~ 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] BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnConvert.c: In function 'BnToBytes': BnConvert.c:189:5: error: unknown type name 'crypt_uword_t' crypt_uword_t requiredSize; ^~~~~~~~~~~~~ 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 ^~~~~~~~~~~~~ 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; ^~~~~~~~~~~~~ BnMath_fp.h:97:5: 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 ^~~~~~~~~~~~~ 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); ^~~~~~~ makefile:88: recipe for target 'AuditCommands.o' failed make[1]: *** [AuditCommands.o] Error 1 BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ 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 BnMath.c:85: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnConvert.c:192:5: error: unknown type name 'crypt_uword_t' crypt_uword_t count; ^~~~~~~~~~~~~ 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 ^~~~~~~~~~~~~ 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: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 ^~~~~~~~~~~~~ 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: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 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)); ^~~~~~~~~~~ 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)); ^~~~~~~~~~~ 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 ^~~~~ 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 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) \ ^ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ 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 ^~~~~~~~~~~~ cc1: all warnings being treated as errors 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 ^~~~~~~~~~~~~ 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 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: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]; ^~~~~~~~~~~~~ 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 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)); ^~~~~~~ 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 ^~~~~~~~~~~~ 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 ^~~~~~~~~~~~ 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: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. ^~~~~~~~~~~~~ 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 ^~~~~~~~~~~~~ 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 ^~~~~~~~~~~~~ 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 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:106: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: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: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 ^~~~~~~~~~~~~ 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_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_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: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: ^~~~~~~~~~~~~ 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 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 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 ^~~~~~~~~~~~~ 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 BnMath.c:85: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ makefile:88: recipe for target 'BnConvert.o' failed make[1]: *** [BnConvert.o] Error 1 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 ^~~~~~~~~~~~~ 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 ^~~~~~~~~~~~~ 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: ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ 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. ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ 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: ^~~~~~~~~~~~~ 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 ^~~~~~~~~~~~~ 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 ^~~~~~~~~~~~~ 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 ^~~~~~~~~~~~~ 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 BnMemory.c:66: BnMath_fp.h:75: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: ^~~~~~~~~~~~~ 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 ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ 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: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 ^~~~~~~~~~~~~ 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 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);} ^ 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] BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath.c: In function 'BnAdd': BnMath.c:159:5: error: unknown type name 'crypt_uword_t' crypt_uword_t stop; ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ 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] 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] BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath.c: At top level: BnMath.c:183: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: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, ^~~~~~~~~~~~~ makefile:88: recipe for target 'ACT_spt.o' failed make[1]: *** [ACT_spt.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.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, ^~~~~~~~~~~~~ BnMath.c: In function 'BnSub': 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 BnMath.c:249:14: error: nested extern declaration of 'SubSame' [-Werror=nested-externs] 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 ^~~~~~~~~~~~~ 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) ~ ^~~~ ) BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ 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] BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMath.c: At top level: BnMath.c:263: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 ^~~~~~~~~~~~~ BnMath.c:317:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath.c:330:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMemory.c:75:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMath.c:333:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMemory.c: In function 'BnClearTop': BnMemory.c:100:5: error: unknown type name 'crypt_uword_t' crypt_uword_t i; ^~~~~~~~~~~~~ BnMemory.c: At top level: BnMemory.c:117:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMemory.c:118:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMemory.c:134:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ 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.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] cc1: all warnings being treated as errors makefile:88: recipe for target 'AlgorithmCap.o' failed make[1]: *** [AlgorithmCap.o] Error 1 makefile:88: recipe for target 'AlgorithmTests.o' failed make[1]: *** [AlgorithmTests.o] Error 1 makefile:88: recipe for target 'Bits.o' failed make[1]: *** [Bits.o] Error 1 makefile:88: recipe for target 'AttestationCommands.o' failed make[1]: *** [AttestationCommands.o] Error 1 makefile:88: recipe for target 'ACTCommands.o' failed make[1]: *** [ACTCommands.o] Error 1 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] BnMath.c: At top level: BnMath.c:404:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath.c: In function 'BnSetBit': BnMath.c:424:5: error: unknown type name 'crypt_uword_t' crypt_uword_t offset = bitNum / RADIX_BITS; ^~~~~~~~~~~~~ makefile:88: recipe for target 'BnMemory.o' failed make[1]: *** [BnMemory.o] Error 1 BnMath.c:429:23: error: 'crypt_uword_t' undeclared (first use in this function) bn->d[offset] |= (crypt_uword_t)(1 << RADIX_MOD(bitNum)); ^~~~~~~~~~~~~ BnMath.c: In function 'BnTestBit': BnMath.c:443:5: error: unknown type name 'crypt_uword_t' crypt_uword_t offset = RADIX_DIV(bitNum); ^~~~~~~~~~~~~ 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); ~ ^ ) 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. ^~~~~~~~~~~~~ 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 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++) ^ 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] 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)) ^~~~ ) 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] } ^ cc1: all warnings being treated as errors makefile:88: recipe for target 'BnMath.o' failed make[1]: *** [BnMath.o] Error 1 make[1]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/ibm-sw-tpm2-1563/src' package/pkg-generic.mk:266: recipe for target '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/ibm-sw-tpm2-1563/.stamp_built' failed make: *** [/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/ibm-sw-tpm2-1563/.stamp_built] Error 2 make: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/buildroot'