>>> ibm-sw-tpm2 1563 Extracting gzip -d -c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/dl/ibm-sw-tpm2/ibmtpm1563.tar.gz | /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/bin/tar --strip-components=1 -C /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/ibm-sw-tpm2-1563 -xf - >>> ibm-sw-tpm2 1563 Patching Applying 0001-Use-__WORDSIZE-to-define-RADIX_BITS.patch using patch: patching file src/LibSupport.h >>> ibm-sw-tpm2 1563 Configuring >>> ibm-sw-tpm2 1563 Building PATH="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/bin:/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/sbin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin" /usr/bin/make -j8 -C /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/ibm-sw-tpm2-1563/src PATH="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/bin:/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/sbin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin" AR="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv64-buildroot-linux-musl-ar" AS="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv64-buildroot-linux-musl-as" LD="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv64-buildroot-linux-musl-ld" NM="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv64-buildroot-linux-musl-nm" CC="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv64-buildroot-linux-musl-gcc" GCC="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv64-buildroot-linux-musl-gcc" CPP="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv64-buildroot-linux-musl-cpp" CXX="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv64-buildroot-linux-musl-g++" FC="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv64-buildroot-linux-musl-gfortran" F77="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv64-buildroot-linux-musl-gfortran" RANLIB="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv64-buildroot-linux-musl-ranlib" READELF="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv64-buildroot-linux-musl-readelf" STRIP="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv64-buildroot-linux-musl-strip" OBJCOPY="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv64-buildroot-linux-musl-objcopy" OBJDUMP="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/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/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib -Wl,-rpath,/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv64-buildroot-linux-musl-as" DEFAULT_LINKER="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/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="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot" INTLTOOL_PERL=/usr/bin/perl make[1]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/ibm-sw-tpm2-1563/src' /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/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 /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/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 /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/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 /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/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 /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/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 /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/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 /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/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 /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/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 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: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 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; | ^~~~~~~~~~~~~ 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); | ^~~~~~~ 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 AlgorithmTests.c:66: 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 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" | ^~~~~ 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" | ^~~~~ 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; | ^~~~~~~~~~~~~ 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 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)); | ^~~~~~~ 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]; | ^~~~~~~~~~~~~ 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)); | ^~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' 109 | crypt_uword_t words[DRBG_IV_SIZE_WORDS]; | ^~~~~~~~~~~~~ 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: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)); | ^~~~~~~ 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 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: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 ACT_spt.c:73: 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 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" | ^~~~~ 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 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; | ^~~~~~~~~~~~~ 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; | ^~~~~~~~~~~~~ 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: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); | ^~~~~~~ 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: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: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); | ^~~~~~~ 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: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: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: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: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 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 | ^~~~~ 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" | ^~~~~ 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: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); | ^~~~~~~ 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 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)); | ^~~~~~~ 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" | ^~~~~ 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: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 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 | ^~~~~ 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 ACTCommands.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" | ^~~~~ 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 AsymmetricCommands.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 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: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); | ^~~~~~~ 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]; | ^~~~~~~~~~~~~ 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:109:5: error: unknown type name 'crypt_uword_t' 109 | crypt_uword_t words[DRBG_IV_SIZE_WORDS]; | ^~~~~~~~~~~~~ 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 | ^~~~~~~~~~~~~ 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 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); | ^~~~~~~ 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); | ^~~~~~~ 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]; | ^~~~~~~~~~~~~ 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)); | ^~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' 109 | crypt_uword_t words[DRBG_IV_SIZE_WORDS]; | ^~~~~~~~~~~~~ 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:114:5: error: unknown type name 'crypt_uword_t' 114 | crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; | ^~~~~~~~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_BITS'? 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]; | ^~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' 104 | crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; | ^~~~~~~~~~~~~ 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); | ^~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' 109 | crypt_uword_t words[DRBG_IV_SIZE_WORDS]; | ^~~~~~~~~~~~~ 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); | ^~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' 114 | crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; | ^~~~~~~~~~~~~ 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 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)); | ^~~~~~~ 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:87:4: error: unknown type name 'crypt_uword_t' 87 | 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); | ^~~~~~~ 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" | ^~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' 87 | 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 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 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 | ^~~~~ 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" | ^~~~~ 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: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]; | ^~~~~~~~~~~~~ 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)); | ^~~~~~~ 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 | ^~~~~~~~~~~~ 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: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 | ^~~~~~~~~~~~~ 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 | ^~~~~~~~~~~~~ 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 | ^~~~~~~~~~~~~ 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: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 | ^~~~~~~~~~~~~ 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 | ^~~~~~~~~~~~~ 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:106:5: error: unknown type name 'crypt_uword_t' 106 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' 97 | 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: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 | ^~~~~~~~~~~~~ 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 | ^~~~~~~~~~~~~ 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 | ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' 119 | crypt_uword_t w | ^~~~~~~~~~~~~ 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 | ^~~~~~~~~~~~ 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: | ^~~~~~~~~~~~~ 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 | ^~~~~~~~~~~~ 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: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 | ^~~~~~~~~~~~ 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: | ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' 87 | crypt_uword_t word | ^~~~~~~~~~~~~ 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 | ^~~~~~~~~~~~~ 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 | ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' 106 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' 106 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' 106 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' 97 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' 83 | crypt_uword_t allocated | ^~~~~~~~~~~~~ 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 | ^~~~~~~~~~~~~ make[1]: *** [ACT_spt.o] Error 1 make[1]: *** Waiting for unfinished jobs.... 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 | ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' 77 | crypt_uword_t allocated, // IN: | ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' 119 | crypt_uword_t w | ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' 99 | LIB_EXPORT crypt_word_t | ^~~~~~~~~~~~ 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 | ^~~~~~~~~~~~~ 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 | ^~~~~~~~~~~~~ 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:78:4: error: unknown type name 'crypt_uword_t' 78 | crypt_uword_t word // IN: | ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' 102 | 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. | ^~~~~~~~~~~~~ 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 AuditCommands.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:97:5: error: unknown type name 'crypt_uword_t' 97 | crypt_uword_t word | ^~~~~~~~~~~~~ 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: | ^~~~~~~~~~~~~ make[1]: *** [AlgorithmTests.o] Error 1 BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' 106 | crypt_uword_t word | ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from AsymmetricCommands.c:62: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' 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: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 | ^~~~~~~~~~~~~ make[1]: *** [Attest_spt.o] Error 1 BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' 78 | crypt_uword_t word // IN: | ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' 102 | crypt_word_t modulus | ^~~~~~~~~~~~ make[1]: *** [ACTCommands.o] Error 1 BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' 77 | crypt_uword_t allocated, // IN: | ^~~~~~~~~~~~~ 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_fp.h:106:5: error: unknown type name 'crypt_uword_t' 106 | crypt_uword_t word | ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' 78 | crypt_uword_t word // 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. | ^~~~~~~~~~~~~ make[1]: *** [AuditCommands.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 | ^~~~~~~~~~~~~ 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_fp.h:134:5: error: unknown type name 'crypt_uword_t' 134 | crypt_uword_t maskBit // IN: the bit number for the mask. | ^~~~~~~~~~~~~ make[1]: *** [AsymmetricCommands.o] Error 1 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 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: | ^~~~~~~~~~~~~ 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:78:4: error: unknown type name 'crypt_uword_t' 78 | crypt_uword_t word // IN: | ^~~~~~~~~~~~~ make[1]: *** [AttestationCommands.o] Error 1 BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' 83 | crypt_uword_t allocated | ^~~~~~~~~~~~~ make[1]: *** [AlgorithmCap.o] Error 1 make[1]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/ibm-sw-tpm2-1563/src' make: *** [/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/ibm-sw-tpm2-1563/.stamp_built] Error 2 make: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/buildroot'