>>> ibm-sw-tpm2 1563 Downloading --2020-04-21 23:05:22-- https://sourceforge.net/projects/ibmswtpm2/files/ibmtpm1563.tar.gz Resolving sourceforge.net (sourceforge.net)... 216.105.38.13 Connecting to sourceforge.net (sourceforge.net)|216.105.38.13|:443... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://sourceforge.net/projects/ibmswtpm2/files/ibmtpm1563.tar.gz/ [following] --2020-04-21 23:05:22-- https://sourceforge.net/projects/ibmswtpm2/files/ibmtpm1563.tar.gz/ Connecting to sourceforge.net (sourceforge.net)|216.105.38.13|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://sourceforge.net/projects/ibmswtpm2/files/ibmtpm1563.tar.gz/download [following] --2020-04-21 23:05:22-- https://sourceforge.net/projects/ibmswtpm2/files/ibmtpm1563.tar.gz/download Connecting to sourceforge.net (sourceforge.net)|216.105.38.13|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://downloads.sourceforge.net/project/ibmswtpm2/ibmtpm1563.tar.gz?r=&ts=1587531922&use_mirror=iweb [following] --2020-04-21 23:05:22-- https://downloads.sourceforge.net/project/ibmswtpm2/ibmtpm1563.tar.gz?r=&ts=1587531922&use_mirror=iweb Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.105.38.13 Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.105.38.13|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://iweb.dl.sourceforge.net/project/ibmswtpm2/ibmtpm1563.tar.gz [following] --2020-04-21 23:05:23-- https://iweb.dl.sourceforge.net/project/ibmswtpm2/ibmtpm1563.tar.gz Resolving iweb.dl.sourceforge.net (iweb.dl.sourceforge.net)... 192.175.120.182, 2607:f748:10:12::5f:2 Connecting to iweb.dl.sourceforge.net (iweb.dl.sourceforge.net)|192.175.120.182|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 673153 (657K) [application/x-gzip] Saving to: '/tmp/instance-2/output-1/build/.ibmtpm1563.tar.gz.YClqXz/output' 0K .......... .......... .......... .......... .......... 7% 446K 1s 50K .......... .......... .......... .......... .......... 15% 893K 1s 100K .......... .......... .......... .......... .......... 22% 898K 1s 150K .......... .......... .......... .......... .......... 30% 97.8M 1s 200K .......... .......... .......... .......... .......... 38% 898K 0s 250K .......... .......... .......... .......... .......... 45% 126M 0s 300K .......... .......... .......... .......... .......... 53% 898K 0s 350K .......... .......... .......... .......... .......... 60% 119M 0s 400K .......... .......... .......... .......... .......... 68% 903K 0s 450K .......... .......... .......... .......... .......... 76% 79.5M 0s 500K .......... .......... .......... .......... .......... 83% 898K 0s 550K .......... .......... .......... .......... .......... 91% 127M 0s 600K .......... .......... .......... .......... .......... 98% 899K 0s 650K ....... 100% 224M=0.5s 2020-04-21 23:05:23 (1.27 MB/s) - '/tmp/instance-2/output-1/build/.ibmtpm1563.tar.gz.YClqXz/output' saved [673153/673153] ibmtpm1563.tar.gz: OK (sha1: a2a5335024a2edc1739f08b99e716fa355be627d) ibmtpm1563.tar.gz: OK (md5: 13013612b3a13dc935fefe1a5684179c) ibmtpm1563.tar.gz: OK (sha256: fc3a17f8315c1f47670764f2384943afc0d3ba1e9a0422dacb08d455733bd1e9) >>> ibm-sw-tpm2 1563 Extracting gzip -d -c /tmp/instance-2/dl/ibm-sw-tpm2/ibmtpm1563.tar.gz | /tmp/instance-2/output-1/host/bin/tar --strip-components=1 -C /tmp/instance-2/output-1/build/ibm-sw-tpm2-1563 -xf - >>> ibm-sw-tpm2 1563 Patching >>> ibm-sw-tpm2 1563 Configuring >>> ibm-sw-tpm2 1563 Building PATH="/tmp/instance-2/output-1/host/bin:/tmp/instance-2/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j32 -C /tmp/instance-2/output-1/build/ibm-sw-tpm2-1563/src PATH="/tmp/instance-2/output-1/host/bin:/tmp/instance-2/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" AR="/tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-ar" AS="/tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-as" LD="/tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-ld" NM="/tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-nm" CC="/tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc" GCC="/tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc" CPP="/tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-cpp" CXX="/tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-g++" FC="/tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-gfortran" F77="/tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-gfortran" RANLIB="/tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-ranlib" READELF="/tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-readelf" STRIP="/tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-strip" OBJCOPY="/tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-objcopy" OBJDUMP="/tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/tmp/instance-2/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/tmp/instance-2/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/tmp/instance-2/output-1/host/include" LDFLAGS_FOR_BUILD="-L/tmp/instance-2/output-1/host/lib -Wl,-rpath,/tmp/instance-2/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-as" DEFAULT_LINKER="/tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-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="/tmp/instance-2/output-1/host/bin/pkg-config" STAGING_DIR="/tmp/instance-2/output-1/host/powerpc-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl make[1]: Entering directory '/tmp/instance-2/output-1/build/ibm-sw-tpm2-1563/src' /tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO ACTCommands.c -o ACTCommands.o /tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO ACT_spt.c -o ACT_spt.o /tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO AlgorithmCap.c -o AlgorithmCap.o /tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO AlgorithmTests.c -o AlgorithmTests.o /tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO AsymmetricCommands.c -o AsymmetricCommands.o /tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO Attest_spt.c -o Attest_spt.o /tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO AttestationCommands.c -o AttestationCommands.o /tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO AuditCommands.c -o AuditCommands.o /tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO Bits.c -o Bits.o /tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO BnConvert.c -o BnConvert.o /tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO BnMath.c -o BnMath.o /tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO BnMemory.c -o BnMemory.o /tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO Cancel.c -o Cancel.o /tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO CapabilityCommands.c -o CapabilityCommands.o /tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO Clock.c -o Clock.o /tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO ClockCommands.c -o ClockCommands.o /tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO CommandAudit.c -o CommandAudit.o /tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO CommandCodeAttributes.c -o CommandCodeAttributes.o /tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO CommandDispatcher.c -o CommandDispatcher.o /tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO ContextCommands.c -o ContextCommands.o /tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO Context_spt.c -o Context_spt.o /tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO CryptDes.c -o CryptDes.o /tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO CryptCmac.c -o CryptCmac.o /tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO CryptEccData.c -o CryptEccData.o In file included from Tpm.h:73, from AlgorithmCap.c:67: LibSupport.h:78:9: error: #error Unable to determine RADIX_BITS from compiler environment # error Unable to determine RADIX_BITS from compiler environment ^~~~~ /tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO CryptEccKeyExchange.c -o CryptEccKeyExchange.o In file included from Tpm.h:73, from AsymmetricCommands.c:62: LibSupport.h:78:9: error: #error Unable to determine RADIX_BITS from compiler environment # error Unable to determine RADIX_BITS from compiler environment ^~~~~ In file included from Tpm.h:73, from ACT_spt.c:73: LibSupport.h:78:9: error: #error Unable to determine RADIX_BITS from compiler environment # error Unable to determine RADIX_BITS from compiler environment ^~~~~ In file included from Tpm.h:73, from AlgorithmTests.c:66: LibSupport.h:78:9: error: #error Unable to determine RADIX_BITS from compiler environment # error Unable to determine RADIX_BITS from compiler environment ^~~~~ In file included from Tpm.h:73, from Bits.c:69: LibSupport.h:78:9: error: #error Unable to determine RADIX_BITS from compiler environment # error Unable to determine RADIX_BITS from compiler environment ^~~~~ In file included from Tpm.h:73, from ACTCommands.c:62: LibSupport.h:78:9: error: #error Unable to determine RADIX_BITS from compiler environment # error Unable to determine RADIX_BITS from compiler environment ^~~~~ /tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO CryptEccMain.c -o CryptEccMain.o /tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO CryptEccSignature.c -o CryptEccSignature.o In file included from Tpm.h:73, from AttestationCommands.c:62: LibSupport.h:78:9: error: #error Unable to determine RADIX_BITS from compiler environment # error Unable to determine RADIX_BITS from compiler environment ^~~~~ /tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO CryptHash.c -o CryptHash.o In file included from Tpm.h:73, from Attest_spt.c:62: LibSupport.h:78:9: error: #error Unable to determine RADIX_BITS from compiler environment # error Unable to determine RADIX_BITS from compiler environment ^~~~~ /tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO CryptPrime.c -o CryptPrime.o In file included from Tpm.h:73, from BnMath.c:85: LibSupport.h:78:9: error: #error Unable to determine RADIX_BITS from compiler environment # error Unable to determine RADIX_BITS from compiler environment ^~~~~ In file included from Tpm.h:73, from AuditCommands.c:62: LibSupport.h:78:9: error: #error Unable to determine RADIX_BITS from compiler environment # error Unable to determine RADIX_BITS from compiler environment ^~~~~ In file included from Tpm.h:73, from BnMemory.c:66: LibSupport.h:78:9: error: #error Unable to determine RADIX_BITS from compiler environment # error Unable to determine RADIX_BITS from compiler environment ^~~~~ /tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-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 CryptPrimeSieve.c -o CryptPrimeSieve.o /tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-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 CryptRand.c -o CryptRand.o /tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-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 CryptRsa.c -o CryptRsa.o In file included from Tpm.h:73, from CapabilityCommands.c:62: LibSupport.h:78:9: error: #error Unable to determine RADIX_BITS from compiler environment # error Unable to determine RADIX_BITS from compiler environment ^~~~~ In file included from Tpm.h:73, from BnConvert.c:67: LibSupport.h:78:9: error: #error Unable to determine RADIX_BITS from compiler environment # error Unable to determine RADIX_BITS from compiler environment ^~~~~ In file included from Tpm.h:73, from CommandCodeAttributes.c:66: LibSupport.h:78:9: error: #error Unable to determine RADIX_BITS from compiler environment # error Unable to determine RADIX_BITS from compiler environment ^~~~~ In file included from Tpm.h:73, from CommandAudit.c:66: LibSupport.h:78:9: error: #error Unable to determine RADIX_BITS from compiler environment # error Unable to determine RADIX_BITS from compiler environment ^~~~~ In file included from Tpm.h:73, from Context_spt.c:63: LibSupport.h:78:9: error: #error Unable to determine RADIX_BITS from compiler environment # error Unable to determine RADIX_BITS from compiler environment ^~~~~ In file included from Tpm.h:73, from ClockCommands.c:62: LibSupport.h:78:9: error: #error Unable to determine RADIX_BITS from compiler environment # error Unable to determine RADIX_BITS from compiler environment ^~~~~ In file included from Tpm.h:73, from ContextCommands.c:62: LibSupport.h:78:9: error: #error Unable to determine RADIX_BITS from compiler environment # error Unable to determine RADIX_BITS from compiler environment ^~~~~ In file included from Tpm.h:73, from CryptDes.c:66: LibSupport.h:78:9: error: #error Unable to determine RADIX_BITS from compiler environment # error Unable to determine RADIX_BITS from compiler environment ^~~~~ In file included from Tpm.h:73, from CommandDispatcher.c:78: LibSupport.h:78:9: error: #error Unable to determine RADIX_BITS from compiler environment # error Unable to determine RADIX_BITS from compiler environment ^~~~~ In file included from Tpm.h:73, from CryptEccData.c:63: LibSupport.h:78:9: error: #error Unable to determine RADIX_BITS from compiler environment # error Unable to determine RADIX_BITS from compiler environment ^~~~~ In file included from Tpm.h:73, from CryptCmac.c:69: LibSupport.h:78:9: error: #error Unable to determine RADIX_BITS from compiler environment # error Unable to determine RADIX_BITS from compiler environment ^~~~~ In file included from Tpm.h:73, from CryptEccSignature.c:64: LibSupport.h:78:9: error: #error Unable to determine RADIX_BITS from compiler environment # error Unable to determine RADIX_BITS from compiler environment ^~~~~ In file included from Tpm.h:73, from CryptEccMain.c:64: LibSupport.h:78:9: error: #error Unable to determine RADIX_BITS from compiler environment # error Unable to determine RADIX_BITS from compiler environment ^~~~~ In file included from Tpm.h:73, from CryptHash.c:67: LibSupport.h:78:9: error: #error Unable to determine RADIX_BITS from compiler environment # error Unable to determine RADIX_BITS from compiler environment ^~~~~ In file included from Tpm.h:73, from CryptEccKeyExchange.c:63: LibSupport.h:78:9: error: #error Unable to determine RADIX_BITS from compiler environment # error Unable to determine RADIX_BITS from compiler environment ^~~~~ In file included from Tpm.h:73, from CryptPrimeSieve.c:64: LibSupport.h:78:9: error: #error Unable to determine RADIX_BITS from compiler environment # error Unable to determine RADIX_BITS from compiler environment ^~~~~ /tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-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 CryptSelfTest.c -o CryptSelfTest.o In file included from Tpm.h:73, from CryptRand.c:62: LibSupport.h:78:9: error: #error Unable to determine RADIX_BITS from compiler environment # error Unable to determine RADIX_BITS from compiler environment ^~~~~ In file included from Tpm.h:73, from CryptRsa.c:69: LibSupport.h:78:9: error: #error Unable to determine RADIX_BITS from compiler environment # error Unable to determine RADIX_BITS from compiler environment ^~~~~ In file included from Tpm.h:73, from CryptPrime.c:66: LibSupport.h:78:9: error: #error Unable to determine RADIX_BITS from compiler environment # error Unable to determine RADIX_BITS from compiler environment ^~~~~ /tmp/instance-2/output-1/host/bin/powerpc-buildroot-linux-uclibc-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 CryptSmac.c -o CryptSmac.o In file included from Tpm.h:73, from CryptSelfTest.c:73: LibSupport.h:78:9: error: #error Unable to determine RADIX_BITS from compiler environment # error Unable to determine RADIX_BITS from compiler environment ^~~~~ In file included from Tpm.h:73, from CryptSmac.c:69: LibSupport.h:78:9: error: #error Unable to determine RADIX_BITS from compiler environment # error Unable to determine RADIX_BITS from compiler environment ^~~~~ In file included from Global.h:80, from Tpm.h:78, from AlgorithmTests.c:66: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ In file included from Global.h:80, from Tpm.h:78, from ACT_spt.c:73: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ In file included from Global.h:80, from Tpm.h:78, from Bits.c:69: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from AsymmetricCommands.c:62: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ In file included from Global.h:80, from Tpm.h:78, from ACTCommands.c:62: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from AttestationCommands.c:62: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from Attest_spt.c:62: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from BnMath.c:85: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from AuditCommands.c:62: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from BnMemory.c:66: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CapabilityCommands.c:62: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from BnConvert.c:67: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ In file included from Global.h:80, from Tpm.h:78, from CommandCodeAttributes.c:66: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CommandAudit.c:66: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:87:61: error: 'RADIX_BITS' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:87:61: error: 'RADIX_BITS' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:87:61: error: 'RADIX_BITS' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:87:61: error: 'RADIX_BITS' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:87:61: error: 'RADIX_BITS' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from Context_spt.c:63: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:87:61: error: 'RADIX_BITS' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:87:61: error: 'RADIX_BITS' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from ContextCommands.c:62: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ In file included from Global.h:80, from Tpm.h:78, from AlgorithmCap.c:67: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:87:61: error: 'RADIX_BITS' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptDes.c:66: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:87:61: error: 'RADIX_BITS' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from ClockCommands.c:62: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CommandDispatcher.c:78: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:87:61: error: 'RADIX_BITS' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptEccSignature.c:64: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptHash.c:67: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptEccData.c:63: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:87:61: error: 'RADIX_BITS' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:87:61: error: 'RADIX_BITS' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptCmac.c:69: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from Bits.c:69: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from AlgorithmTests.c:66: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:87:61: error: 'RADIX_BITS' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from ACT_spt.c:73: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from AsymmetricCommands.c:62: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ BnValues.h:87:61: error: 'RADIX_BITS' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from Global.h:83, from Tpm.h:78, from Bits.c:69: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from ACTCommands.c:62: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptEccKeyExchange.c:63: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ In file included from Global.h:83, from Tpm.h:78, from AlgorithmTests.c:66: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from AttestationCommands.c:62: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ In file included from Global.h:83, from Tpm.h:78, from ACT_spt.c:73: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ In file included from Global.h:83, from Tpm.h:78, from AsymmetricCommands.c:62: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ In file included from Global.h:83, from Tpm.h:78, from ACTCommands.c:62: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from Attest_spt.c:62: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ In file included from Global.h:83, from Tpm.h:78, from AttestationCommands.c:62: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from BnMath.c:85: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ In file included from Global.h:83, from Tpm.h:78, from Attest_spt.c:62: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:87:61: error: 'RADIX_BITS' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from Global.h:83, from Tpm.h:78, from BnMath.c:85: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from AuditCommands.c:62: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ BnValues.h:87:61: error: 'RADIX_BITS' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:87:61: error: 'RADIX_BITS' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptPrimeSieve.c:64: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from BnMemory.c:66: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from Global.h:83, from Tpm.h:78, from AuditCommands.c:62: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptRand.c:62: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:87:61: error: 'RADIX_BITS' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:87:61: error: 'RADIX_BITS' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:87:61: error: 'RADIX_BITS' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from Global.h:83, from Tpm.h:78, from BnMemory.c:66: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from Bits.c:69: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from BnConvert.c:67: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from CapabilityCommands.c:62: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from Global.h:83, from Tpm.h:78, from BnConvert.c:67: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from CommandCodeAttributes.c:66: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from Global.h:83, from Tpm.h:78, from CapabilityCommands.c:62: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ In file included from Global.h:80, from Tpm.h:78, from AttestationCommands.c:62: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from AlgorithmTests.c:66: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from AsymmetricCommands.c:62: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from ACTCommands.c:62: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from CommandAudit.c:66: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ In file included from Global.h:83, from Tpm.h:78, from CommandCodeAttributes.c:66: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ BnValues.h:87:61: error: 'RADIX_BITS' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:87:61: error: 'RADIX_BITS' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ BnValues.h:87:61: error: 'RADIX_BITS' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ In file included from Global.h:80, from Tpm.h:78, from ACT_spt.c:73: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from BnMath.c:85: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ In file included from Global.h:83, from Tpm.h:78, from CommandAudit.c:66: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptRsa.c:69: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ BnValues.h:87:61: error: 'RADIX_BITS' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptEccMain.c:64: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ In file included from Global.h:80, from Tpm.h:78, from Attest_spt.c:62: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ BnValues.h:87:61: error: 'RADIX_BITS' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from Context_spt.c:63: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from AuditCommands.c:62: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from BnMemory.c:66: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ In file included from Global.h:83, from Tpm.h:78, from Context_spt.c:63: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from ContextCommands.c:62: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from AlgorithmCap.c:67: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from CommandDispatcher.c:78: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from ClockCommands.c:62: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ In file included from Global.h:83, from Tpm.h:78, from AlgorithmCap.c:67: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ In file included from Global.h:83, from Tpm.h:78, from ContextCommands.c:62: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from CryptDes.c:66: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from Global.h:83, from Tpm.h:78, from CommandDispatcher.c:78: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from Global.h:83, from Tpm.h:78, from ClockCommands.c:62: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ In file included from Global.h:80, from Tpm.h:78, from CapabilityCommands.c:62: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from BnConvert.c:67: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ In file included from Global.h:83, from Tpm.h:78, from CryptDes.c:66: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ BnValues.h:87:61: error: 'RADIX_BITS' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ BnValues.h:87:61: error: 'RADIX_BITS' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ In file included from Global.h:80, from Tpm.h:78, from CommandCodeAttributes.c:66: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from CryptEccSignature.c:64: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from CryptHash.c:67: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from CryptEccData.c:63: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ In file included from Global.h:83, from Tpm.h:78, from CryptEccSignature.c:64: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ In file included from Global.h:80, from Tpm.h:78, from CommandAudit.c:66: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ In file included from Global.h:83, from Tpm.h:78, from CryptHash.c:67: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ In file included from Global.h:83, from Tpm.h:78, from CryptEccData.c:63: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from CryptCmac.c:69: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ BnValues.h:87:61: error: 'RADIX_BITS' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from Global.h:83, from Tpm.h:78, from CryptCmac.c:69: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ In file included from Global.h:80, from Tpm.h:78, from AlgorithmCap.c:67: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:87:61: error: 'RADIX_BITS' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from ContextCommands.c:62: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from Context_spt.c:63: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from CryptEccKeyExchange.c:63: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ In file included from Global.h:83, from Tpm.h:78, from CryptEccKeyExchange.c:63: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ In file included from Global.h:80, from Tpm.h:78, from ClockCommands.c:62: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptDes.c:66: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CommandDispatcher.c:78: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from CryptRand.c:62: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ In file included from Global.h:83, from Tpm.h:78, from CryptRand.c:62: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from CryptPrimeSieve.c:64: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptHash.c:67: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptEccSignature.c:64: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptEccData.c:63: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ In file included from Global.h:83, from Tpm.h:78, from CryptPrimeSieve.c:64: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptSelfTest.c:73: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptCmac.c:69: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from CryptRsa.c:69: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptEccKeyExchange.c:63: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ In file included from Global.h:83, from Tpm.h:78, from CryptRsa.c:69: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptRand.c:62: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptPrime.c:66: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from CryptEccMain.c:64: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptPrimeSieve.c:64: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ In file included from Global.h:83, from Tpm.h:78, from CryptEccMain.c:64: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ BnValues.h:87:61: error: 'RADIX_BITS' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptRsa.c:69: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ BnValues.h:87:61: error: 'RADIX_BITS' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from CryptSelfTest.c:73: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ In file included from Global.h:83, from Tpm.h:78, from CryptSelfTest.c:73: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptEccMain.c:64: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from CryptPrime.c:66: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ In file included from Global.h:83, from Tpm.h:78, from CryptPrime.c:66: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptSelfTest.c:73: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptSmac.c:69: BnValues.h:82:3: error: #error "Unsupported radix" # error "Unsupported radix" ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:120:9: note: in expansion of macro 'BN_STRUCT_DEF' typedef BN_STRUCT_DEF(1) bignum_t; ^~~~~~~~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptPrime.c:66: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from Bits.c:69: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from AttestationCommands.c:62: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from BnMath.c:85: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from AsymmetricCommands.c:62: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from AlgorithmTests.c:66: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from ACTCommands.c:62: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from ACT_spt.c:73: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from Attest_spt.c:62: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnValues.h:87:61: error: 'RADIX_BITS' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from AuditCommands.c:62: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from BnMemory.c:66: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from BnConvert.c:67: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from CapabilityCommands.c:62: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnValues.h:85:37: error: 'RADIX_LOG2' undeclared here (not in a function); did you mean 'RADIX_MOD'? #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^~~~~~~~~~ BnValues.h:118:24: note: in definition of macro 'BN_STRUCT_DEF' crypt_uword_t d[count]; \ ^~~~~ BnValues.h:87:41: note: in expansion of macro 'RADIX_DIV' #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) ^~~~~~~~~ BnValues.h:154:37: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1) ^~~~~~~~~~~~~~~~~~~ BnValues.h:157:19: note: in expansion of macro 'BN_STRUCT_ALLOCATION' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ BnValues.h:203:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(ecc, ECC_BITS); ^~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnValues.h:275:9: error: #error "RADIX_BITS must either be 32 or 64" # error "RADIX_BITS must either be 32 or 64" ^~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from CommandCodeAttributes.c:66: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from CommandAudit.c:66: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from BnValues.h:281, from Global.h:80, from Tpm.h:78, from CryptSmac.c:69: TpmToOsslMath.h:99:5: error: #error Ossl library is using different radix # error Ossl library is using different radix ^~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from ContextCommands.c:62: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from AlgorithmCap.c:67: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from ClockCommands.c:62: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from Context_spt.c:63: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from Global.h:83, from Tpm.h:78, from CryptSmac.c:69: CryptRand.h:83:30: error: division by zero in #if #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ ^ CryptRand.h:85:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" #error "Key size and IV for DRBG must be even multiples of the radix" ^~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from CryptDes.c:66: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from CryptEccData.c:63: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from CryptHash.c:67: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from CryptEccSignature.c:64: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from CommandDispatcher.c:78: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ CryptRand.h:96:56: error: 'RADIX_BYTES' undeclared here (not in a function); did you mean 'RADIX_DIV'? #define DRBG_KEY_SIZE_BYTES (DRBG_KEY_SIZE_WORDS * RADIX_BYTES) ^~~~~~~~~~~ CryptRand.h:103:27: note: in expansion of macro 'DRBG_KEY_SIZE_BYTES' BYTE bytes[DRBG_KEY_SIZE_BYTES]; ^~~~~~~~~~~~~~~~~~~ CryptRand.h:104:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_KEY_SIZE_WORDS]; ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ CryptRand.h:109:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_IV_SIZE_WORDS]; ^~~~~~~~~~~~~ CryptRand.h:114:5: error: unknown type name 'crypt_uword_t' crypt_uword_t words[DRBG_SEED_SIZE_WORDS]; ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptSmac.c:69: BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:77:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(rsa, RSA_BITS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:160:13: note: in expansion of macro 'BN_STRUCT' typedef BN_STRUCT(bits) bn_##name##_t ^~~~~~~~~ CryptRsa.h:82:1: note: in expansion of macro 'BN_TYPE' BN_TYPE(prime, (RSA_BITS / 2)); ^~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from CryptCmac.c:69: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from CryptRand.c:62: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from CryptEccKeyExchange.c:63: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from CryptPrimeSieve.c:64: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from CryptRsa.c:69: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from CryptSelfTest.c:73: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from CryptPrime.c:66: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from Bits.c:69: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from AttestationCommands.c:62: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from CryptEccMain.c:64: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from BnConvert.c:67: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from AsymmetricCommands.c:62: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from BnMath.c:85: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from AlgorithmTests.c:66: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from BnMemory.c:66: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from ACTCommands.c:62: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from ACT_spt.c:73: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from Attest_spt.c:62: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from AuditCommands.c:62: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from CapabilityCommands.c:62: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ In file included from InternalRoutines.h:112, from Tpm.h:79, from CryptSmac.c:69: BnMath_fp.h:75:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from CommandAudit.c:66: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from CommandCodeAttributes.c:66: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from ClockCommands.c:62: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from ContextCommands.c:62: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from Context_spt.c:63: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from AlgorithmCap.c:67: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from CryptDes.c:66: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from CryptEccData.c:63: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from CryptEccSignature.c:64: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from CryptHash.c:67: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from CryptCmac.c:69: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from CryptEccKeyExchange.c:63: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from CommandDispatcher.c:78: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from CryptRand.c:62: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMath_fp.h:87:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from CryptPrimeSieve.c:64: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from CryptRsa.c:69: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ make[1]: *** [makefile:88: Bits.o] Error 1 make[1]: *** Waiting for unfinished jobs.... BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ make[1]: *** [makefile:88: ACTCommands.o] Error 1 BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ make[1]: *** [makefile:88: AsymmetricCommands.o] Error 1 BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ make[1]: *** [makefile:88: Attest_spt.o] Error 1 BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnConvert.c: In function 'BnFromBytes': BnConvert.c:82:5: error: unknown type name 'crypt_uword_t' crypt_uword_t size; ^~~~~~~~~~~~~ In file included from Tpm.h:77, from BnConvert.c:67: BnConvert.c:89:32: error: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Werror=sign-compare] pAssert(BnGetAllocated(bn) >= size); ^~ GpMacros.h:125:29: note: in definition of macro 'pAssert' # define pAssert(a) {if(!(a)) FAIL(FATAL_ERROR_PARAMETER);} ^ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnMath.c:100:2: error: unknown type name 'crypt_uword_t' crypt_uword_t *result, ^~~~~~~~~~~~~ BnMath.c:101:8: error: unknown type name 'crypt_uword_t' const crypt_uword_t *op1, ^~~~~~~~~~~~~ BnMath.c:102:8: error: unknown type name 'crypt_uword_t' const crypt_uword_t *op2, ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnMemory.c:75:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ make[1]: *** [makefile:88: ACT_spt.o] Error 1 make[1]: *** [makefile:88: AttestationCommands.o] Error 1 make[1]: *** [makefile:88: AuditCommands.o] Error 1 BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnConvert.c:111:5: error: implicit declaration of function 'BnSetTop'; did you mean 'BnSetBit'? [-Werror=implicit-function-declaration] BnSetTop(bn, size); ^~~~~~~~ BnSetBit BnConvert.c:111:5: error: nested extern declaration of 'BnSetTop' [-Werror=nested-externs] BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnMath_fp.h:99:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from CryptSelfTest.c:73: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ CryptEccData.c:101:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \ ^~~~~~~~~~~~~ CryptEccData.c:103:2: note: in expansion of macro 'ECC_CONST' ECC_CONST(ECC_ZERO, 0, 0); ^~~~~~~~~ CryptEccData.c:101:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \ ^~~~~~~~~~~~~ CryptEccData.c:111:1: note: in expansion of macro 'ECC_CONST' ECC_CONST(ECC_ONE, 1, 1); ^~~~~~~~~ CryptEccData.c:101:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \ ^~~~~~~~~~~~~ CryptEccData.c:218:1: note: in expansion of macro 'ECC_CONST' ECC_CONST(NIST_P256_p, 32, TO_ECC_256( ^~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnConvert.c: In function 'BnFromHex': BnConvert.c:149:2: error: implicit declaration of function 'BnSetWord'; did you mean 'BnGetWord'? [-Werror=implicit-function-declaration] BnSetWord(bn, 0); ^~~~~~~~~ BnGetWord BnConvert.c:149:2: error: nested extern declaration of 'BnSetWord' [-Werror=nested-externs] BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ make[1]: *** [makefile:88: CapabilityCommands.o] Error 1 make[1]: *** [makefile:88: ClockCommands.o] Error 1 BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ make[1]: *** [makefile:88: CryptDes.o] Error 1 In file included from InternalRoutines.h:113, from Tpm.h:79, from CryptPrime.c:66: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnMath.c:126:4: error: unknown type name 'crypt_uword_t' crypt_uword_t *result, ^~~~~~~~~~~~~ BnMath.c:127:10: error: unknown type name 'crypt_uword_t' const crypt_uword_t *op, ^~~~~~~~~~~~~ CryptEccSignature.c: In function 'EcdsaDigest': In file included from Tpm.h:77, from BnMath.c:85: BnMath.c: In function 'CarryResolve': CryptEccSignature.c:83:2: error: implicit declaration of function 'BnSetWord'; did you mean 'BnGetWord'? [-Werror=implicit-function-declaration] BnSetWord(bnD, 0); ^~~~~~~~~ BnGetWord CryptEccSignature.c:83:2: error: nested extern declaration of 'BnSetWord' [-Werror=nested-externs] BnMath.c:145:29: error: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Werror=sign-compare] pAssert((unsigned)stop < result->allocated); ^ GpMacros.h:125:29: note: in definition of macro 'pAssert' # define pAssert(a) {if(!(a)) FAIL(FATAL_ERROR_PARAMETER);} ^ BnMemory.c: In function 'BnClearTop': BnMath_fp.h:102:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnMemory.c:100:5: error: unknown type name 'crypt_uword_t' crypt_uword_t i; ^~~~~~~~~~~~~ make[1]: *** [makefile:88: CommandAudit.o] Error 1 make[1]: *** [makefile:88: AlgorithmCap.o] Error 1 BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ make[1]: *** [makefile:88: ContextCommands.o] Error 1 make[1]: *** [makefile:88: Context_spt.o] Error 1 BnMath.c:148:5: error: implicit declaration of function 'BnSetTop'; did you mean 'BnSetBit'? [-Werror=implicit-function-declaration] BnSetTop(result, stop); ^~~~~~~~ BnSetBit BnMath.c:148:5: error: nested extern declaration of 'BnSetTop' [-Werror=nested-externs] BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ make[1]: *** [makefile:88: AlgorithmTests.o] Error 1 BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptEccSignature.c:64: CryptEccSignature.c: In function 'BnSchnorrSign': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccSignature.c:115:5: note: in expansion of macro 'BN_VAR' BN_VAR(bnT1, MAX_ECC_PARAMETER_BYTES * 2 * 8); ^~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccSignature.c:115:5: note: in expansion of macro 'BN_VAR' BN_VAR(bnT1, MAX_ECC_PARAMETER_BYTES * 2 * 8); ^~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccSignature.c:115:5: note: in expansion of macro 'BN_VAR' BN_VAR(bnT1, MAX_ECC_PARAMETER_BYTES * 2 * 8); ^~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptEccKeyExchange.c:63: CryptEccKeyExchange.c: In function 'C_2_2_ECDH': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:183:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnAs, dsA); ^~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:183:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnAs, dsA); ^~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:183:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnAs, dsA); ^~~~~~~~~~~~~~~ make[1]: *** [makefile:88: CryptCmac.o] Error 1 In file included from Global.h:80, from Tpm.h:78, from CryptRsa.c:69: CryptRsa.c: In function 'RsaInitializeExponent': BnValues.h:147:13: error: implicit declaration of function 'BnInit'; did you mean 'DAInit'? [-Werror=implicit-function-declaration] (bigNum)BnInit((bigNum)&(name), \ ^~~~~~ CryptRsa.c:99:5: note: in expansion of macro 'BN_INIT' BN_INIT(pExp->Q); ^~~~~~~ BnValues.h:147:13: error: nested extern declaration of 'BnInit' [-Werror=nested-externs] (bigNum)BnInit((bigNum)&(name), \ ^~~~~~ CryptRsa.c:99:5: note: in expansion of macro 'BN_INIT' BN_INIT(pExp->Q); ^~~~~~~ CryptRsa.c: In function 'ComputePrivateExponent': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:81:28: note: in expansion of macro 'BN_VAR' #define BN_PRIME(name) BN_VAR(name, (RSA_BITS / 2)) ^~~~~~ CryptRsa.c:134:5: note: in expansion of macro 'BN_PRIME' BN_PRIME(temp); ^~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:81:28: note: in expansion of macro 'BN_VAR' #define BN_PRIME(name) BN_VAR(name, (RSA_BITS / 2)) ^~~~~~ CryptRsa.c:134:5: note: in expansion of macro 'BN_PRIME' BN_PRIME(temp); ^~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:81:28: note: in expansion of macro 'BN_VAR' #define BN_PRIME(name) BN_VAR(name, (RSA_BITS / 2)) ^~~~~~ CryptRsa.c:134:5: note: in expansion of macro 'BN_PRIME' BN_PRIME(temp); ^~~~~~~~ BnValues.h:147:13: error: implicit declaration of function 'BnInit'; did you mean 'DAInit'? [-Werror=implicit-function-declaration] (bigNum)BnInit((bigNum)&(name), \ ^~~~~~ BnValues.h:165:38: note: in expansion of macro 'BN_INIT' bigNum name = BnFrom2B(BN_INIT(name##_), \ ^~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:183:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnAs, dsA); ^~~~~~~~~~~~~~~ BnValues.h:147:13: error: nested extern declaration of 'BnInit' [-Werror=nested-externs] (bigNum)BnInit((bigNum)&(name), \ ^~~~~~ BnValues.h:165:38: note: in expansion of macro 'BN_INIT' bigNum name = BnFrom2B(BN_INIT(name##_), \ ^~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:183:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnAs, dsA); ^~~~~~~~~~~~~~~ BnValues.h:147:13: error: implicit declaration of function 'BnInit'; did you mean 'DAInit'? [-Werror=implicit-function-declaration] (bigNum)BnInit((bigNum)&(name), \ ^~~~~~ BnValues.h:170:29: note: in expansion of macro 'BN_INIT' bigNum name = BN_INIT(_##name) ^~~~~~~ CryptEccSignature.c:115:5: note: in expansion of macro 'BN_VAR' BN_VAR(bnT1, MAX_ECC_PARAMETER_BYTES * 2 * 8); ^~~~~~ BnValues.h:147:13: error: nested extern declaration of 'BnInit' [-Werror=nested-externs] (bigNum)BnInit((bigNum)&(name), \ ^~~~~~ BnValues.h:170:29: note: in expansion of macro 'BN_INIT' bigNum name = BN_INIT(_##name) ^~~~~~~ CryptEccSignature.c:115:5: note: in expansion of macro 'BN_VAR' BN_VAR(bnT1, MAX_ECC_PARAMETER_BYTES * 2 * 8); ^~~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnConvert.c:167:13: error: implicit declaration of function 'SWAP_CRYPT_WORD'; did you mean 'MAX_CRYPT_WORD'? [-Werror=implicit-function-declaration] bn->d[i] = SWAP_CRYPT_WORD(bn->d[i]); ^~~~~~~~~~~~~~~ MAX_CRYPT_WORD BnConvert.c:167:13: error: nested extern declaration of 'SWAP_CRYPT_WORD' [-Werror=nested-externs] CryptRsa.c:148:11: error: implicit declaration of function 'BnSubWord'; did you mean 'BnGetWord'? [-Werror=implicit-function-declaration] pOK = BnSubWord(temp, P, 1); ^~~~~~~~~ BnGetWord CryptRsa.c:148:11: error: nested extern declaration of 'BnSubWord' [-Werror=nested-externs] BnMath_fp.h:106:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMemory.c: At top level: BnMemory.c:117:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ make[1]: *** [makefile:88: CommandCodeAttributes.o] Error 1 BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:184:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnAe, deA); ^~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:184:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnAe, deA); ^~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:184:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnAe, deA); ^~~~~~~~~~~~~~~ CryptRsa.c:158:2: error: implicit declaration of function 'BnSetWord'; did you mean 'BnGetWord'? [-Werror=implicit-function-declaration] BnSetWord(P, 0); ^~~~~~~~~ BnGetWord CryptRsa.c:158:2: error: nested extern declaration of 'BnSetWord' [-Werror=nested-externs] In file included from Global.h:80, from Tpm.h:78, from CryptRsa.c:69: CryptRsa.c: In function 'RsaPrivateKeyOp': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:78:28: note: in expansion of macro 'BN_VAR' #define BN_RSA(name) BN_VAR(name, RSA_BITS) ^~~~~~ CryptRsa.c:182:5: note: in expansion of macro 'BN_RSA' BN_RSA(M1); ^~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:78:28: note: in expansion of macro 'BN_VAR' #define BN_RSA(name) BN_VAR(name, RSA_BITS) ^~~~~~ CryptRsa.c:182:5: note: in expansion of macro 'BN_RSA' BN_RSA(M1); ^~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:78:28: note: in expansion of macro 'BN_VAR' #define BN_RSA(name) BN_VAR(name, RSA_BITS) ^~~~~~ CryptRsa.c:182:5: note: in expansion of macro 'BN_RSA' BN_RSA(M1); ^~~~~~ make[1]: *** [makefile:88: CryptHash.o] Error 1 BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:78:28: note: in expansion of macro 'BN_VAR' #define BN_RSA(name) BN_VAR(name, RSA_BITS) ^~~~~~ CryptRsa.c:183:5: note: in expansion of macro 'BN_RSA' BN_RSA(M2); ^~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:78:28: note: in expansion of macro 'BN_VAR' #define BN_RSA(name) BN_VAR(name, RSA_BITS) ^~~~~~ CryptRsa.c:183:5: note: in expansion of macro 'BN_RSA' BN_RSA(M2); ^~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:78:28: note: in expansion of macro 'BN_VAR' #define BN_RSA(name) BN_VAR(name, RSA_BITS) ^~~~~~ CryptRsa.c:183:5: note: in expansion of macro 'BN_RSA' BN_RSA(M2); ^~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:78:28: note: in expansion of macro 'BN_VAR' #define BN_RSA(name) BN_VAR(name, RSA_BITS) ^~~~~~ CryptRsa.c:184:5: note: in expansion of macro 'BN_RSA' BN_RSA(M); ^~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:78:28: note: in expansion of macro 'BN_VAR' #define BN_RSA(name) BN_VAR(name, RSA_BITS) ^~~~~~ CryptRsa.c:184:5: note: in expansion of macro 'BN_RSA' BN_RSA(M); ^~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:78:28: note: in expansion of macro 'BN_VAR' #define BN_RSA(name) BN_VAR(name, RSA_BITS) ^~~~~~ CryptRsa.c:184:5: note: in expansion of macro 'BN_RSA' BN_RSA(M); ^~~~~~ CryptPrimeSieve.c: In function 'PrimeSieve': CryptPrimeSieve.c:275:22: error: implicit declaration of function 'BnModWord'; did you mean 'BnGetWord'? [-Werror=implicit-function-declaration] adjust = (UINT32)BnModWord(bnN, 105); ^~~~~~~~~ BnGetWord BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:78:28: note: in expansion of macro 'BN_VAR' #define BN_RSA(name) BN_VAR(name, RSA_BITS) ^~~~~~ CryptRsa.c:185:5: note: in expansion of macro 'BN_RSA' BN_RSA(H); ^~~~~~ CryptPrimeSieve.c:275:22: error: nested extern declaration of 'BnModWord' [-Werror=nested-externs] BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:78:28: note: in expansion of macro 'BN_VAR' #define BN_RSA(name) BN_VAR(name, RSA_BITS) ^~~~~~ CryptRsa.c:185:5: note: in expansion of macro 'BN_RSA' BN_RSA(H); ^~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:78:28: note: in expansion of macro 'BN_VAR' #define BN_RSA(name) BN_VAR(name, RSA_BITS) ^~~~~~ CryptRsa.c:185:5: note: in expansion of macro 'BN_RSA' BN_RSA(H); ^~~~~~ BnMath.c: In function 'BnAdd': CryptRsa.c: In function 'RSADP': CryptEccSignature.c: In function 'BnSignEcdsa': BnMath.c:159:5: error: unknown type name 'crypt_uword_t' crypt_uword_t stop; ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ CryptRsa.h:80:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, RSA_BITS, initializer) ^~~~~~~~~~~~~~ CryptRsa.c:255:5: note: in expansion of macro 'BN_RSA_INITIALIZED' BN_RSA_INITIALIZED(bnM, inOut); ^~~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ CryptRsa.h:80:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, RSA_BITS, initializer) ^~~~~~~~~~~~~~ CryptRsa.c:255:5: note: in expansion of macro 'BN_RSA_INITIALIZED' BN_RSA_INITIALIZED(bnM, inOut); ^~~~~~~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:145:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnK); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ CryptRsa.h:80:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, RSA_BITS, initializer) ^~~~~~~~~~~~~~ CryptRsa.c:255:5: note: in expansion of macro 'BN_RSA_INITIALIZED' BN_RSA_INITIALIZED(bnM, inOut); ^~~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:145:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnK); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:145:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnK); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ CryptRsa.h:80:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, RSA_BITS, initializer) ^~~~~~~~~~~~~~ CryptRsa.c:256:5: note: in expansion of macro 'BN_RSA_INITIALIZED' BN_RSA_INITIALIZED(bnN, &key->publicArea.unique.rsa); ^~~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ CryptRsa.h:80:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, RSA_BITS, initializer) ^~~~~~~~~~~~~~ CryptRsa.c:256:5: note: in expansion of macro 'BN_RSA_INITIALIZED' BN_RSA_INITIALIZED(bnN, &key->publicArea.unique.rsa); ^~~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ CryptRsa.h:80:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, RSA_BITS, initializer) ^~~~~~~~~~~~~~ CryptRsa.c:256:5: note: in expansion of macro 'BN_RSA_INITIALIZED' BN_RSA_INITIALIZED(bnN, &key->publicArea.unique.rsa); ^~~~~~~~~~~~~~~~~~ CryptEccData.c:71:49: error: implicit declaration of function 'TO_CRYPT_WORD_64'; did you mean 'MAX_CRYPT_WORD'? [-Werror=implicit-function-declaration] # define TO_ECC_64 TO_CRYPT_WORD_64 ^~~~~~~~~~~~~~~~ CryptEccData.c:102:65: note: in definition of macro 'ECC_CONST' } NAME = {BN_MIN_ALLOC(bytes), BYTES_TO_CRYPT_WORDS(bytes),{initializer}} ^~~~~~~~~~~ CryptEccData.c:218:28: note: in expansion of macro 'TO_ECC_256' ECC_CONST(NIST_P256_p, 32, TO_ECC_256( ^~~~~~~~~~ CryptEccData.c:222:11: note: in expansion of macro 'TO_ECC_64' TO_ECC_64(0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF))); ^~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ CryptRsa.h:80:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, RSA_BITS, initializer) ^~~~~~~~~~~~~~ CryptRsa.c:257:5: note: in expansion of macro 'BN_RSA_INITIALIZED' BN_RSA_INITIALIZED(bnP, &key->sensitive.sensitive.rsa); ^~~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ CryptRsa.h:80:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, RSA_BITS, initializer) ^~~~~~~~~~~~~~ CryptRsa.c:257:5: note: in expansion of macro 'BN_RSA_INITIALIZED' BN_RSA_INITIALIZED(bnP, &key->sensitive.sensitive.rsa); ^~~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ CryptRsa.h:80:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, RSA_BITS, initializer) ^~~~~~~~~~~~~~ CryptRsa.c:257:5: note: in expansion of macro 'BN_RSA_INITIALIZED' BN_RSA_INITIALIZED(bnP, &key->sensitive.sensitive.rsa); ^~~~~~~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ CryptEccData.c:101:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \ ^~~~~~~~~~~~~ CryptEccData.c:223:1: note: in expansion of macro 'ECC_CONST' ECC_CONST(NIST_P256_a, 32, TO_ECC_256( ^~~~~~~~~ CryptEccData.c:101:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \ ^~~~~~~~~~~~~ CryptEccData.c:228:1: note: in expansion of macro 'ECC_CONST' ECC_CONST(NIST_P256_b, 32, TO_ECC_256( ^~~~~~~~~ CryptEccData.c:101:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \ ^~~~~~~~~~~~~ CryptEccData.c:233:1: note: in expansion of macro 'ECC_CONST' ECC_CONST(NIST_P256_gX, 32, TO_ECC_256( ^~~~~~~~~ CryptEccData.c:101:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \ ^~~~~~~~~~~~~ CryptEccData.c:238:1: note: in expansion of macro 'ECC_CONST' ECC_CONST(NIST_P256_gY, 32, TO_ECC_256( ^~~~~~~~~ CryptEccData.c:101:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \ ^~~~~~~~~~~~~ CryptEccData.c:243:1: note: in expansion of macro 'ECC_CONST' ECC_CONST(NIST_P256_n, 32, TO_ECC_256( ^~~~~~~~~ CryptEccData.c:101:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \ ^~~~~~~~~~~~~ CryptEccData.c:263:1: note: in expansion of macro 'ECC_CONST' ECC_CONST(NIST_P384_p, 48, TO_ECC_384( ^~~~~~~~~ CryptEccData.c:101:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \ ^~~~~~~~~~~~~ CryptEccData.c:270:1: note: in expansion of macro 'ECC_CONST' ECC_CONST(NIST_P384_a, 48, TO_ECC_384( ^~~~~~~~~ CryptEccData.c:101:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \ ^~~~~~~~~~~~~ CryptEccData.c:277:1: note: in expansion of macro 'ECC_CONST' ECC_CONST(NIST_P384_b, 48, TO_ECC_384( ^~~~~~~~~ CryptEccData.c:101:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \ ^~~~~~~~~~~~~ CryptEccData.c:284:1: note: in expansion of macro 'ECC_CONST' ECC_CONST(NIST_P384_gX, 48, TO_ECC_384( ^~~~~~~~~ CryptEccData.c:101:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \ ^~~~~~~~~~~~~ CryptEccData.c:291:1: note: in expansion of macro 'ECC_CONST' ECC_CONST(NIST_P384_gY, 48, TO_ECC_384( ^~~~~~~~~ CryptEccData.c:101:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \ ^~~~~~~~~~~~~ CryptEccData.c:298:1: note: in expansion of macro 'ECC_CONST' ECC_CONST(NIST_P384_n, 48, TO_ECC_384( ^~~~~~~~~ CryptPrimeSieve.c:280:5: error: implicit declaration of function 'BnSubWord'; did you mean 'BnGetWord'? [-Werror=implicit-function-declaration] BnSubWord(bnN, bnN, adjust); ^~~~~~~~~ BnGetWord CryptPrimeSieve.c:280:5: error: nested extern declaration of 'BnSubWord' [-Werror=nested-externs] BnMath.c:171:18: error: implicit declaration of function 'AddSame' [-Werror=implicit-function-declaration] carry = (int)AddSame(result->d, n1->d, n2->d, (int)stop); ^~~~~~~ BnMath.c:171:18: error: nested extern declaration of 'AddSame' [-Werror=nested-externs] CryptEccData.c:101:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \ ^~~~~~~~~~~~~ CryptEccData.c:395:1: note: in expansion of macro 'ECC_CONST' ECC_CONST(BN_P256_p, 32, TO_ECC_256( ^~~~~~~~~ CryptEccData.c:101:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \ ^~~~~~~~~~~~~ CryptEccData.c:401:1: note: in expansion of macro 'ECC_CONST' ECC_CONST(BN_P256_b, 1, TO_ECC_8(3)); ^~~~~~~~~ CryptEccData.c:101:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \ ^~~~~~~~~~~~~ CryptEccData.c:403:1: note: in expansion of macro 'ECC_CONST' ECC_CONST(BN_P256_gY, 1, TO_ECC_8(2)); ^~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ CryptEccData.c:101:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \ ^~~~~~~~~~~~~ CryptEccData.c:404:1: note: in expansion of macro 'ECC_CONST' ECC_CONST(BN_P256_n, 32, TO_ECC_256( ^~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:185:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecBs, QsB); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:185:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecBs, QsB); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:185:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecBs, QsB); ^~~~~~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptPrimeSieve.c:64: CryptPrimeSieve.c: In function 'PrimeSelectWithSieve': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:81:28: note: in expansion of macro 'BN_VAR' #define BN_PRIME(name) BN_VAR(name, (RSA_BITS / 2)) ^~~~~~ CryptPrimeSieve.c:409:5: note: in expansion of macro 'BN_PRIME' BN_PRIME(test); ^~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:81:28: note: in expansion of macro 'BN_VAR' #define BN_PRIME(name) BN_VAR(name, (RSA_BITS / 2)) ^~~~~~ CryptPrimeSieve.c:409:5: note: in expansion of macro 'BN_PRIME' BN_PRIME(test); ^~~~~~~~ CryptRand.c: In function 'DfCompute': BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:81:28: note: in expansion of macro 'BN_VAR' #define BN_PRIME(name) BN_VAR(name, (RSA_BITS / 2)) ^~~~~~ CryptPrimeSieve.c:409:5: note: in expansion of macro 'BN_PRIME' BN_PRIME(test); ^~~~~~~~ CryptRand.c:96:5: error: unknown type name 'crypt_uword_t' crypt_uword_t *pIv; ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:146:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnIk); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:146:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnIk); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:146:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnIk); ^~~~~~~ cc1: all warnings being treated as errors BnValues.h:147:13: error: implicit declaration of function 'BnInit'; did you mean 'DAInit'? [-Werror=implicit-function-declaration] (bigNum)BnInit((bigNum)&(name), \ ^~~~~~ BnValues.h:170:29: note: in expansion of macro 'BN_INIT' bigNum name = BN_INIT(_##name) ^~~~~~~ CryptRsa.h:81:28: note: in expansion of macro 'BN_VAR' #define BN_PRIME(name) BN_VAR(name, (RSA_BITS / 2)) ^~~~~~ CryptPrimeSieve.c:409:5: note: in expansion of macro 'BN_PRIME' BN_PRIME(test); ^~~~~~~~ BnValues.h:147:13: error: nested extern declaration of 'BnInit' [-Werror=nested-externs] (bigNum)BnInit((bigNum)&(name), \ ^~~~~~ BnValues.h:170:29: note: in expansion of macro 'BN_INIT' bigNum name = BN_INIT(_##name) ^~~~~~~ CryptRsa.h:81:28: note: in expansion of macro 'BN_VAR' #define BN_PRIME(name) BN_VAR(name, (RSA_BITS / 2)) ^~~~~~ CryptPrimeSieve.c:409:5: note: in expansion of macro 'BN_PRIME' BN_PRIME(test); ^~~~~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnConvert.c: In function 'BnToBytes': BnConvert.c:189:5: error: unknown type name 'crypt_uword_t' crypt_uword_t requiredSize; ^~~~~~~~~~~~~ BnMath_fp.h:119:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnMemory.c:118:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMath.c:173:10: error: implicit declaration of function 'CarryProp'; did you mean 'CarryResolve'? [-Werror=implicit-function-declaration] carry = CarryProp(&result->d[stop], &n1->d[stop], (int)(n1->size - stop), carry); ^~~~~~~~~ CarryResolve BnMath.c:173:10: error: nested extern declaration of 'CarryProp' [-Werror=nested-externs] BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:185:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecBs, QsB); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:185:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecBs, QsB); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:185:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecBs, QsB); ^~~~~~~~~~~~~~~~~ CryptRsa.c: In function 'CryptRsaLoadPrivateExponent': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ CryptRsa.h:80:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, RSA_BITS, initializer) ^~~~~~~~~~~~~~ CryptRsa.c:865:5: note: in expansion of macro 'BN_RSA_INITIALIZED' BN_RSA_INITIALIZED(bnN, &rsaKey->publicArea.unique.rsa); ^~~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ CryptRsa.h:80:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, RSA_BITS, initializer) ^~~~~~~~~~~~~~ CryptRsa.c:865:5: note: in expansion of macro 'BN_RSA_INITIALIZED' BN_RSA_INITIALIZED(bnN, &rsaKey->publicArea.unique.rsa); ^~~~~~~~~~~~~~~~~~ make[1]: *** [makefile:88: CryptEccData.o] Error 1 BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ CryptRsa.h:80:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, RSA_BITS, initializer) ^~~~~~~~~~~~~~ CryptRsa.c:865:5: note: in expansion of macro 'BN_RSA_INITIALIZED' BN_RSA_INITIALIZED(bnN, &rsaKey->publicArea.unique.rsa); ^~~~~~~~~~~~~~~~~~ CryptPrimeSieve.c:453:6: error: implicit declaration of function 'BnAddWord'; did you mean 'BnGetWord'? [-Werror=implicit-function-declaration] BnAddWord(test, candidate, (crypt_uword_t)(chosen * 2)); ^~~~~~~~~ BnGetWord CryptPrimeSieve.c:453:6: error: nested extern declaration of 'BnAddWord' [-Werror=nested-externs] BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ CryptRsa.h:84:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, RSA_BITS / 2, initializer) ^~~~~~~~~~~~~~ CryptRsa.c:866:5: note: in expansion of macro 'BN_PRIME_INITIALIZED' BN_PRIME_INITIALIZED(bnP, &rsaKey->sensitive.sensitive.rsa); ^~~~~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ CryptRsa.h:84:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, RSA_BITS / 2, initializer) ^~~~~~~~~~~~~~ CryptRsa.c:866:5: note: in expansion of macro 'BN_PRIME_INITIALIZED' BN_PRIME_INITIALIZED(bnP, &rsaKey->sensitive.sensitive.rsa); ^~~~~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ CryptRsa.h:84:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, RSA_BITS / 2, initializer) ^~~~~~~~~~~~~~ CryptRsa.c:866:5: note: in expansion of macro 'BN_PRIME_INITIALIZED' BN_PRIME_INITIALIZED(bnP, &rsaKey->sensitive.sensitive.rsa); ^~~~~~~~~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:78:28: note: in expansion of macro 'BN_VAR' #define BN_RSA(name) BN_VAR(name, RSA_BITS) ^~~~~~ CryptRsa.c:867:5: note: in expansion of macro 'BN_RSA' BN_RSA(bnQ); ^~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:78:28: note: in expansion of macro 'BN_VAR' #define BN_RSA(name) BN_VAR(name, RSA_BITS) ^~~~~~ CryptRsa.c:867:5: note: in expansion of macro 'BN_RSA' BN_RSA(bnQ); ^~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:78:28: note: in expansion of macro 'BN_VAR' #define BN_RSA(name) BN_VAR(name, RSA_BITS) ^~~~~~ CryptRsa.c:867:5: note: in expansion of macro 'BN_RSA' BN_RSA(bnQ); ^~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:81:28: note: in expansion of macro 'BN_VAR' #define BN_PRIME(name) BN_VAR(name, (RSA_BITS / 2)) ^~~~~~ CryptRsa.c:868:5: note: in expansion of macro 'BN_PRIME' BN_PRIME(bnQr); ^~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:81:28: note: in expansion of macro 'BN_VAR' #define BN_PRIME(name) BN_VAR(name, (RSA_BITS / 2)) ^~~~~~ CryptRsa.c:868:5: note: in expansion of macro 'BN_PRIME' BN_PRIME(bnQr); ^~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:81:28: note: in expansion of macro 'BN_VAR' #define BN_PRIME(name) BN_VAR(name, (RSA_BITS / 2)) ^~~~~~ CryptRsa.c:868:5: note: in expansion of macro 'BN_PRIME' BN_PRIME(bnQr); ^~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:180:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(RADIX_BITS) name##_; \ ^~~~~~~~~ CryptRsa.c:869:5: note: in expansion of macro 'BN_WORD_INITIALIZED' BN_WORD_INITIALIZED(bnE, (rsaKey->publicArea.parameters.rsaDetail.exponent == 0) ^~~~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:180:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(RADIX_BITS) name##_; \ ^~~~~~~~~ CryptRsa.c:869:5: note: in expansion of macro 'BN_WORD_INITIALIZED' BN_WORD_INITIALIZED(bnE, (rsaKey->publicArea.parameters.rsaDetail.exponent == 0) ^~~~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:180:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(RADIX_BITS) name##_; \ ^~~~~~~~~ CryptRsa.c:869:5: note: in expansion of macro 'BN_WORD_INITIALIZED' BN_WORD_INITIALIZED(bnE, (rsaKey->publicArea.parameters.rsaDetail.exponent == 0) ^~~~~~~~~~~~~~~~~~~ make[1]: *** [makefile:88: CryptSelfTest.o] Error 1 BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:185:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecBs, QsB); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:185:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecBs, QsB); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:185:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecBs, QsB); ^~~~~~~~~~~~~~~~~ CryptRand.c:97:5: error: unknown type name 'crypt_uword_t' crypt_uword_t temp[DRBG_IV_SIZE_WORDS] = {0}; ^~~~~~~~~~~~~ BnMemory.c:134:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnMath_fp.h:134:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnValues.h:181:35: error: implicit declaration of function 'BnInitializeWord'; did you mean 'BnInitializePoint'? [-Werror=implicit-function-declaration] bigNum name = BnInitializeWord((bigNum)&name##_, \ ^~~~~~~~~~~~~~~~ CryptRsa.c:869:5: note: in expansion of macro 'BN_WORD_INITIALIZED' BN_WORD_INITIALIZED(bnE, (rsaKey->publicArea.parameters.rsaDetail.exponent == 0) ^~~~~~~~~~~~~~~~~~~ BnValues.h:181:35: error: nested extern declaration of 'BnInitializeWord' [-Werror=nested-externs] bigNum name = BnInitializeWord((bigNum)&name##_, \ ^~~~~~~~~~~~~~~~ CryptRsa.c:869:5: note: in expansion of macro 'BN_WORD_INITIALIZED' BN_WORD_INITIALIZED(bnE, (rsaKey->publicArea.parameters.rsaDetail.exponent == 0) ^~~~~~~~~~~~~~~~~~~ BnConvert.c:192:5: error: unknown type name 'crypt_uword_t' crypt_uword_t count; ^~~~~~~~~~~~~ BnMath.c: At top level: BnMath.c:183:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ CryptRsa.c: In function 'CryptRsaGenerateKey': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:81:28: note: in expansion of macro 'BN_VAR' #define BN_PRIME(name) BN_VAR(name, (RSA_BITS / 2)) ^~~~~~ CryptRsa.c:1140:5: note: in expansion of macro 'BN_PRIME' BN_PRIME(bnP); // These four declarations initialize the number to 0 ^~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:81:28: note: in expansion of macro 'BN_VAR' #define BN_PRIME(name) BN_VAR(name, (RSA_BITS / 2)) ^~~~~~ CryptRsa.c:1140:5: note: in expansion of macro 'BN_PRIME' BN_PRIME(bnP); // These four declarations initialize the number to 0 ^~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccSignature.c:147:5: note: in expansion of macro 'BN_VAR' BN_VAR(bnE, MAX(MAX_ECC_KEY_BYTES, MAX_DIGEST_SIZE) * 8); ^~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:81:28: note: in expansion of macro 'BN_VAR' #define BN_PRIME(name) BN_VAR(name, (RSA_BITS / 2)) ^~~~~~ CryptRsa.c:1140:5: note: in expansion of macro 'BN_PRIME' BN_PRIME(bnP); // These four declarations initialize the number to 0 ^~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccSignature.c:147:5: note: in expansion of macro 'BN_VAR' BN_VAR(bnE, MAX(MAX_ECC_KEY_BYTES, MAX_DIGEST_SIZE) * 8); ^~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccSignature.c:147:5: note: in expansion of macro 'BN_VAR' BN_VAR(bnE, MAX(MAX_ECC_KEY_BYTES, MAX_DIGEST_SIZE) * 8); ^~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:81:28: note: in expansion of macro 'BN_VAR' #define BN_PRIME(name) BN_VAR(name, (RSA_BITS / 2)) ^~~~~~ CryptRsa.c:1141:5: note: in expansion of macro 'BN_PRIME' BN_PRIME(bnQ); ^~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:81:28: note: in expansion of macro 'BN_VAR' #define BN_PRIME(name) BN_VAR(name, (RSA_BITS / 2)) ^~~~~~ CryptRsa.c:1141:5: note: in expansion of macro 'BN_PRIME' BN_PRIME(bnQ); ^~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:81:28: note: in expansion of macro 'BN_VAR' #define BN_PRIME(name) BN_VAR(name, (RSA_BITS / 2)) ^~~~~~ CryptRsa.c:1141:5: note: in expansion of macro 'BN_PRIME' BN_PRIME(bnQ); ^~~~~~~~ BnMemory.c: In function 'BnCopy': BnMemory.c:156:2: error: implicit declaration of function 'BnSetTop'; did you mean 'BnSetBit'? [-Werror=implicit-function-declaration] BnSetTop(out, BnGetSize(out)); ^~~~~~~~ BnSetBit BnMemory.c:156:2: error: nested extern declaration of 'BnSetTop' [-Werror=nested-externs] CryptPrimeSieve.c:453:34: error: 'crypt_uword_t' undeclared (first use in this function) BnAddWord(test, candidate, (crypt_uword_t)(chosen * 2)); ^~~~~~~~~~~~~ CryptPrimeSieve.c:453:34: note: each undeclared identifier is reported only once for each function it appears in BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:78:28: note: in expansion of macro 'BN_VAR' #define BN_RSA(name) BN_VAR(name, RSA_BITS) ^~~~~~ CryptRsa.c:1142:5: note: in expansion of macro 'BN_RSA' BN_RSA(bnD); ^~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:78:28: note: in expansion of macro 'BN_VAR' #define BN_RSA(name) BN_VAR(name, RSA_BITS) ^~~~~~ CryptRsa.c:1142:5: note: in expansion of macro 'BN_RSA' BN_RSA(bnD); ^~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:78:28: note: in expansion of macro 'BN_VAR' #define BN_RSA(name) BN_VAR(name, RSA_BITS) ^~~~~~ CryptRsa.c:1142:5: note: in expansion of macro 'BN_RSA' BN_RSA(bnD); ^~~~~~ In file included from Tpm.h:77, from BnMemory.c:66: BnMemory.c:162:35: error: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Werror=sign-compare] pAssert(BnGetAllocated(out) >= BnGetSize(in)); ^~ GpMacros.h:125:29: note: in definition of macro 'pAssert' # define pAssert(a) {if(!(a)) FAIL(FATAL_ERROR_PARAMETER);} ^ BnMemory.c:163:20: error: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Werror=sign-compare] for(i = 0; i < BnGetSize(in); i++) ^ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:78:28: note: in expansion of macro 'BN_VAR' #define BN_RSA(name) BN_VAR(name, RSA_BITS) ^~~~~~ CryptRsa.c:1143:5: note: in expansion of macro 'BN_RSA' BN_RSA(bnN); ^~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:78:28: note: in expansion of macro 'BN_VAR' #define BN_RSA(name) BN_VAR(name, RSA_BITS) ^~~~~~ CryptRsa.c:1143:5: note: in expansion of macro 'BN_RSA' BN_RSA(bnN); ^~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:78:28: note: in expansion of macro 'BN_VAR' #define BN_RSA(name) BN_VAR(name, RSA_BITS) ^~~~~~ CryptRsa.c:1143:5: note: in expansion of macro 'BN_RSA' BN_RSA(bnN); ^~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:176:28: note: in expansion of macro 'BN_VAR' #define BN_WORD(name) BN_VAR(name, RADIX_BITS) ^~~~~~ CryptRsa.c:1144:5: note: in expansion of macro 'BN_WORD' BN_WORD(bnE); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:176:28: note: in expansion of macro 'BN_VAR' #define BN_WORD(name) BN_VAR(name, RADIX_BITS) ^~~~~~ CryptRsa.c:1144:5: note: in expansion of macro 'BN_WORD' BN_WORD(bnE); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:176:28: note: in expansion of macro 'BN_VAR' #define BN_WORD(name) BN_VAR(name, RADIX_BITS) ^~~~~~ CryptRsa.c:1144:5: note: in expansion of macro 'BN_WORD' BN_WORD(bnE); ^~~~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from CryptSmac.c:69: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:78:28: note: in expansion of macro 'BN_VAR' #define BN_RSA(name) BN_VAR(name, RSA_BITS) ^~~~~~ CryptRsa.c:1234:7: note: in expansion of macro 'BN_RSA' BN_RSA(temp1); ^~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:78:28: note: in expansion of macro 'BN_VAR' #define BN_RSA(name) BN_VAR(name, RSA_BITS) ^~~~~~ CryptRsa.c:1234:7: note: in expansion of macro 'BN_RSA' BN_RSA(temp1); ^~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:78:28: note: in expansion of macro 'BN_VAR' #define BN_RSA(name) BN_VAR(name, RSA_BITS) ^~~~~~ CryptRsa.c:1234:7: note: in expansion of macro 'BN_RSA' BN_RSA(temp1); ^~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:78:28: note: in expansion of macro 'BN_VAR' #define BN_RSA(name) BN_VAR(name, RSA_BITS) ^~~~~~ CryptRsa.c:1235:7: note: in expansion of macro 'BN_RSA' BN_RSA(temp2); ^~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:78:28: note: in expansion of macro 'BN_VAR' #define BN_RSA(name) BN_VAR(name, RSA_BITS) ^~~~~~ CryptRsa.c:1235:7: note: in expansion of macro 'BN_RSA' BN_RSA(temp2); ^~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:78:28: note: in expansion of macro 'BN_VAR' #define BN_RSA(name) BN_VAR(name, RSA_BITS) ^~~~~~ CryptRsa.c:1235:7: note: in expansion of macro 'BN_RSA' BN_RSA(temp2); ^~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:186:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecBe, QeB); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:186:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecBe, QeB); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:186:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecBe, QeB); ^~~~~~~~~~~~~~~~~ BnMemory.c: In function 'BnInitializePoint': BnMemory.c:198:5: error: implicit declaration of function 'BnSetWord'; did you mean 'BnGetWord'? [-Werror=implicit-function-declaration] BnSetWord(z, 1); ^~~~~~~~~ BnGetWord BnMemory.c:198:5: error: nested extern declaration of 'BnSetWord' [-Werror=nested-externs] cc1: all warnings being treated as errors In file included from Global.h:80, from Tpm.h:78, from CryptPrime.c:66: CryptPrime.c: In function 'BnIsProbablyPrime': BnValues.h:133:30: error: 'crypt_uword_t' undeclared (first use in this function) #define BnGetWord(x, i) (crypt_uword_t)((x)->d[i]) ^~~~~~~~~~~~~ BnValues.h:141:27: note: in expansion of macro 'BnGetWord' #define BnIsEven(n) ((BnGetWord(n, 0) & 1) == 0) ^~~~~~~~~ CryptPrime.c:151:8: note: in expansion of macro 'BnIsEven' if(BnIsEven(prime)) ^~~~~~~~ BnValues.h:133:30: note: each undeclared identifier is reported only once for each function it appears in #define BnGetWord(x, i) (crypt_uword_t)((x)->d[i]) ^~~~~~~~~~~~~ BnValues.h:141:27: note: in expansion of macro 'BnGetWord' #define BnIsEven(n) ((BnGetWord(n, 0) & 1) == 0) ^~~~~~~~~ CryptPrime.c:151:8: note: in expansion of macro 'BnIsEven' if(BnIsEven(prime)) ^~~~~~~~ cc1: all warnings being treated as errors CryptRand.c:101:13: error: 'crypt_uword_t' undeclared (first use in this function) pIv = (crypt_uword_t *)&dfState->iv[iv].words[0]; ^~~~~~~~~~~~~ CryptRand.c:101:13: note: each undeclared identifier is reported only once for each function it appears in CryptRand.c:101:28: error: expected expression before ')' token pIv = (crypt_uword_t *)&dfState->iv[iv].words[0]; ^ CryptRand.c:97:22: error: unused variable 'temp' [-Werror=unused-variable] crypt_uword_t temp[DRBG_IV_SIZE_WORDS] = {0}; ^~~~ make[1]: *** [makefile:88: CryptPrimeSieve.o] Error 1 CryptRand.c: In function 'DfStart': CryptRand.c:124:16: error: unused variable 'dfKey' [-Werror=unused-variable] const BYTE dfKey[DRBG_KEY_SIZE_BYTES] = { ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:186:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecBe, QeB); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:186:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecBe, QeB); ^~~~~~~~~~~~~~~~~ BnMath.c:197:2: error: unknown type name 'crypt_uword_t' crypt_uword_t *result, ^~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:186:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecBe, QeB); ^~~~~~~~~~~~~~~~~ BnMath.c:198:8: error: unknown type name 'crypt_uword_t' const crypt_uword_t *op1, ^~~~~~~~~~~~~ BnMath.c:199:8: error: unknown type name 'crypt_uword_t' const crypt_uword_t *op2, ^~~~~~~~~~~~~ CryptRand.c: In function 'EncryptDRBG': CryptRand.c:293:22: error: unused variable 'temp' [-Werror=unused-variable] UINT32 temp[DRBG_IV_SIZE_BYTES / sizeof(UINT32)]; ^~~~ cc1: all warnings being treated as errors make[1]: *** [makefile:88: BnMemory.o] Error 1 BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:148:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:148:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:148:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ In file included from InternalRoutines.h:113, from Tpm.h:79, from CryptEccMain.c:64: BnMemory_fp.h:68:3: error: unknown type name 'crypt_uword_t' crypt_uword_t top // IN: the new top ^~~~~~~~~~~~~ In file included from Tpm.h:77, from BnConvert.c:67: BnConvert.c: In function 'BnPointTo2B': BnValues.h:133:30: error: 'crypt_uword_t' undeclared (first use in this function) #define BnGetWord(x, i) (crypt_uword_t)((x)->d[i]) ^~~~~~~~~~~~~ GpMacros.h:125:29: note: in definition of macro 'pAssert' # define pAssert(a) {if(!(a)) FAIL(FATAL_ERROR_PARAMETER);} ^ BnValues.h:138:31: note: in expansion of macro 'BnGetWord' ((BnGetSize(bn) == 1) && (BnGetWord(bn, 0) == (crypt_uword_t)word)) ^~~~~~~~~ BnConvert.c:290:13: note: in expansion of macro 'BnEqualWord' pAssert(BnEqualWord(ecP->z, 1)); ^~~~~~~~~~~ BnValues.h:133:30: note: each undeclared identifier is reported only once for each function it appears in #define BnGetWord(x, i) (crypt_uword_t)((x)->d[i]) ^~~~~~~~~~~~~ GpMacros.h:125:29: note: in definition of macro 'pAssert' # define pAssert(a) {if(!(a)) FAIL(FATAL_ERROR_PARAMETER);} ^ BnValues.h:138:31: note: in expansion of macro 'BnGetWord' ((BnGetSize(bn) == 1) && (BnGetWord(bn, 0) == (crypt_uword_t)word)) ^~~~~~~~~ BnConvert.c:290:13: note: in expansion of macro 'BnEqualWord' pAssert(BnEqualWord(ecP->z, 1)); ^~~~~~~~~~~ BnConvert.c:290:33: error: expected ')' before numeric constant pAssert(BnEqualWord(ecP->z, 1)); ^ GpMacros.h:125:29: note: in definition of macro 'pAssert' # define pAssert(a) {if(!(a)) FAIL(FATAL_ERROR_PARAMETER);} ^ BnConvert.c:290:13: note: in expansion of macro 'BnEqualWord' pAssert(BnEqualWord(ecP->z, 1)); ^~~~~~~~~~~ BnValues.h:138:30: note: to match this '(' ((BnGetSize(bn) == 1) && (BnGetWord(bn, 0) == (crypt_uword_t)word)) ^ GpMacros.h:125:29: note: in definition of macro 'pAssert' # define pAssert(a) {if(!(a)) FAIL(FATAL_ERROR_PARAMETER);} ^ BnConvert.c:290:13: note: in expansion of macro 'BnEqualWord' pAssert(BnEqualWord(ecP->z, 1)); ^~~~~~~~~~~ make[1]: *** [makefile:88: CryptRsa.o] Error 1 CryptPrime.c:153:8: error: implicit declaration of function 'BnUnsignedCmpWord'; did you mean 'BnUnsignedCmp'? [-Werror=implicit-function-declaration] if(BnUnsignedCmpWord(prime, s_LastPrimeInTable) <= 0) ^~~~~~~~~~~~~~~~~ BnUnsignedCmp CryptPrime.c:153:8: error: nested extern declaration of 'BnUnsignedCmpWord' [-Werror=nested-externs] BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ CryptPrime.c:155:19: error: expected ';' before 'temp' crypt_uword_t temp = prime->d[0] >> 1; ^ ~~~~ ; cc1: all warnings being treated as errors BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:186:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecBe, QeB); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:186:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecBe, QeB); ^~~~~~~~~~~~~~~~~ CryptPrime.c:156:28: error: 'temp' undeclared (first use in this function); did you mean 'bcmp'? return ((s_PrimeTable[temp >> 3] >> (temp & 7)) & 1); ^~~~ bcmp BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccKeyExchange.c:186:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecBe, QeB); ^~~~~~~~~~~~~~~~~ CryptRand.c: In function 'DfEnd': CryptRand.c:193:1: error: control reaches end of non-void function [-Werror=return-type] } ^ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:148:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:148:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:148:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnMemory_fp.h:77:4: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated, // IN: ^~~~~~~~~~~~~ cc1: all warnings being treated as errors make[1]: *** [makefile:88: BnConvert.o] Error 1 BnMath.c:222:5: error: unknown type name 'crypt_uword_t' crypt_uword_t *result, ^~~~~~~~~~~~~ BnMath.c:223:11: error: unknown type name 'crypt_uword_t' const crypt_uword_t *op, ^~~~~~~~~~~~~ make[1]: *** [makefile:88: CryptRand.o] Error 1 BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccKeyExchange.c:187:5: note: in expansion of macro 'POINT' POINT(ecZ); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:148:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:148:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccKeyExchange.c:187:5: note: in expansion of macro 'POINT' POINT(ecZ); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccKeyExchange.c:187:5: note: in expansion of macro 'POINT' POINT(ecZ); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:148:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ BnMath.c: In function 'BnSub': BnMath.c:249:14: error: implicit declaration of function 'SubSame'; did you mean 'ub_name'? [-Werror=implicit-function-declaration] borrow = SubSame(result->d, op1->d, op2->d, stop); ^~~~~~~ ub_name BnMath.c:249:14: error: nested extern declaration of 'SubSame' [-Werror=nested-externs] BnMemory_fp.h:78:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word // IN: ^~~~~~~~~~~~~ make[1]: *** [makefile:88: CommandDispatcher.o] Error 1 BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccKeyExchange.c:187:5: note: in expansion of macro 'POINT' POINT(ecZ); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccKeyExchange.c:187:5: note: in expansion of macro 'POINT' POINT(ecZ); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccKeyExchange.c:187:5: note: in expansion of macro 'POINT' POINT(ecZ); ^~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnMemory_fp.h:83:8: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated ^~~~~~~~~~~~~ BnMath.c:250:21: error: 'crypt_uword_t' undeclared (first use in this function) if(op1->size > (crypt_uword_t)stop) ^~~~~~~~~~~~~ BnMath.c:250:21: note: each undeclared identifier is reported only once for each function it appears in BnMath.c:250:35: error: expected ')' before 'stop' if(op1->size > (crypt_uword_t)stop) ~ ^~~~ ) BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccKeyExchange.c:187:5: note: in expansion of macro 'POINT' POINT(ecZ); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccKeyExchange.c:187:5: note: in expansion of macro 'POINT' POINT(ecZ); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccKeyExchange.c:187:5: note: in expansion of macro 'POINT' POINT(ecZ); ^~~~~ BnMath.c:251:11: error: implicit declaration of function 'BorrowProp' [-Werror=implicit-function-declaration] borrow = BorrowProp(&result->d[stop], &op1->d[stop], (int)(op1->size - stop), ^~~~~~~~~~ BnMath.c:251:11: error: nested extern declaration of 'BorrowProp' [-Werror=nested-externs] make[1]: *** [makefile:88: CryptSmac.o] Error 1 In file included from Global.h:80, from Tpm.h:78, from CryptEccMain.c:64: CryptEccMain.c: In function 'BnIsOnCurve': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccMain.c:448:5: note: in expansion of macro 'BN_VAR' BN_VAR(right, (MAX_ECC_KEY_BITS * 3)); ^~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccMain.c:448:5: note: in expansion of macro 'BN_VAR' BN_VAR(right, (MAX_ECC_KEY_BITS * 3)); ^~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccMain.c:448:5: note: in expansion of macro 'BN_VAR' BN_VAR(right, (MAX_ECC_KEY_BITS * 3)); ^~~~~~ cc1: all warnings being treated as errors BnValues.h:147:13: error: implicit declaration of function 'BnInit'; did you mean 'DAInit'? [-Werror=implicit-function-declaration] (bigNum)BnInit((bigNum)&(name), \ ^~~~~~ BnValues.h:170:29: note: in expansion of macro 'BN_INIT' bigNum name = BN_INIT(_##name) ^~~~~~~ CryptEccMain.c:448:5: note: in expansion of macro 'BN_VAR' BN_VAR(right, (MAX_ECC_KEY_BITS * 3)); ^~~~~~ BnValues.h:147:13: error: nested extern declaration of 'BnInit' [-Werror=nested-externs] (bigNum)BnInit((bigNum)&(name), \ ^~~~~~ BnValues.h:170:29: note: in expansion of macro 'BN_INIT' bigNum name = BN_INIT(_##name) ^~~~~~~ CryptEccMain.c:448:5: note: in expansion of macro 'BN_VAR' BN_VAR(right, (MAX_ECC_KEY_BITS * 3)); ^~~~~~ BnMath.c: At top level: BnMath.c:263:4: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccMain.c:449:5: note: in expansion of macro 'BN_VAR' BN_VAR(left, (MAX_ECC_KEY_BITS * 2)); ^~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccMain.c:449:5: note: in expansion of macro 'BN_VAR' BN_VAR(left, (MAX_ECC_KEY_BITS * 2)); ^~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccMain.c:449:5: note: in expansion of macro 'BN_VAR' BN_VAR(left, (MAX_ECC_KEY_BITS * 2)); ^~~~~~ make[1]: *** [makefile:88: CryptEccKeyExchange.o] Error 1 In file included from Global.h:80, from Tpm.h:78, from CryptPrime.c:66: BnValues.h:116:2: error: expected specifier-qualifier-list before 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptPrime.c:159:2: note: in expansion of macro 'BN_VAR' BN_VAR(n, LARGEST_NUMBER_BITS); ^~~~~~ BnMath.c:317:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ CryptEccMain.c: In function 'CryptEccIsValidPrivateKey': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ CryptEccMain.c:491:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(bnD, MAX_ECC_PARAMETER_BYTES * 8, d); ^~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ CryptEccMain.c:491:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(bnD, MAX_ECC_PARAMETER_BYTES * 8, d); ^~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ CryptEccMain.c:491:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(bnD, MAX_ECC_PARAMETER_BYTES * 8, d); ^~~~~~~~~~~~~~ BnValues.h:147:13: error: implicit declaration of function 'BnInit'; did you mean 'DAInit'? [-Werror=implicit-function-declaration] (bigNum)BnInit((bigNum)&(name), \ ^~~~~~ BnValues.h:170:29: note: in expansion of macro 'BN_INIT' bigNum name = BN_INIT(_##name) ^~~~~~~ CryptPrime.c:159:2: note: in expansion of macro 'BN_VAR' BN_VAR(n, LARGEST_NUMBER_BITS); ^~~~~~ BnValues.h:147:13: error: nested extern declaration of 'BnInit' [-Werror=nested-externs] (bigNum)BnInit((bigNum)&(name), \ ^~~~~~ BnValues.h:170:29: note: in expansion of macro 'BN_INIT' bigNum name = BN_INIT(_##name) ^~~~~~~ CryptPrime.c:159:2: note: in expansion of macro 'BN_VAR' BN_VAR(n, LARGEST_NUMBER_BITS); ^~~~~~ BnValues.h:148:38: error: 'struct ' has no member named 'd' BYTES_TO_CRYPT_WORDS(sizeof(name.d))) ^ BnValues.h:85:31: note: in definition of macro 'RADIX_DIV' #define RADIX_DIV(x) ((x) >> RADIX_LOG2) ^ BnValues.h:88:41: note: in expansion of macro 'BITS_TO_CRYPT_WORDS' #define BYTES_TO_CRYPT_WORDS(bytes) BITS_TO_CRYPT_WORDS(bytes * 8) ^~~~~~~~~~~~~~~~~~~ BnValues.h:148:6: note: in expansion of macro 'BYTES_TO_CRYPT_WORDS' BYTES_TO_CRYPT_WORDS(sizeof(name.d))) ^~~~~~~~~~~~~~~~~~~~ BnValues.h:170:29: note: in expansion of macro 'BN_INIT' bigNum name = BN_INIT(_##name) ^~~~~~~ CryptPrime.c:159:2: note: in expansion of macro 'BN_VAR' BN_VAR(n, LARGEST_NUMBER_BITS); ^~~~~~ CryptPrime.c:161:21: error: expected ')' before numeric constant if(!BnEqualWord(n, 1)) ^ BnValues.h:138:66: note: in definition of macro 'BnEqualWord' ((BnGetSize(bn) == 1) && (BnGetWord(bn, 0) == (crypt_uword_t)word)) ^~~~ BnValues.h:138:30: note: to match this '(' ((BnGetSize(bn) == 1) && (BnGetWord(bn, 0) == (crypt_uword_t)word)) ^ CryptPrime.c:161:6: note: in expansion of macro 'BnEqualWord' if(!BnEqualWord(n, 1)) ^~~~~~~~~~~ BnMath.c:330:12: error: unknown type name 'crypt_word_t' LIB_EXPORT crypt_word_t ^~~~~~~~~~~~ CryptEccMain.c: In function 'BnEccGetPrivate': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccMain.c:567:5: note: in expansion of macro 'BN_VAR' BN_VAR(bnExtraBits, MAX_ECC_KEY_BITS + 64); ^~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccMain.c:567:5: note: in expansion of macro 'BN_VAR' BN_VAR(bnExtraBits, MAX_ECC_KEY_BITS + 64); ^~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccMain.c:567:5: note: in expansion of macro 'BN_VAR' BN_VAR(bnExtraBits, MAX_ECC_KEY_BITS + 64); ^~~~~~ CryptEccSignature.c: In function 'BnSignEcdaa': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:172:24: note: in expansion of macro 'BN_VAR' #define BN_MAX(name) BN_VAR(name, LARGEST_NUMBER_BITS) ^~~~~~ CryptEccSignature.c:237:5: note: in expansion of macro 'BN_MAX' BN_MAX(bnT); ^~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:172:24: note: in expansion of macro 'BN_VAR' #define BN_MAX(name) BN_VAR(name, LARGEST_NUMBER_BITS) ^~~~~~ CryptEccSignature.c:237:5: note: in expansion of macro 'BN_MAX' BN_MAX(bnT); ^~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:172:24: note: in expansion of macro 'BN_VAR' #define BN_MAX(name) BN_VAR(name, LARGEST_NUMBER_BITS) ^~~~~~ CryptEccSignature.c:237:5: note: in expansion of macro 'BN_MAX' BN_MAX(bnT); ^~~~~~ BnMath.c:333:4: error: unknown type name 'crypt_word_t' crypt_word_t modulus ^~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccMain.c:568:5: note: in expansion of macro 'BN_VAR' BN_VAR(nMinus1, MAX_ECC_KEY_BITS); ^~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccMain.c:568:5: note: in expansion of macro 'BN_VAR' BN_VAR(nMinus1, MAX_ECC_KEY_BITS); ^~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccMain.c:568:5: note: in expansion of macro 'BN_VAR' BN_VAR(nMinus1, MAX_ECC_KEY_BITS); ^~~~~~ CryptEccMain.c:571:16: error: implicit declaration of function 'BnSubWord'; did you mean 'BnGetWord'? [-Werror=implicit-function-declaration] OK = OK && BnSubWord(nMinus1, order, 1); ^~~~~~~~~ BnGetWord CryptEccMain.c:571:16: error: nested extern declaration of 'BnSubWord' [-Werror=nested-externs] CryptEccMain.c:573:16: error: implicit declaration of function 'BnAddWord'; did you mean 'BnGetWord'? [-Werror=implicit-function-declaration] OK = OK && BnAddWord(dOut, bnExtraBits, 1); ^~~~~~~~~ BnGetWord CryptEccMain.c:573:16: error: nested extern declaration of 'BnAddWord' [-Werror=nested-externs] CryptEccMain.c: In function 'BnEccGenerateKeyPair': CryptEccMain.c:594:2: error: implicit declaration of function 'BnSetWord'; did you mean 'BnGetWord'? [-Werror=implicit-function-declaration] BnSetWord(ecQ->z, 0); ^~~~~~~~~ BnGetWord CryptEccMain.c:594:2: error: nested extern declaration of 'BnSetWord' [-Werror=nested-externs] BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccSignature.c:248:6: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnR, &r); ^~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccSignature.c:248:6: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnR, &r); ^~~~~~~~~~~~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptEccMain.c:64: CryptEccMain.c: In function 'CryptEccNewKeyPair': BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccSignature.c:248:6: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnR, &r); ^~~~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:610:5: note: in expansion of macro 'POINT' POINT(ecQ); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:610:5: note: in expansion of macro 'POINT' POINT(ecQ); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:610:5: note: in expansion of macro 'POINT' POINT(ecQ); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:610:5: note: in expansion of macro 'POINT' POINT(ecQ); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:610:5: note: in expansion of macro 'POINT' POINT(ecQ); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:610:5: note: in expansion of macro 'POINT' POINT(ecQ); ^~~~~ CryptPrime.c: In function 'MillerRabin': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:172:24: note: in expansion of macro 'BN_VAR' #define BN_MAX(name) BN_VAR(name, LARGEST_NUMBER_BITS) ^~~~~~ CryptPrime.c:190:5: note: in expansion of macro 'BN_MAX' BN_MAX(bnWm1); ^~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:172:24: note: in expansion of macro 'BN_VAR' #define BN_MAX(name) BN_VAR(name, LARGEST_NUMBER_BITS) ^~~~~~ CryptPrime.c:190:5: note: in expansion of macro 'BN_MAX' BN_MAX(bnWm1); ^~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:172:24: note: in expansion of macro 'BN_VAR' #define BN_MAX(name) BN_VAR(name, LARGEST_NUMBER_BITS) ^~~~~~ CryptPrime.c:190:5: note: in expansion of macro 'BN_MAX' BN_MAX(bnWm1); ^~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:610:5: note: in expansion of macro 'POINT' POINT(ecQ); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:610:5: note: in expansion of macro 'POINT' POINT(ecQ); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:610:5: note: in expansion of macro 'POINT' POINT(ecQ); ^~~~~ CryptEccSignature.c: In function 'BnSignEcSchnorr': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:334:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnK); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:334:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnK); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:334:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnK); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:335:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:335:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:335:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccMain.c:611:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnD); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccMain.c:611:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnD); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccMain.c:611:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnD); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:81:28: note: in expansion of macro 'BN_VAR' #define BN_PRIME(name) BN_VAR(name, (RSA_BITS / 2)) ^~~~~~ CryptPrime.c:191:5: note: in expansion of macro 'BN_PRIME' BN_PRIME(bnM); ^~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:81:28: note: in expansion of macro 'BN_VAR' #define BN_PRIME(name) BN_VAR(name, (RSA_BITS / 2)) ^~~~~~ CryptPrime.c:191:5: note: in expansion of macro 'BN_PRIME' BN_PRIME(bnM); ^~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:81:28: note: in expansion of macro 'BN_VAR' #define BN_PRIME(name) BN_VAR(name, (RSA_BITS / 2)) ^~~~~~ CryptPrime.c:191:5: note: in expansion of macro 'BN_PRIME' BN_PRIME(bnM); ^~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:81:28: note: in expansion of macro 'BN_VAR' #define BN_PRIME(name) BN_VAR(name, (RSA_BITS / 2)) ^~~~~~ CryptPrime.c:192:5: note: in expansion of macro 'BN_PRIME' BN_PRIME(bnB); ^~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:81:28: note: in expansion of macro 'BN_VAR' #define BN_PRIME(name) BN_VAR(name, (RSA_BITS / 2)) ^~~~~~ CryptPrime.c:192:5: note: in expansion of macro 'BN_PRIME' BN_PRIME(bnB); ^~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:81:28: note: in expansion of macro 'BN_VAR' #define BN_PRIME(name) BN_VAR(name, (RSA_BITS / 2)) ^~~~~~ CryptPrime.c:192:5: note: in expansion of macro 'BN_PRIME' BN_PRIME(bnB); ^~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:81:28: note: in expansion of macro 'BN_VAR' #define BN_PRIME(name) BN_VAR(name, (RSA_BITS / 2)) ^~~~~~ CryptPrime.c:193:5: note: in expansion of macro 'BN_PRIME' BN_PRIME(bnZ); ^~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:81:28: note: in expansion of macro 'BN_VAR' #define BN_PRIME(name) BN_VAR(name, (RSA_BITS / 2)) ^~~~~~ CryptPrime.c:193:5: note: in expansion of macro 'BN_PRIME' BN_PRIME(bnZ); ^~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptRsa.h:81:28: note: in expansion of macro 'BN_VAR' #define BN_PRIME(name) BN_VAR(name, (RSA_BITS / 2)) ^~~~~~ CryptPrime.c:193:5: note: in expansion of macro 'BN_PRIME' BN_PRIME(bnZ); ^~~~~~~~ CryptEccMain.c: In function 'CryptEccPointMultiply': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:657:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecP, Pin); ^~~~~~~~~~~~~~~~~ CryptPrime.c:205:5: error: implicit declaration of function 'BnSubWord'; did you mean 'BnGetWord'? [-Werror=implicit-function-declaration] BnSubWord(bnWm1, bnW, 1); ^~~~~~~~~ BnGetWord CryptPrime.c:205:5: error: nested extern declaration of 'BnSubWord' [-Werror=nested-externs] BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:657:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecP, Pin); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:657:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecP, Pin); ^~~~~~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:335:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:335:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:335:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnMath.c:352:5: error: unknown type name 'crypt_uword_t' crypt_uword_t word ^~~~~~~~~~~~~ BnMath.c: In function 'BnMsb': BnMath.c:381:27: error: implicit declaration of function 'Msb'; did you mean 'BnMsb'? [-Werror=implicit-function-declaration] int retVal = Msb(bn->d[bn->size - 1]); ^~~ BnMsb BnMath.c:381:27: error: nested extern declaration of 'Msb' [-Werror=nested-externs] BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:657:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecP, Pin); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:657:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecP, Pin); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:657:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecP, Pin); ^~~~~~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:335:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:335:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:335:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ In file included from Global.h:80, from Tpm.h:78, from CryptPrime.c:66: BnValues.h:133:30: error: 'crypt_uword_t' undeclared (first use in this function) #define BnGetWord(x, i) (crypt_uword_t)((x)->d[i]) ^~~~~~~~~~~~~ BnValues.h:138:31: note: in expansion of macro 'BnGetWord' ((BnGetSize(bn) == 1) && (BnGetWord(bn, 0) == (crypt_uword_t)word)) ^~~~~~~~~ CryptPrime.c:250:10: note: in expansion of macro 'BnEqualWord' if(BnEqualWord(bnZ, 1)) ^~~~~~~~~~~ CryptPrime.c:250:27: error: expected ')' before numeric constant if(BnEqualWord(bnZ, 1)) ^ BnValues.h:138:66: note: in definition of macro 'BnEqualWord' ((BnGetSize(bn) == 1) && (BnGetWord(bn, 0) == (crypt_uword_t)word)) ^~~~ BnValues.h:138:30: note: to match this '(' ((BnGetSize(bn) == 1) && (BnGetWord(bn, 0) == (crypt_uword_t)word)) ^ CryptPrime.c:250:10: note: in expansion of macro 'BnEqualWord' if(BnEqualWord(bnZ, 1)) ^~~~~~~~~~~ BnMath.c: At top level: BnMath.c:404:4: error: unknown type name 'crypt_uword_t' crypt_uword_t w ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:657:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecP, Pin); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:657:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecP, Pin); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:657:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecP, Pin); ^~~~~~~~~~~~~~~~~ CryptEccSignature.c: In function 'CryptEccSign': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccSignature.c:508:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnD, &signKey->sensitive.sensitive.ecc.b); ^~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccSignature.c:508:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnD, &signKey->sensitive.sensitive.ecc.b); ^~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccSignature.c:508:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnD, &signKey->sensitive.sensitive.ecc.b); ^~~~~~~~~~~~~~~ BnMath.c: In function 'BnSetBit': BnMath.c:424:5: error: unknown type name 'crypt_uword_t' crypt_uword_t offset = bitNum / RADIX_BITS; ^~~~~~~~~~~~~ CryptPrime.c: In function 'RsaAdjustPrimeCandidate': CryptPrime.c:344:34: error: 'crypt_uword_t' undeclared (first use in this function) prime->d[prime->size - 1] = (crypt_uword_t)adjusted; ^~~~~~~~~~~~~ CryptPrime.c:344:48: error: expected ';' before 'adjusted' prime->d[prime->size - 1] = (crypt_uword_t)adjusted; ^~~~~~~~ ; cc1: all warnings being treated as errors BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:509:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnR); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:509:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnR); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:509:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnR); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccMain.c:658:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnD, dIn); // If dIn is null, then bnD is null ^~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccMain.c:658:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnD, dIn); // If dIn is null, then bnD is null ^~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccMain.c:658:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnD, dIn); // If dIn is null, then bnD is null ^~~~~~~~~~~~~~~ make[1]: *** [makefile:88: CryptPrime.o] Error 1 BnMath.c:429:23: error: 'crypt_uword_t' undeclared (first use in this function) bn->d[offset] |= (crypt_uword_t)(1 << RADIX_MOD(bitNum)); ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:510:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:510:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:510:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccMain.c:659:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnU, uIn); ^~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccMain.c:659:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnU, uIn); ^~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccMain.c:659:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnU, uIn); ^~~~~~~~~~~~~~~ BnMath.c: In function 'BnTestBit': BnMath.c:443:5: error: unknown type name 'crypt_uword_t' crypt_uword_t offset = RADIX_DIV(bitNum); ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:660:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, Qin); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:660:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, Qin); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:660:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, Qin); ^~~~~~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:660:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, Qin); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:660:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, Qin); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:660:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, Qin); ^~~~~~~~~~~~~~~~~ BnMath.c:446:30: error: 'crypt_uword_t' undeclared (first use in this function) return ((bn->d[offset] & (((crypt_uword_t)1) << RADIX_MOD(bitNum))) != 0); ^~~~~~~~~~~~~ BnMath.c:446:44: error: expected ')' before numeric constant return ((bn->d[offset] & (((crypt_uword_t)1) << RADIX_MOD(bitNum))) != 0); ~ ^ ) CryptEccSignature.c: In function 'BnValidateSignatureEcdsa': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccSignature.c:582:5: note: in expansion of macro 'BN_VAR' BN_VAR(bnE, MAX(MAX_ECC_KEY_BYTES, MAX_DIGEST_SIZE) * 8); ^~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccSignature.c:582:5: note: in expansion of macro 'BN_VAR' BN_VAR(bnE, MAX(MAX_ECC_KEY_BYTES, MAX_DIGEST_SIZE) * 8); ^~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ CryptEccSignature.c:582:5: note: in expansion of macro 'BN_VAR' BN_VAR(bnE, MAX(MAX_ECC_KEY_BYTES, MAX_DIGEST_SIZE) * 8); ^~~~~~ BnMath.c: At top level: BnMath.c:460:5: error: unknown type name 'crypt_uword_t' crypt_uword_t maskBit // IN: the bit number for the mask. ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:660:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, Qin); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:660:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, Qin); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:660:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, Qin); ^~~~~~~~~~~~~~~~~ BnMath.c: In function 'BnShiftRight': BnMath.c:489:5: error: unknown type name 'crypt_uword_t' crypt_uword_t finalSize; ^~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:583:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:583:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:583:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:661:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:661:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:661:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ In file included from Global.h:80, from Tpm.h:78, from BnMath.c:85: BnValues.h:86:25: error: 'crypt_uword_t' undeclared (first use in this function) #define RADIX_MASK ((((crypt_uword_t)1) << RADIX_LOG2) - 1) ^~~~~~~~~~~~~ BnMath.c:491:33: note: in expansion of macro 'RADIX_MASK' shiftAmount = shiftAmount & RADIX_MASK; ^~~~~~~~~~ BnValues.h:86:39: error: expected ')' before numeric constant #define RADIX_MASK ((((crypt_uword_t)1) << RADIX_LOG2) - 1) ~ ^ BnMath.c:491:33: note: in expansion of macro 'RADIX_MASK' shiftAmount = shiftAmount & RADIX_MASK; ^~~~~~~~~~ BnMath.c:495:22: error: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Werror=sign-compare] if(toShift->size > offset) ^ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:583:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:583:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnMath.c:505:19: error: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Werror=sign-compare] for(i = 0; i < finalSize; i++) ^ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:583:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:661:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:661:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:661:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:583:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:583:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:583:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:661:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:661:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:661:5: note: in expansion of macro 'POINT' POINT(ecR); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:584:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnU1); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:584:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnU1); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:584:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnU1); ^~~~~~~ CryptEccMain.c: In function 'CryptEccIsPointOnCurve': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:686:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, Qin); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:686:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, Qin); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:686:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, Qin); ^~~~~~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:585:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnU2); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:585:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnU2); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:585:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnU2); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:686:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, Qin); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:686:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, Qin); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:686:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, Qin); ^~~~~~~~~~~~~~~~~ BnMath.c: In function 'BnGetRandomBits': BnMath.c:537:10: error: implicit declaration of function 'BnMaskBits'; did you mean 'BnTestBit'? [-Werror=implicit-function-declaration] if(BnMaskBits(n, (crypt_uword_t)bits)) ^~~~~~~~~~ BnTestBit BnMath.c:537:10: error: nested extern declaration of 'BnMaskBits' [-Werror=nested-externs] BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:586:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnW); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:586:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnW); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:586:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnW); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:686:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, Qin); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:686:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, Qin); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccMain.c:686:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, Qin); ^~~~~~~~~~~~~~~~~ BnMath.c:537:25: error: 'crypt_uword_t' undeclared (first use in this function) if(BnMaskBits(n, (crypt_uword_t)bits)) ^~~~~~~~~~~~~ BnMath.c:537:39: error: expected ')' before 'bits' if(BnMaskBits(n, (crypt_uword_t)bits)) ^~~~ ) BnMath.c: In function 'BnGenerateRandomInRange': BnMath.c:564:6: error: implicit declaration of function 'BnSetWord'; did you mean 'BnGetWord'? [-Werror=implicit-function-declaration] BnSetWord(dest, 0); ^~~~~~~~~ BnGetWord BnMath.c:564:6: error: nested extern declaration of 'BnSetWord' [-Werror=nested-externs] BnMath.c: In function 'BnTestBit': BnMath.c:449:1: error: control reaches end of non-void function [-Werror=return-type] } ^ cc1: all warnings being treated as errors CryptEccMain.c: In function 'CryptEccGenerateKey': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccMain.c:719:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnD); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccMain.c:719:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnD); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccMain.c:719:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnD); ^~~~~~~ make[1]: *** [makefile:88: BnMath.o] Error 1 BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:720:5: note: in expansion of macro 'POINT' POINT(ecQ); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:720:5: note: in expansion of macro 'POINT' POINT(ecQ); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:720:5: note: in expansion of macro 'POINT' POINT(ecQ); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:720:5: note: in expansion of macro 'POINT' POINT(ecQ); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:720:5: note: in expansion of macro 'POINT' POINT(ecQ); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:720:5: note: in expansion of macro 'POINT' POINT(ecQ); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:720:5: note: in expansion of macro 'POINT' POINT(ecQ); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:720:5: note: in expansion of macro 'POINT' POINT(ecQ); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccMain.c:720:5: note: in expansion of macro 'POINT' POINT(ecQ); ^~~~~ CryptEccSignature.c: In function 'BnValidateSignatureEcSchnorr': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:172:24: note: in expansion of macro 'BN_VAR' #define BN_MAX(name) BN_VAR(name, LARGEST_NUMBER_BITS) ^~~~~~ CryptEccSignature.c:699:5: note: in expansion of macro 'BN_MAX' BN_MAX(bnRn); ^~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:172:24: note: in expansion of macro 'BN_VAR' #define BN_MAX(name) BN_VAR(name, LARGEST_NUMBER_BITS) ^~~~~~ CryptEccSignature.c:699:5: note: in expansion of macro 'BN_MAX' BN_MAX(bnRn); ^~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:172:24: note: in expansion of macro 'BN_VAR' #define BN_MAX(name) BN_VAR(name, LARGEST_NUMBER_BITS) ^~~~~~ CryptEccSignature.c:699:5: note: in expansion of macro 'BN_MAX' BN_MAX(bnRn); ^~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccMain.c:740:6: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnT); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccMain.c:740:6: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnT); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccMain.c:740:6: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnT); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccMain.c:741:6: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccMain.c:741:6: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccMain.c:741:6: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnS); ^~~~~~~ cc1: all warnings being treated as errors BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:700:5: note: in expansion of macro 'POINT' POINT(ecE); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:700:5: note: in expansion of macro 'POINT' POINT(ecE); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:700:5: note: in expansion of macro 'POINT' POINT(ecE); ^~~~~ make[1]: *** [makefile:88: CryptEccMain.o] Error 1 BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:700:5: note: in expansion of macro 'POINT' POINT(ecE); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:700:5: note: in expansion of macro 'POINT' POINT(ecE); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:700:5: note: in expansion of macro 'POINT' POINT(ecE); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:700:5: note: in expansion of macro 'POINT' POINT(ecE); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:700:5: note: in expansion of macro 'POINT' POINT(ecE); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:700:5: note: in expansion of macro 'POINT' POINT(ecE); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:172:24: note: in expansion of macro 'BN_VAR' #define BN_MAX(name) BN_VAR(name, LARGEST_NUMBER_BITS) ^~~~~~ CryptEccSignature.c:701:5: note: in expansion of macro 'BN_MAX' BN_MAX(bnEx); ^~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:172:24: note: in expansion of macro 'BN_VAR' #define BN_MAX(name) BN_VAR(name, LARGEST_NUMBER_BITS) ^~~~~~ CryptEccSignature.c:701:5: note: in expansion of macro 'BN_MAX' BN_MAX(bnEx); ^~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:172:24: note: in expansion of macro 'BN_VAR' #define BN_MAX(name) BN_VAR(name, LARGEST_NUMBER_BITS) ^~~~~~ CryptEccSignature.c:701:5: note: in expansion of macro 'BN_MAX' BN_MAX(bnEx); ^~~~~~ CryptEccSignature.c: In function 'CryptEccValidateSignature': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:749:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnR); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:749:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnR); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:749:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnR); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:750:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnS); ^~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:750:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnS); ^~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:169:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) _##name; \ ^~~~~~~~~ BnValues.h:204:29: note: in expansion of macro 'BN_VAR' #define ECC_NUM(name) BN_VAR(name, ECC_BITS) ^~~~~~ CryptEccSignature.c:750:5: note: in expansion of macro 'ECC_NUM' ECC_NUM(bnS); ^~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:751:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, &signKey->publicArea.unique.ecc); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:751:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, &signKey->publicArea.unique.ecc); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:751:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, &signKey->publicArea.unique.ecc); ^~~~~~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:751:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, &signKey->publicArea.unique.ecc); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:751:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, &signKey->publicArea.unique.ecc); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:751:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, &signKey->publicArea.unique.ecc); ^~~~~~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:751:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, &signKey->publicArea.unique.ecc); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:751:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, &signKey->publicArea.unique.ecc); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:751:5: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(ecQ, &signKey->publicArea.unique.ecc); ^~~~~~~~~~~~~~~~~ CryptEccSignature.c: In function 'CryptEccCommitCompute': BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccSignature.c:830:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnR, r); ^~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccSignature.c:830:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnR, r); ^~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccSignature.c:830:5: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnR, r); ^~~~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccSignature.c:846:6: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnD, d); ^~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccSignature.c:846:6: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnD, d); ^~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:164:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT(bits) name##_; \ ^~~~~~~~~ BnValues.h:206:5: note: in expansion of macro 'BN_INITIALIZED' BN_INITIALIZED(name, ECC_BITS, initializer) ^~~~~~~~~~~~~~ CryptEccSignature.c:846:6: note: in expansion of macro 'ECC_INITIALIZED' ECC_INITIALIZED(bnD, d); ^~~~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:847:6: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(pB, B); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:847:6: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(pB, B); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:847:6: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(pB, B); ^~~~~~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:847:6: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(pB, B); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:847:6: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(pB, B); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:847:6: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(pB, B); ^~~~~~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:847:6: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(pB, B); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:847:6: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(pB, B); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:847:6: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(pB, B); ^~~~~~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:848:6: note: in expansion of macro 'POINT' POINT(pK); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:848:6: note: in expansion of macro 'POINT' POINT(pK); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:848:6: note: in expansion of macro 'POINT' POINT(pK); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:848:6: note: in expansion of macro 'POINT' POINT(pK); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:848:6: note: in expansion of macro 'POINT' POINT(pK); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:848:6: note: in expansion of macro 'POINT' POINT(pK); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:848:6: note: in expansion of macro 'POINT' POINT(pK); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:848:6: note: in expansion of macro 'POINT' POINT(pK); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:848:6: note: in expansion of macro 'POINT' POINT(pK); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:849:6: note: in expansion of macro 'POINT' POINT(pL); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:849:6: note: in expansion of macro 'POINT' POINT(pL); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:849:6: note: in expansion of macro 'POINT' POINT(pL); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:849:6: note: in expansion of macro 'POINT' POINT(pL); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:849:6: note: in expansion of macro 'POINT' POINT(pL); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:849:6: note: in expansion of macro 'POINT' POINT(pL); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:849:6: note: in expansion of macro 'POINT' POINT(pL); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:849:6: note: in expansion of macro 'POINT' POINT(pL); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:849:6: note: in expansion of macro 'POINT' POINT(pL); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:872:6: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(pM, M); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:872:6: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(pM, M); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:872:6: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(pM, M); ^~~~~~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:872:6: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(pM, M); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:872:6: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(pM, M); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:872:6: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(pM, M); ^~~~~~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:872:6: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(pM, M); ^~~~~~~~~~~~~~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:872:6: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(pM, M); ^~~~~~~~~~~~~~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:219:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE(name, MAX_ECC_KEY_BITS); \ ^~~~~~~~~~~~~~ CryptEccSignature.c:872:6: note: in expansion of macro 'POINT_INITIALIZED' POINT_INITIALIZED(pM, M); ^~~~~~~~~~~~~~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:873:6: note: in expansion of macro 'POINT' POINT(pE); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:873:6: note: in expansion of macro 'POINT' POINT(pE); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:208:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT (bits) name##_x = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:873:6: note: in expansion of macro 'POINT' POINT(pE); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:873:6: note: in expansion of macro 'POINT' POINT(pE); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:873:6: note: in expansion of macro 'POINT' POINT(pE); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:210:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_y = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:873:6: note: in expansion of macro 'POINT' POINT(pE); ^~~~~ BnValues.h:116:2: error: unknown type name 'crypt_uword_t' crypt_uword_t allocated; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:873:6: note: in expansion of macro 'POINT' POINT(pE); ^~~~~ BnValues.h:117:2: error: unknown type name 'crypt_uword_t' crypt_uword_t size; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:873:6: note: in expansion of macro 'POINT' POINT(pE); ^~~~~ BnValues.h:118:2: error: unknown type name 'crypt_uword_t' crypt_uword_t d[count]; \ ^~~~~~~~~~~~~ BnValues.h:157:5: note: in expansion of macro 'BN_STRUCT_DEF' BN_STRUCT_DEF(BN_STRUCT_ALLOCATION(bits)) ^~~~~~~~~~~~~ BnValues.h:212:5: note: in expansion of macro 'BN_STRUCT' BN_STRUCT ( bits ) name##_z = \ ^~~~~~~~~ BnValues.h:224:5: note: in expansion of macro 'POINT_INSTANCE' POINT_INSTANCE (name, bits); \ ^~~~~~~~~~~~~~ BnValues.h:226:26: note: in expansion of macro 'POINT_VAR' #define POINT(name) POINT_VAR(name, MAX_ECC_KEY_BITS) ^~~~~~~~~ CryptEccSignature.c:873:6: note: in expansion of macro 'POINT' POINT(pE); ^~~~~ cc1: all warnings being treated as errors make[1]: *** [makefile:88: CryptEccSignature.o] Error 1 make[1]: Leaving directory '/tmp/instance-2/output-1/build/ibm-sw-tpm2-1563/src' make: *** [package/pkg-generic.mk:269: /tmp/instance-2/output-1/build/ibm-sw-tpm2-1563/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-2/buildroot'