>>> ibm-sw-tpm2 1563 Extracting gzip -d -c /data/buildroot/buildroot-test/instance-0/dl/ibm-sw-tpm2/ibmtpm1563.tar.gz | /data/buildroot/buildroot-test/instance-0/output/host/bin/tar --strip-components=1 -C /data/buildroot/buildroot-test/instance-0/output/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="/data/buildroot/buildroot-test/instance-0/output/host/bin:/data/buildroot/buildroot-test/instance-0/output/host/sbin:/data/buildroot/buildroot-test/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" /usr/bin/make -j12 -C /data/buildroot/buildroot-test/instance-0/output/build/ibm-sw-tpm2-1563/src PATH="/data/buildroot/buildroot-test/instance-0/output/host/bin:/data/buildroot/buildroot-test/instance-0/output/host/sbin:/data/buildroot/buildroot-test/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" AR="/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-ar" AS="/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-as" LD="/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-ld" NM="/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-nm" CC="/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc" GCC="/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc" CPP="/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-cpp" CXX="/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-g++" FC="/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gfortran" F77="/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gfortran" RANLIB="/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-ranlib" READELF="/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-readelf" STRIP="/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-strip" OBJCOPY="/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-objcopy" OBJDUMP="/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-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/data/buildroot/buildroot-test/instance-0/output/host/include" CFLAGS_FOR_BUILD="-O2 -I/data/buildroot/buildroot-test/instance-0/output/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/data/buildroot/buildroot-test/instance-0/output/host/include" LDFLAGS_FOR_BUILD="-L/data/buildroot/buildroot-test/instance-0/output/host/lib -Wl,-rpath,/data/buildroot/buildroot-test/instance-0/output/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-as" DEFAULT_LINKER="/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-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 -Os " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " LDFLAGS="" FCFLAGS=" -Os " FFLAGS=" -Os " PKG_CONFIG="/data/buildroot/buildroot-test/instance-0/output/host/bin/pkg-config" STAGING_DIR="/data/buildroot/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot" INTLTOOL_PERL=/usr/bin/perl make[1]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/ibm-sw-tpm2-1563/src' /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-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 /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-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 /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-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 /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-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 /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-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 /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-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 /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-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 /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-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 /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-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 /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-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 /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-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 /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-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 BnConvert.c:67: BnValues.h:82:3: error: #error "Unsupported radix" 82 | # error "Unsupported radix" | ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' 120 | typedef BN_STRUCT_DEF(1) bignum_t; | ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' 120 | typedef BN_STRUCT_DEF(1) bignum_t; | ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' 120 | typedef BN_STRUCT_DEF(1) bignum_t; | ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from BnMath.c:85: BnValues.h:82:3: error: #error "Unsupported radix" 82 | # error "Unsupported radix" | ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' 120 | typedef BN_STRUCT_DEF(1) bignum_t; | ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' 120 | typedef BN_STRUCT_DEF(1) bignum_t; | ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' 120 | typedef BN_STRUCT_DEF(1) bignum_t; | ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from Bits.c:69: BnValues.h:82:3: error: #error "Unsupported radix" 82 | # error "Unsupported radix" | ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' 120 | typedef BN_STRUCT_DEF(1) bignum_t; | ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' 120 | typedef BN_STRUCT_DEF(1) bignum_t; | ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' 120 | typedef BN_STRUCT_DEF(1) bignum_t; | ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function) 69 | #define RADIX_BITS __WORDSIZE | ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' 118 | crypt_uword_t d[count]; \ | ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' 87 | #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) | ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' 87 | #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' 154 | #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) | ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from AlgorithmCap.c:67: BnValues.h:82:3: error: #error "Unsupported radix" 82 | # error "Unsupported radix" | ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' 120 | typedef BN_STRUCT_DEF(1) bignum_t; | ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' 120 | typedef BN_STRUCT_DEF(1) bignum_t; | ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' 120 | typedef BN_STRUCT_DEF(1) bignum_t; | ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from AsymmetricCommands.c:62: BnValues.h:82:3: error: #error "Unsupported radix" 82 | # error "Unsupported radix" | ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' 120 | typedef BN_STRUCT_DEF(1) bignum_t; | ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' 120 | typedef BN_STRUCT_DEF(1) bignum_t; | ^~~~~~~~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? 85 | #define RADIX_DIV(x) ((x) >> RADIX_LOG2) | ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' 118 | crypt_uword_t d[count]; \ | ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' 87 | #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' 154 | #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) | ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' 120 | typedef BN_STRUCT_DEF(1) bignum_t; | ^~~~~~~~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" 275 | # error "RADIX_BITS must either be 32 or 64" | ^~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function) 69 | #define RADIX_BITS __WORDSIZE | ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' 118 | crypt_uword_t d[count]; \ | ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' 87 | #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) | ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' 87 | #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' 154 | #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) | ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ 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 99 | # error Ossl library is using different radix | ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from ACT_spt.c:73: BnValues.h:82:3: error: #error "Unsupported radix" 82 | # error "Unsupported radix" | ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' 120 | typedef BN_STRUCT_DEF(1) bignum_t; | ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' 120 | typedef BN_STRUCT_DEF(1) bignum_t; | ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' 120 | typedef BN_STRUCT_DEF(1) bignum_t; | ^~~~~~~~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? 85 | #define RADIX_DIV(x) ((x) >> RADIX_LOG2) | ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' 118 | crypt_uword_t d[count]; \ | ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' 87 | #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' 154 | #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) | ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | 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 83 | #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" 85 | #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" 275 | # error "RADIX_BITS must either be 32 or 64" | ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function) 69 | #define RADIX_BITS __WORDSIZE | ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' 118 | crypt_uword_t d[count]; \ | ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' 87 | #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) | ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' 87 | #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' 154 | #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) | ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_BITS'? 96 | #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) | ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' 103 | BYTE bytes[DRBG_KEY_SIZE_BYTES]; | ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' 104 | crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; | ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' 109 | crypt_uword_t words[DRBG_IV_SIZE_WORDS]; | ^~~~~~~~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? 85 | #define RADIX_DIV(x) ((x) >> RADIX_LOG2) | ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' 118 | crypt_uword_t d[count]; \ | ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' 87 | #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' 154 | #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) | ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' 114 | crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; | ^~~~~~~~~~~~~ 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 99 | # error Ossl library is using different radix | ^~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" 275 | # error "RADIX_BITS must either be 32 or 64" | ^~~~~ 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' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' 77 | BN_TYPE(rsa, RSA_BITS); | ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' 77 | BN_TYPE(rsa, RSA_BITS); | ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' 77 | BN_TYPE(rsa, RSA_BITS); | ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' 82 | BN_TYPE(prime, (RSA_BITS / 2)); | ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' 82 | BN_TYPE(prime, (RSA_BITS / 2)); | ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' 82 | BN_TYPE(prime, (RSA_BITS / 2)); | ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ 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 83 | #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" 85 | #error "Key size and IV for DRBG must be even multiples of the radix" | ^~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function) 69 | #define RADIX_BITS __WORDSIZE | ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' 118 | crypt_uword_t d[count]; \ | ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' 87 | #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) | ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' 87 | #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' 154 | #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) | ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function) 69 | #define RADIX_BITS __WORDSIZE | ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' 118 | crypt_uword_t d[count]; \ | ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' 87 | #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) | ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' 87 | #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' 154 | #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) | ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | 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 99 | # 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'? 96 | #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) | ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' 103 | BYTE bytes[DRBG_KEY_SIZE_BYTES]; | ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' 104 | crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; | ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' 109 | crypt_uword_t words[DRBG_IV_SIZE_WORDS]; | ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' 114 | crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; | ^~~~~~~~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? 85 | #define RADIX_DIV(x) ((x) >> RADIX_LOG2) | ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' 118 | crypt_uword_t d[count]; \ | ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' 87 | #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' 154 | #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) | ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" 275 | # error "RADIX_BITS must either be 32 or 64" | ^~~~~ 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 83 | #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" 85 | #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 BnMath.c:85: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' 77 | BN_TYPE(rsa, RSA_BITS); | ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' 77 | BN_TYPE(rsa, RSA_BITS); | ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' 77 | BN_TYPE(rsa, RSA_BITS); | ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' 82 | BN_TYPE(prime, (RSA_BITS / 2)); | ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' 82 | BN_TYPE(prime, (RSA_BITS / 2)); | ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' 82 | BN_TYPE(prime, (RSA_BITS / 2)); | ^~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? 85 | #define RADIX_DIV(x) ((x) >> RADIX_LOG2) | ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' 118 | crypt_uword_t d[count]; \ | ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' 87 | #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' 154 | #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) | ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" 275 | # error "RADIX_BITS must either be 32 or 64" | ^~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function) 69 | #define RADIX_BITS __WORDSIZE | ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' 118 | crypt_uword_t d[count]; \ | ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' 87 | #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) | ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' 87 | #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' 154 | #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) | ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from AlgorithmCap.c:67: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix 99 | # 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'? 96 | #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) | ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' 103 | BYTE bytes[DRBG_KEY_SIZE_BYTES]; | ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' 104 | crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; | ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' 109 | crypt_uword_t words[DRBG_IV_SIZE_WORDS]; | ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' 114 | 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 83 | #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" 85 | #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 AttestationCommands.c:62: BnValues.h:82:3: error: #error "Unsupported radix" 82 | # error "Unsupported radix" | ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' 120 | typedef BN_STRUCT_DEF(1) bignum_t; | ^~~~~~~~~~~~~ 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' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' 77 | BN_TYPE(rsa, RSA_BITS); | ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' 120 | typedef BN_STRUCT_DEF(1) bignum_t; | ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' 120 | typedef BN_STRUCT_DEF(1) bignum_t; | ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' 77 | BN_TYPE(rsa, RSA_BITS); | ^~~~~~~ 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 99 | # error Ossl library is using different radix | ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' 77 | BN_TYPE(rsa, RSA_BITS); | ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from Attest_spt.c:62: BnValues.h:82:3: error: #error "Unsupported radix" 82 | # error "Unsupported radix" | ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' 82 | BN_TYPE(prime, (RSA_BITS / 2)); | ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' 82 | BN_TYPE(prime, (RSA_BITS / 2)); | ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' 82 | BN_TYPE(prime, (RSA_BITS / 2)); | ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' 120 | typedef BN_STRUCT_DEF(1) bignum_t; | ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' 120 | typedef BN_STRUCT_DEF(1) bignum_t; | ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' 120 | typedef BN_STRUCT_DEF(1) bignum_t; | ^~~~~~~~~~~~~ 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 83 | #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" 85 | #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'? 85 | #define RADIX_DIV(x) ((x) >> RADIX_LOG2) | ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' 118 | crypt_uword_t d[count]; \ | ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' 87 | #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' 154 | #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) | ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" 275 | # error "RADIX_BITS must either be 32 or 64" | ^~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_BITS'? 96 | #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) | ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' 103 | BYTE bytes[DRBG_KEY_SIZE_BYTES]; | ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' 104 | crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; | ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' 109 | crypt_uword_t words[DRBG_IV_SIZE_WORDS]; | ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' 114 | 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' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' 77 | BN_TYPE(rsa, RSA_BITS); | ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' 77 | BN_TYPE(rsa, RSA_BITS); | ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' 77 | BN_TYPE(rsa, RSA_BITS); | ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' 82 | BN_TYPE(prime, (RSA_BITS / 2)); | ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' 82 | BN_TYPE(prime, (RSA_BITS / 2)); | ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' 82 | BN_TYPE(prime, (RSA_BITS / 2)); | ^~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_BITS'? 96 | #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) | ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' 103 | BYTE bytes[DRBG_KEY_SIZE_BYTES]; | ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' 104 | crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; | ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' 109 | crypt_uword_t words[DRBG_IV_SIZE_WORDS]; | ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' 114 | crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; | ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from AsymmetricCommands.c:62: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' 77 | BN_TYPE(rsa, RSA_BITS); | ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' 77 | BN_TYPE(rsa, RSA_BITS); | ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' 77 | BN_TYPE(rsa, RSA_BITS); | ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' 82 | BN_TYPE(prime, (RSA_BITS / 2)); | ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' 82 | BN_TYPE(prime, (RSA_BITS / 2)); | ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' 82 | BN_TYPE(prime, (RSA_BITS / 2)); | ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from ACT_spt.c:73: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix 99 | # error Ossl library is using different radix | ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ In file included from Global.h:83, from Tpm.h:78, from ACT_spt.c:73: CryptRand.h:83:30: error: division by zero in #if 83 | #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" 85 | #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'? 96 | #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) | ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' 103 | BYTE bytes[DRBG_KEY_SIZE_BYTES]; | ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' 104 | crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; | ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' 109 | crypt_uword_t words[DRBG_IV_SIZE_WORDS]; | ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' 114 | crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; | ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from ACT_spt.c:73: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' 77 | BN_TYPE(rsa, RSA_BITS); | ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' 77 | BN_TYPE(rsa, RSA_BITS); | ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' 77 | BN_TYPE(rsa, RSA_BITS); | ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' 82 | BN_TYPE(prime, (RSA_BITS / 2)); | ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' 82 | BN_TYPE(prime, (RSA_BITS / 2)); | ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' 82 | BN_TYPE(prime, (RSA_BITS / 2)); | ^~~~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function) 69 | #define RADIX_BITS __WORDSIZE | ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' 118 | crypt_uword_t d[count]; \ | ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' 87 | #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) | ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' 87 | #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' 154 | #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) | ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function) 69 | #define RADIX_BITS __WORDSIZE | ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' 118 | crypt_uword_t d[count]; \ | ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' 87 | #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) | ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' 87 | #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' 154 | #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) | ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? 85 | #define RADIX_DIV(x) ((x) >> RADIX_LOG2) | ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' 118 | crypt_uword_t d[count]; \ | ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' 87 | #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' 154 | #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) | ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" 275 | # 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'? 85 | #define RADIX_DIV(x) ((x) >> RADIX_LOG2) | ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' 118 | crypt_uword_t d[count]; \ | ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' 87 | #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' 154 | #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) | ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" 275 | # error "RADIX_BITS must either be 32 or 64" | ^~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from AttestationCommands.c:62: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix 99 | # error Ossl library is using different radix | ^~~~~ In file included from Global.h:83, from Tpm.h:78, from AttestationCommands.c:62: CryptRand.h:83:30: error: division by zero in #if 83 | #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" 85 | #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 99 | # error Ossl library is using different radix | ^~~~~ 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 83 | #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" 85 | #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'? 96 | #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) | ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' 103 | BYTE bytes[DRBG_KEY_SIZE_BYTES]; | ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' 104 | crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; | ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' 109 | crypt_uword_t words[DRBG_IV_SIZE_WORDS]; | ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' 114 | crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; | ^~~~~~~~~~~~~ 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' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' 77 | BN_TYPE(rsa, RSA_BITS); | ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' 77 | BN_TYPE(rsa, RSA_BITS); | ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' 77 | BN_TYPE(rsa, RSA_BITS); | ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' 82 | BN_TYPE(prime, (RSA_BITS / 2)); | ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' 82 | BN_TYPE(prime, (RSA_BITS / 2)); | ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' 82 | BN_TYPE(prime, (RSA_BITS / 2)); | ^~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_BITS'? 96 | #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) | ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' 103 | BYTE bytes[DRBG_KEY_SIZE_BYTES]; | ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' 104 | crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; | ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' 109 | crypt_uword_t words[DRBG_IV_SIZE_WORDS]; | ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' 114 | crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; | ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from Attest_spt.c:62: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' 77 | BN_TYPE(rsa, RSA_BITS); | ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' 77 | BN_TYPE(rsa, RSA_BITS); | ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' 77 | BN_TYPE(rsa, RSA_BITS); | ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' 82 | BN_TYPE(prime, (RSA_BITS / 2)); | ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' 82 | BN_TYPE(prime, (RSA_BITS / 2)); | ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' 82 | BN_TYPE(prime, (RSA_BITS / 2)); | ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from AlgorithmTests.c:66: BnValues.h:82:3: error: #error "Unsupported radix" 82 | # error "Unsupported radix" | ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' 120 | typedef BN_STRUCT_DEF(1) bignum_t; | ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' 120 | typedef BN_STRUCT_DEF(1) bignum_t; | ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' 120 | 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" 82 | # error "Unsupported radix" | ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' 120 | typedef BN_STRUCT_DEF(1) bignum_t; | ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' 120 | typedef BN_STRUCT_DEF(1) bignum_t; | ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' 120 | typedef BN_STRUCT_DEF(1) bignum_t; | ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from AuditCommands.c:62: BnValues.h:82:3: error: #error "Unsupported radix" 82 | # error "Unsupported radix" | ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' 120 | typedef BN_STRUCT_DEF(1) bignum_t; | ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' 120 | typedef BN_STRUCT_DEF(1) bignum_t; | ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' 120 | typedef BN_STRUCT_DEF(1) bignum_t; | ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ 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' 75 | 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" 82 | # error "Unsupported radix" | ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' 120 | typedef BN_STRUCT_DEF(1) bignum_t; | ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' 120 | typedef BN_STRUCT_DEF(1) bignum_t; | ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' 120 | typedef BN_STRUCT_DEF(1) bignum_t; | ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ 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' 75 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' 87 | crypt_uword_t word | ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function) 69 | #define RADIX_BITS __WORDSIZE | ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' 118 | crypt_uword_t d[count]; \ | ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' 87 | #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) | ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' 87 | #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' 154 | #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) | ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function) 69 | #define RADIX_BITS __WORDSIZE | ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' 118 | crypt_uword_t d[count]; \ | ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' 87 | #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) | ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' 87 | #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' 154 | #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) | ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' 87 | 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' 75 | crypt_uword_t word | ^~~~~~~~~~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function) 69 | #define RADIX_BITS __WORDSIZE | ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' 118 | crypt_uword_t d[count]; \ | ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' 87 | #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) | ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' 87 | #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' 154 | #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) | ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ 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' 75 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' 97 | crypt_uword_t word | ^~~~~~~~~~~~~ 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' 75 | crypt_uword_t word | ^~~~~~~~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? 85 | #define RADIX_DIV(x) ((x) >> RADIX_LOG2) | ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' 118 | crypt_uword_t d[count]; \ | ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' 87 | #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' 154 | #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) | ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" 275 | # 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'? 85 | #define RADIX_DIV(x) ((x) >> RADIX_LOG2) | ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' 118 | crypt_uword_t d[count]; \ | ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' 87 | #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' 154 | #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) | ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" 275 | # 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'? 85 | #define RADIX_DIV(x) ((x) >> RADIX_LOG2) | ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' 118 | crypt_uword_t d[count]; \ | ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' 87 | #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' 154 | #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) | ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" 275 | # 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 99 | # error Ossl library is using different radix | ^~~~~ LibSupport.h:69:20: error: '__WORDSIZE' undeclared here (not in a function) 69 | #define RADIX_BITS __WORDSIZE | ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' 118 | crypt_uword_t d[count]; \ | ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' 87 | #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) | ^~~~~~~~~ BnValues.h:87:61: note: in expansion of macro 'RADIX_BITS' 87 | #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' 154 | #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) | ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ In file included from Global.h:83, from Tpm.h:78, from AlgorithmTests.c:66: CryptRand.h:83:30: error: division by zero in #if 83 | #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" 85 | #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' 99 | LIB_EXPORT crypt_word_t | ^~~~~~~~~~~~ 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 99 | # error Ossl library is using different radix | ^~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' 87 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' 87 | crypt_uword_t word | ^~~~~~~~~~~~~ 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 83 | #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" 85 | #error "Key size and IV for DRBG must be even multiples of the radix" | ^~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' 97 | crypt_uword_t word | ^~~~~~~~~~~~~ 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 99 | # error Ossl library is using different radix | ^~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' 87 | crypt_uword_t word | ^~~~~~~~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_BITS'? 96 | #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) | ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' 103 | BYTE bytes[DRBG_KEY_SIZE_BYTES]; | ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' 104 | crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; | ^~~~~~~~~~~~~ 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 83 | #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ | ^ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' 109 | crypt_uword_t words[DRBG_IV_SIZE_WORDS]; | ^~~~~~~~~~~~~ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" 85 | #error "Key size and IV for DRBG must be even multiples of the radix" | ^~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' 114 | 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' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' 77 | BN_TYPE(rsa, RSA_BITS); | ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' 77 | BN_TYPE(rsa, RSA_BITS); | ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' 77 | BN_TYPE(rsa, RSA_BITS); | ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' 82 | BN_TYPE(prime, (RSA_BITS / 2)); | ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' 82 | BN_TYPE(prime, (RSA_BITS / 2)); | ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' 82 | BN_TYPE(prime, (RSA_BITS / 2)); | ^~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? 85 | #define RADIX_DIV(x) ((x) >> RADIX_LOG2) | ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' 118 | crypt_uword_t d[count]; \ | ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' 87 | #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' 154 | #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) | ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' 203 | BN_TYPE(ecc, ECC_BITS); | ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" 275 | # error "RADIX_BITS must either be 32 or 64" | ^~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_BITS'? 96 | #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) | ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' 103 | BYTE bytes[DRBG_KEY_SIZE_BYTES]; | ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' 104 | crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; | ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' 109 | crypt_uword_t words[DRBG_IV_SIZE_WORDS]; | ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' 114 | crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; | ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' 102 | crypt_word_t modulus | ^~~~~~~~~~~~ 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' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' 77 | BN_TYPE(rsa, RSA_BITS); | ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' 77 | BN_TYPE(rsa, RSA_BITS); | ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' 77 | BN_TYPE(rsa, RSA_BITS); | ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' 82 | BN_TYPE(prime, (RSA_BITS / 2)); | ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' 82 | BN_TYPE(prime, (RSA_BITS / 2)); | ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' 82 | BN_TYPE(prime, (RSA_BITS / 2)); | ^~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' 99 | LIB_EXPORT crypt_word_t | ^~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' 97 | crypt_uword_t word | ^~~~~~~~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_BITS'? 96 | #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) | ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' 103 | BYTE bytes[DRBG_KEY_SIZE_BYTES]; | ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' 104 | crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; | ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' 109 | crypt_uword_t words[DRBG_IV_SIZE_WORDS]; | ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' 114 | crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; | ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' 97 | crypt_uword_t word | ^~~~~~~~~~~~~ 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' 75 | crypt_uword_t word | ^~~~~~~~~~~~~ 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' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' 77 | BN_TYPE(rsa, RSA_BITS); | ^~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' 97 | crypt_uword_t word | ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' 77 | BN_TYPE(rsa, RSA_BITS); | ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' 77 | BN_TYPE(rsa, RSA_BITS); | ^~~~~~~ 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 99 | # error Ossl library is using different radix | ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' 82 | BN_TYPE(prime, (RSA_BITS / 2)); | ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' 82 | BN_TYPE(prime, (RSA_BITS / 2)); | ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' 82 | BN_TYPE(prime, (RSA_BITS / 2)); | ^~~~~~~ In file included from Global.h:83, from Tpm.h:78, from BnMemory.c:66: CryptRand.h:83:30: error: division by zero in #if 83 | #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" 85 | #error "Key size and IV for DRBG must be even multiples of the radix" | ^~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' 106 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' 102 | crypt_word_t modulus | ^~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' 99 | LIB_EXPORT crypt_word_t | ^~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' 99 | LIB_EXPORT crypt_word_t | ^~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' 87 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' 99 | LIB_EXPORT crypt_word_t | ^~~~~~~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_BITS'? 96 | #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) | ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' 103 | BYTE bytes[DRBG_KEY_SIZE_BYTES]; | ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' 104 | crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; | ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' 109 | crypt_uword_t words[DRBG_IV_SIZE_WORDS]; | ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' 114 | crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; | ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from BnMemory.c:66: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' 77 | BN_TYPE(rsa, RSA_BITS); | ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' 77 | BN_TYPE(rsa, RSA_BITS); | ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' 77 | BN_TYPE(rsa, RSA_BITS); | ^~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' 102 | crypt_word_t modulus | ^~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' 116 | crypt_uword_t allocated; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' 82 | BN_TYPE(prime, (RSA_BITS / 2)); | ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t size; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' 82 | BN_TYPE(prime, (RSA_BITS / 2)); | ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t d[count]; \ | ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' 157 | BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) | ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' 160 | typedef BN_STRUCT(bits) bn_##name##_t | ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' 82 | BN_TYPE(prime, (RSA_BITS / 2)); | ^~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' 119 | crypt_uword_t w | ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' 106 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' 102 | crypt_word_t modulus | ^~~~~~~~~~~~ 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' 75 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' 97 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' 102 | crypt_word_t modulus | ^~~~~~~~~~~~ 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' 75 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' 106 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' 134 | crypt_uword_t maskBit // IN: the bit number for the mask. | ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' 106 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' 87 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' 99 | LIB_EXPORT crypt_word_t | ^~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' 119 | crypt_uword_t w | ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' 106 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' 87 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' 119 | crypt_uword_t w | ^~~~~~~~~~~~~ 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' 68 | crypt_uword_t top // IN: the new top | ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' 119 | crypt_uword_t w | ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' 102 | crypt_word_t modulus | ^~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' 97 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' 119 | crypt_uword_t w | ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' 134 | crypt_uword_t maskBit // IN: the bit number for the mask. | ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' 77 | crypt_uword_t allocated, // IN: | ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' 134 | crypt_uword_t maskBit // IN: the bit number for the mask. | ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' 134 | crypt_uword_t maskBit // IN: the bit number for the mask. | ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' 97 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' 99 | LIB_EXPORT crypt_word_t | ^~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' 106 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' 134 | crypt_uword_t maskBit // IN: the bit number for the mask. | ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from AlgorithmCap.c:67: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' 68 | crypt_uword_t top // IN: the new top | ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' 78 | crypt_uword_t word // 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' 68 | crypt_uword_t top // IN: the new top | ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' 99 | LIB_EXPORT crypt_word_t | ^~~~~~~~~~~~ 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' 68 | crypt_uword_t top // IN: the new top | ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' 102 | crypt_word_t modulus | ^~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' 119 | crypt_uword_t w | ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' 102 | crypt_word_t modulus | ^~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' 77 | crypt_uword_t allocated, // IN: | ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' 83 | crypt_uword_t allocated | ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' 77 | crypt_uword_t allocated, // IN: | ^~~~~~~~~~~~~ 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' 68 | crypt_uword_t top // IN: the new top | ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' 77 | crypt_uword_t allocated, // IN: | ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' 106 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' 134 | crypt_uword_t maskBit // IN: the bit number for the mask. | ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' 106 | 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' 75 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' 78 | crypt_uword_t word // IN: | ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' 77 | crypt_uword_t allocated, // IN: | ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' 78 | crypt_uword_t word // IN: | ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' 119 | crypt_uword_t w | ^~~~~~~~~~~~~ BnConvert.c: In function 'BnFromBytes': BnConvert.c:82:5: error: unknown type name 'crypt_uword_t' 82 | 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] 89 | pAssert(BnGetAllocated(bn) >= size); | ^~ GpMacros.h:125:29: note: in definition of macro 'pAssert' 125 | # define pAssert(a) {if(!(a)) FAIL(FATAL_ERROR_PARAMETER);} | ^ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' 78 | crypt_uword_t word // IN: | ^~~~~~~~~~~~~ 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' 68 | crypt_uword_t top // IN: the new top | ^~~~~~~~~~~~~ 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' 75 | crypt_uword_t word | ^~~~~~~~~~~~~ BnConvert.c:111:5: error: implicit declaration of function 'BnSetTop' [-Werror=implicit-function-declaration] 111 | BnSetTop(bn, size); | ^~~~~~~~ BnConvert.c:111:5: error: nested extern declaration of 'BnSetTop' [-Werror=nested-externs] BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' 119 | crypt_uword_t w | ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' 87 | crypt_uword_t word | ^~~~~~~~~~~~~ BnConvert.c: In function 'BnFromHex': BnConvert.c:149:2: error: implicit declaration of function 'BnSetWord'; did you mean 'BnGetWord'? [-Werror=implicit-function-declaration] 149 | BnSetWord(bn, 0); | ^~~~~~~~~ | BnGetWord BnConvert.c:149:2: error: nested extern declaration of 'BnSetWord' [-Werror=nested-externs] BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' 83 | crypt_uword_t allocated | ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' 78 | crypt_uword_t word // IN: | ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' 83 | crypt_uword_t allocated | ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' 134 | crypt_uword_t maskBit // IN: the bit number for the mask. | ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' 83 | crypt_uword_t allocated | ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' 97 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' 87 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' 77 | crypt_uword_t allocated, // IN: | ^~~~~~~~~~~~~ BnConvert.c:167:13: error: implicit declaration of function 'SWAP_CRYPT_WORD'; did you mean 'MAX_CRYPT_WORD'? [-Werror=implicit-function-declaration] 167 | 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] BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' 83 | crypt_uword_t allocated | ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' 134 | crypt_uword_t maskBit // IN: the bit number for the mask. | ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' 99 | LIB_EXPORT crypt_word_t | ^~~~~~~~~~~~ make[1]: *** [makefile:88: AlgorithmCap.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [makefile:88: AsymmetricCommands.o] Error 1 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' 68 | crypt_uword_t top // IN: the new top | ^~~~~~~~~~~~~ BnMath.c:100:2: error: unknown type name 'crypt_uword_t' 100 | crypt_uword_t *result, | ^~~~~~~~~~~~~ BnMath.c:101:8: error: unknown type name 'crypt_uword_t' 101 | const crypt_uword_t *op1, | ^~~~~~~~~~~~~ BnMath.c:102:8: error: unknown type name 'crypt_uword_t' 102 | const crypt_uword_t *op2, | ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' 97 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' 78 | crypt_uword_t word // IN: | ^~~~~~~~~~~~~ BnConvert.c: In function 'BnToBytes': BnConvert.c:189:5: error: unknown type name 'crypt_uword_t' 189 | crypt_uword_t requiredSize; | ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' 102 | crypt_word_t modulus | ^~~~~~~~~~~~ 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' 68 | crypt_uword_t top // IN: the new top | ^~~~~~~~~~~~~ make[1]: *** [makefile:88: Bits.o] Error 1 BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' 77 | crypt_uword_t allocated, // IN: | ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' 99 | LIB_EXPORT crypt_word_t | ^~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' 83 | crypt_uword_t allocated | ^~~~~~~~~~~~~ BnMath.c:126:4: error: unknown type name 'crypt_uword_t' 126 | crypt_uword_t *result, | ^~~~~~~~~~~~~ BnMath.c:127:10: error: unknown type name 'crypt_uword_t' 127 | 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] 145 | pAssert((unsigned)stop < result->allocated); | ^ GpMacros.h:125:29: note: in definition of macro 'pAssert' 125 | # define pAssert(a) {if(!(a)) FAIL(FATAL_ERROR_PARAMETER);} | ^ BnConvert.c:192:5: error: unknown type name 'crypt_uword_t' 192 | crypt_uword_t count; | ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' 106 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' 77 | crypt_uword_t allocated, // IN: | ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' 102 | crypt_word_t modulus | ^~~~~~~~~~~~ BnMath.c:148:5: error: implicit declaration of function 'BnSetTop' [-Werror=implicit-function-declaration] 148 | BnSetTop(result, stop); | ^~~~~~~~ BnMath.c:148:5: error: nested extern declaration of 'BnSetTop' [-Werror=nested-externs] BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' 78 | crypt_uword_t word // IN: | ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' 119 | crypt_uword_t w | ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' 78 | crypt_uword_t word // IN: | ^~~~~~~~~~~~~ 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) 133 | #define BnGetWord(x, i) (crypt_uword_t)((x)->d[i]) | ^~~~~~~~~~~~~ GpMacros.h:125:29: note: in definition of macro 'pAssert' 125 | # define pAssert(a) {if(!(a)) FAIL(FATAL_ERROR_PARAMETER);} | ^ BnValues.h:138:31: note: in expansion of macro 'BnGetWord' 138 | ((BnGetSize(bn) == 1) && (BnGetWord(bn, 0) == (crypt_uword_t)word)) | ^~~~~~~~~ BnConvert.c:290:13: note: in expansion of macro 'BnEqualWord' 290 | pAssert(BnEqualWord(ecP->z, 1)); | ^~~~~~~~~~~ BnValues.h:133:30: note: each undeclared identifier is reported only once for each function it appears in 133 | #define BnGetWord(x, i) (crypt_uword_t)((x)->d[i]) | ^~~~~~~~~~~~~ GpMacros.h:125:29: note: in definition of macro 'pAssert' 125 | # define pAssert(a) {if(!(a)) FAIL(FATAL_ERROR_PARAMETER);} | ^ BnValues.h:138:31: note: in expansion of macro 'BnGetWord' 138 | ((BnGetSize(bn) == 1) && (BnGetWord(bn, 0) == (crypt_uword_t)word)) | ^~~~~~~~~ BnConvert.c:290:13: note: in expansion of macro 'BnEqualWord' 290 | pAssert(BnEqualWord(ecP->z, 1)); | ^~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' 106 | crypt_uword_t word | ^~~~~~~~~~~~~ BnConvert.c:290:33: error: expected ')' before numeric constant 290 | pAssert(BnEqualWord(ecP->z, 1)); | ^ GpMacros.h:125:29: note: in definition of macro 'pAssert' 125 | # define pAssert(a) {if(!(a)) FAIL(FATAL_ERROR_PARAMETER);} | ^ BnConvert.c:290:13: note: in expansion of macro 'BnEqualWord' 290 | pAssert(BnEqualWord(ecP->z, 1)); | ^~~~~~~~~~~ BnValues.h:138:30: note: to match this '(' 138 | ((BnGetSize(bn) == 1) && (BnGetWord(bn, 0) == (crypt_uword_t)word)) | ^ GpMacros.h:125:29: note: in definition of macro 'pAssert' 125 | # define pAssert(a) {if(!(a)) FAIL(FATAL_ERROR_PARAMETER);} | ^ BnConvert.c:290:13: note: in expansion of macro 'BnEqualWord' 290 | pAssert(BnEqualWord(ecP->z, 1)); | ^~~~~~~~~~~ BnMath.c: In function 'BnAdd': BnMath.c:159:5: error: unknown type name 'crypt_uword_t' 159 | crypt_uword_t stop; | ^~~~~~~~~~~~~ make[1]: *** [makefile:88: ACT_spt.o] Error 1 BnMath.c:171:18: error: implicit declaration of function 'AddSame' [-Werror=implicit-function-declaration] 171 | carry = (int)AddSame(result->d, n1->d, n2->d, (int)stop); | ^~~~~~~ BnMath.c:171:18: error: nested extern declaration of 'AddSame' [-Werror=nested-externs] cc1: all warnings being treated as errors BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' 83 | crypt_uword_t allocated | ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' 134 | crypt_uword_t maskBit // IN: the bit number for the mask. | ^~~~~~~~~~~~~ BnMath.c:173:10: error: implicit declaration of function 'CarryProp' [-Werror=implicit-function-declaration] 173 | carry = CarryProp(&result->d[stop], &n1->d[stop], (int)(n1->size - stop), carry); | ^~~~~~~~~ BnMath.c:173:10: error: nested extern declaration of 'CarryProp' [-Werror=nested-externs] 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' 75 | crypt_uword_t word | ^~~~~~~~~~~~~ make[1]: *** [makefile:88: BnConvert.o] Error 1 BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' 119 | crypt_uword_t w | ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' 83 | crypt_uword_t allocated | ^~~~~~~~~~~~~ BnMath.c: At top level: BnMath.c:183:4: error: unknown type name 'crypt_uword_t' 183 | crypt_uword_t word | ^~~~~~~~~~~~~ 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' 68 | crypt_uword_t top // IN: the new top | ^~~~~~~~~~~~~ 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' 75 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' 134 | crypt_uword_t maskBit // IN: the bit number for the mask. | ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' 87 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMath.c:197:2: error: unknown type name 'crypt_uword_t' 197 | crypt_uword_t *result, | ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' 77 | crypt_uword_t allocated, // IN: | ^~~~~~~~~~~~~ BnMath.c:198:8: error: unknown type name 'crypt_uword_t' 198 | const crypt_uword_t *op1, | ^~~~~~~~~~~~~ BnMath.c:199:8: error: unknown type name 'crypt_uword_t' 199 | const crypt_uword_t *op2, | ^~~~~~~~~~~~~ make[1]: *** [makefile:88: Attest_spt.o] Error 1 make[1]: *** [makefile:88: AttestationCommands.o] Error 1 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' 68 | crypt_uword_t top // IN: the new top | ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' 78 | crypt_uword_t word // IN: | ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' 87 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMath.c:222:5: error: unknown type name 'crypt_uword_t' 222 | crypt_uword_t *result, | ^~~~~~~~~~~~~ BnMath.c:223:11: error: unknown type name 'crypt_uword_t' 223 | const crypt_uword_t *op, | ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' 97 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMath.c: In function 'BnSub': BnMath.c:249:14: error: implicit declaration of function 'SubSame' [-Werror=implicit-function-declaration] 249 | borrow = SubSame(result->d, op1->d, op2->d, stop); | ^~~~~~~ BnMath.c:249:14: error: nested extern declaration of 'SubSame' [-Werror=nested-externs] BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' 77 | crypt_uword_t allocated, // IN: | ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' 83 | crypt_uword_t allocated | ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' 97 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' 99 | LIB_EXPORT crypt_word_t | ^~~~~~~~~~~~ BnMath.c:250:21: error: 'crypt_uword_t' undeclared (first use in this function) 250 | 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' 250 | if(op1->size > (crypt_uword_t)stop) | ~ ^~~~ | ) make[1]: *** [makefile:88: AuditCommands.o] Error 1 BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' 78 | crypt_uword_t word // IN: | ^~~~~~~~~~~~~ BnMath.c:251:11: error: implicit declaration of function 'BorrowProp' [-Werror=implicit-function-declaration] 251 | 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] BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' 99 | LIB_EXPORT crypt_word_t | ^~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' 102 | crypt_word_t modulus | ^~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' 83 | crypt_uword_t allocated | ^~~~~~~~~~~~~ BnMath.c: At top level: BnMath.c:263:4: error: unknown type name 'crypt_uword_t' 263 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' 102 | crypt_word_t modulus | ^~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' 106 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMath.c:317:5: error: unknown type name 'crypt_uword_t' 317 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' 106 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMath.c:330:12: error: unknown type name 'crypt_word_t' 330 | LIB_EXPORT crypt_word_t | ^~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' 119 | crypt_uword_t w | ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' 119 | crypt_uword_t w | ^~~~~~~~~~~~~ BnMath.c:333:4: error: unknown type name 'crypt_word_t' 333 | crypt_word_t modulus | ^~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' 134 | crypt_uword_t maskBit // IN: the bit number for the mask. | ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' 134 | 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' 68 | crypt_uword_t top // IN: the new top | ^~~~~~~~~~~~~ make[1]: *** [makefile:88: AlgorithmTests.o] Error 1 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' 68 | crypt_uword_t top // IN: the new top | ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' 77 | crypt_uword_t allocated, // IN: | ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' 77 | crypt_uword_t allocated, // IN: | ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' 78 | crypt_uword_t word // IN: | ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' 78 | crypt_uword_t word // IN: | ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' 83 | crypt_uword_t allocated | ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' 83 | crypt_uword_t allocated | ^~~~~~~~~~~~~ make[1]: *** [makefile:88: ACTCommands.o] Error 1 BnMemory.c:75:3: error: unknown type name 'crypt_uword_t' 75 | crypt_uword_t top // IN: the new top | ^~~~~~~~~~~~~ BnMemory.c: In function 'BnClearTop': BnMemory.c:100:5: error: unknown type name 'crypt_uword_t' 100 | crypt_uword_t i; | ^~~~~~~~~~~~~ BnMath.c:352:5: error: unknown type name 'crypt_uword_t' 352 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMemory.c: At top level: BnMemory.c:117:4: error: unknown type name 'crypt_uword_t' 117 | crypt_uword_t allocated, // IN: | ^~~~~~~~~~~~~ BnMath.c: In function 'BnMsb': BnMath.c:381:27: error: implicit declaration of function 'Msb'; did you mean 'BnMsb'? [-Werror=implicit-function-declaration] 381 | int retVal = Msb(bn->d[bn->size - 1]); | ^~~ | BnMsb BnMath.c:381:27: error: nested extern declaration of 'Msb' [-Werror=nested-externs] BnMemory.c:118:4: error: unknown type name 'crypt_uword_t' 118 | crypt_uword_t word // IN: | ^~~~~~~~~~~~~ BnMath.c: At top level: BnMath.c:404:4: error: unknown type name 'crypt_uword_t' 404 | crypt_uword_t w | ^~~~~~~~~~~~~ BnMemory.c:134:8: error: unknown type name 'crypt_uword_t' 134 | crypt_uword_t allocated | ^~~~~~~~~~~~~ BnMemory.c: In function 'BnCopy': BnMemory.c:156:2: error: implicit declaration of function 'BnSetTop' [-Werror=implicit-function-declaration] 156 | BnSetTop(out, BnGetSize(out)); | ^~~~~~~~ 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] 162 | pAssert(BnGetAllocated(out) >= BnGetSize(in)); | ^~ GpMacros.h:125:29: note: in definition of macro 'pAssert' 125 | # 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] 163 | 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] 198 | BnSetWord(z, 1); | ^~~~~~~~~ | BnGetWord BnMemory.c:198:5: error: nested extern declaration of 'BnSetWord' [-Werror=nested-externs] BnMath.c: In function 'BnSetBit': BnMath.c:424:5: error: unknown type name 'crypt_uword_t' 424 | crypt_uword_t offset = bitNum / RADIX_BITS; | ^~~~~~~~~~~~~ cc1: all warnings being treated as errors make[1]: *** [makefile:88: BnMemory.o] Error 1 BnMath.c:429:23: error: 'crypt_uword_t' undeclared (first use in this function) 429 | 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' 443 | crypt_uword_t offset = RADIX_DIV(bitNum); | ^~~~~~~~~~~~~ BnMath.c:446:30: error: 'crypt_uword_t' undeclared (first use in this function) 446 | return ((bn->d[offset] & (((crypt_uword_t)1) << RADIX_MOD(bitNum))) != 0); | ^~~~~~~~~~~~~ BnMath.c:446:44: error: expected ')' before numeric constant 446 | 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' 460 | 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' 489 | 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) 86 | #define RADIX_MASK ((((crypt_uword_t)1) << RADIX_LOG2) - 1) | ^~~~~~~~~~~~~ BnMath.c:491:33: note: in expansion of macro 'RADIX_MASK' 491 | shiftAmount = shiftAmount & RADIX_MASK; | ^~~~~~~~~~ BnValues.h:86:39: error: expected ')' before numeric constant 86 | #define RADIX_MASK ((((crypt_uword_t)1) << RADIX_LOG2) - 1) | ~ ^ BnMath.c:491:33: note: in expansion of macro 'RADIX_MASK' 491 | 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] 495 | 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] 505 | for(i = 0; i < finalSize; i++) | ^ BnMath.c: In function 'BnGetRandomBits': BnMath.c:537:10: error: implicit declaration of function 'BnMaskBits' [-Werror=implicit-function-declaration] 537 | if(BnMaskBits(n, (crypt_uword_t)bits)) | ^~~~~~~~~~ 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) 537 | if(BnMaskBits(n, (crypt_uword_t)bits)) | ^~~~~~~~~~~~~ BnMath.c:537:39: error: expected ')' before 'bits' 537 | 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] 564 | 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] 449 | } | ^ cc1: all warnings being treated as errors make[1]: *** [makefile:88: BnMath.o] Error 1 make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/ibm-sw-tpm2-1563/src' make: *** [package/pkg-generic.mk:269: /data/buildroot/buildroot-test/instance-0/output/build/ibm-sw-tpm2-1563/.stamp_built] Error 2 make: Leaving directory '/data/buildroot/buildroot-test/instance-0/buildroot'