open-quantum-safe/boringssl

Build error

surajkolari opened this issue · 4 comments

I am trying the standard build and install from the readme and every time i am getting this error. Can someone please point me to a solution.

dex@dex-VirtualBox:/boringssl/build$ sudo cmake -GNinja ..
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- Configuring done
-- Generating done
-- Build files have been written to: /home/dex/boringssl/build
dex@dex-VirtualBox:
/boringssl/build$ ls
build.ninja CMakeFiles crypto rules.ninja tool
CMakeCache.txt cmake_install.cmake decrepit ssl util
dex@dex-VirtualBox:~/boringssl/build$ sudo ninja
[213/447] Building C object crypto/CMakeFiles/crypto.dir/evp/p_oqs.c.o
FAILED: crypto/CMakeFiles/crypto.dir/evp/p_oqs.c.o
/usr/bin/cc -DBORINGSSL_DISPATCH_TEST -DBORINGSSL_HAVE_LIBUNWIND -DBORINGSSL_IMPLEMENTATION -DOQS_RUN_URANDOM_TESTS -I../third_party/googletest/include -I../crypto/../include -I../oqs/include -Werror -Wformat=2 -Wsign-compare -Wmissing-field-initializers -Wwrite-strings -Wvla -ggdb -Wall -fvisibility=hidden -fno-common -Wno-free-nonheap-object -Wimplicit-fallthrough -Wmissing-prototypes -Wold-style-definition -Wstrict-prototypes -Wshadow -std=c11 -D_XOPEN_SOURCE=700 -MD -MT crypto/CMakeFiles/crypto.dir/evp/p_oqs.c.o -MF crypto/CMakeFiles/crypto.dir/evp/p_oqs.c.o.d -o crypto/CMakeFiles/crypto.dir/evp/p_oqs.c.o -c ../crypto/evp/p_oqs.c
../crypto/evp/p_oqs.c: In function ‘dilithium5_pkey_keygen’:
../crypto/evp/p_oqs.c:140:37: error: ‘OQS_SIG_alg_dilithium_5’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_dilithium_3’?
140 | DEFINE_OQS_PKEY_METHODS(dilithium5, OQS_SIG_alg_dilithium_5, EVP_PKEY_DILITHIUM5)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs.c:39:26: note: in definition of macro ‘DEFINE_PKEY_KEYGEN’
39 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs.c:140:1: note: in expansion of macro ‘DEFINE_OQS_PKEY_METHODS’
140 | DEFINE_OQS_PKEY_METHODS(dilithium5, OQS_SIG_alg_dilithium_5, EVP_PKEY_DILITHIUM5)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs.c:140:37: note: each undeclared identifier is reported only once for each function it appears in
140 | DEFINE_OQS_PKEY_METHODS(dilithium5, OQS_SIG_alg_dilithium_5, EVP_PKEY_DILITHIUM5)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs.c:39:26: note: in definition of macro ‘DEFINE_PKEY_KEYGEN’
39 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs.c:140:1: note: in expansion of macro ‘DEFINE_OQS_PKEY_METHODS’
140 | DEFINE_OQS_PKEY_METHODS(dilithium5, OQS_SIG_alg_dilithium_5, EVP_PKEY_DILITHIUM5)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs.c: In function ‘dilithium2_aes_pkey_keygen’:
../crypto/evp/p_oqs.c:141:41: error: ‘OQS_SIG_alg_dilithium_2_aes’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_dilithium_2’?
141 | DEFINE_OQS_PKEY_METHODS(dilithium2_aes, OQS_SIG_alg_dilithium_2_aes, EVP_PKEY_DILITHIUM2_AES)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs.c:39:26: note: in definition of macro ‘DEFINE_PKEY_KEYGEN’
39 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs.c:141:1: note: in expansion of macro ‘DEFINE_OQS_PKEY_METHODS’
141 | DEFINE_OQS_PKEY_METHODS(dilithium2_aes, OQS_SIG_alg_dilithium_2_aes, EVP_PKEY_DILITHIUM2_AES)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs.c: In function ‘dilithium3_aes_pkey_keygen’:
../crypto/evp/p_oqs.c:142:41: error: ‘OQS_SIG_alg_dilithium_3_aes’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_dilithium_3’?
142 | DEFINE_OQS_PKEY_METHODS(dilithium3_aes, OQS_SIG_alg_dilithium_3_aes, EVP_PKEY_DILITHIUM3_AES)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs.c:39:26: note: in definition of macro ‘DEFINE_PKEY_KEYGEN’
39 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs.c:142:1: note: in expansion of macro ‘DEFINE_OQS_PKEY_METHODS’
142 | DEFINE_OQS_PKEY_METHODS(dilithium3_aes, OQS_SIG_alg_dilithium_3_aes, EVP_PKEY_DILITHIUM3_AES)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs.c: In function ‘dilithium5_aes_pkey_keygen’:
../crypto/evp/p_oqs.c:143:41: error: ‘OQS_SIG_alg_dilithium_5_aes’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_dilithium_3’?
143 | DEFINE_OQS_PKEY_METHODS(dilithium5_aes, OQS_SIG_alg_dilithium_5_aes, EVP_PKEY_DILITHIUM5_AES)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs.c:39:26: note: in definition of macro ‘DEFINE_PKEY_KEYGEN’
39 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs.c:143:1: note: in expansion of macro ‘DEFINE_OQS_PKEY_METHODS’
143 | DEFINE_OQS_PKEY_METHODS(dilithium5_aes, OQS_SIG_alg_dilithium_5_aes, EVP_PKEY_DILITHIUM5_AES)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs.c: In function ‘rainbowIclassic_pkey_keygen’:
../crypto/evp/p_oqs.c:152:42: error: ‘OQS_SIG_alg_rainbow_I_classic’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_rainbow_Ia_classic’?
152 | DEFINE_OQS_PKEY_METHODS(rainbowIclassic, OQS_SIG_alg_rainbow_I_classic, EVP_PKEY_RAINBOWICLASSIC)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs.c:39:26: note: in definition of macro ‘DEFINE_PKEY_KEYGEN’
39 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs.c:152:1: note: in expansion of macro ‘DEFINE_OQS_PKEY_METHODS’
152 | DEFINE_OQS_PKEY_METHODS(rainbowIclassic, OQS_SIG_alg_rainbow_I_classic, EVP_PKEY_RAINBOWICLASSIC)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs.c: In function ‘rainbowIcircumzenithal_pkey_keygen’:
../crypto/evp/p_oqs.c:153:49: error: ‘OQS_SIG_alg_rainbow_I_circumzenithal’ undeclared (first use in this function); did you mean ‘OBJ_rainbowIcircumzenithal’?
153 | DEFINE_OQS_PKEY_METHODS(rainbowIcircumzenithal, OQS_SIG_alg_rainbow_I_circumzenithal, EVP_PKEY_RAINBOWICIRCUMZENITHAL)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs.c:39:26: note: in definition of macro ‘DEFINE_PKEY_KEYGEN’
39 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs.c:153:1: note: in expansion of macro ‘DEFINE_OQS_PKEY_METHODS’
153 | DEFINE_OQS_PKEY_METHODS(rainbowIcircumzenithal, OQS_SIG_alg_rainbow_I_circumzenithal, EVP_PKEY_RAINBOWICIRCUMZENITHAL)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs.c: In function ‘rainbowIcompressed_pkey_keygen’:
../crypto/evp/p_oqs.c:154:45: error: ‘OQS_SIG_alg_rainbow_I_compressed’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_rainbow_Ia_cyclic_compressed’?
154 | DEFINE_OQS_PKEY_METHODS(rainbowIcompressed, OQS_SIG_alg_rainbow_I_compressed, EVP_PKEY_RAINBOWICOMPRESSED)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs.c:39:26: note: in definition of macro ‘DEFINE_PKEY_KEYGEN’
39 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs.c:154:1: note: in expansion of macro ‘DEFINE_OQS_PKEY_METHODS’
154 | DEFINE_OQS_PKEY_METHODS(rainbowIcompressed, OQS_SIG_alg_rainbow_I_compressed, EVP_PKEY_RAINBOWICOMPRESSED)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs.c: In function ‘rainbowIIIclassic_pkey_keygen’:
../crypto/evp/p_oqs.c:155:44: error: ‘OQS_SIG_alg_rainbow_III_classic’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_rainbow_IIIc_classic’?
155 | DEFINE_OQS_PKEY_METHODS(rainbowIIIclassic, OQS_SIG_alg_rainbow_III_classic, EVP_PKEY_RAINBOWIIICLASSIC)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs.c:39:26: note: in definition of macro ‘DEFINE_PKEY_KEYGEN’
39 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs.c:155:1: note: in expansion of macro ‘DEFINE_OQS_PKEY_METHODS’
155 | DEFINE_OQS_PKEY_METHODS(rainbowIIIclassic, OQS_SIG_alg_rainbow_III_classic, EVP_PKEY_RAINBOWIIICLASSIC)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs.c: In function ‘rainbowIIIcircumzenithal_pkey_keygen’:
../crypto/evp/p_oqs.c:156:51: error: ‘OQS_SIG_alg_rainbow_III_circumzenithal’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_rainbow_IIIc_cyclic’?
156 | DEFINE_OQS_PKEY_METHODS(rainbowIIIcircumzenithal, OQS_SIG_alg_rainbow_III_circumzenithal, EVP_PKEY_RAINBOWIIICIRCUMZENITHAL)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs.c:39:26: note: in definition of macro ‘DEFINE_PKEY_KEYGEN’
39 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs.c:156:1: note: in expansion of macro ‘DEFINE_OQS_PKEY_METHODS’
156 | DEFINE_OQS_PKEY_METHODS(rainbowIIIcircumzenithal, OQS_SIG_alg_rainbow_III_circumzenithal, EVP_PKEY_RAINBOWIIICIRCUMZENITHAL)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs.c: In function ‘rainbowIIIcompressed_pkey_keygen’:
../crypto/evp/p_oqs.c:157:47: error: ‘OQS_SIG_alg_rainbow_III_compressed’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_rainbow_Ia_cyclic_compressed’?
157 | DEFINE_OQS_PKEY_METHODS(rainbowIIIcompressed, OQS_SIG_alg_rainbow_III_compressed, EVP_PKEY_RAINBOWIIICOMPRESSED)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs.c:39:26: note: in definition of macro ‘DEFINE_PKEY_KEYGEN’
39 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs.c:157:1: note: in expansion of macro ‘DEFINE_OQS_PKEY_METHODS’
157 | DEFINE_OQS_PKEY_METHODS(rainbowIIIcompressed, OQS_SIG_alg_rainbow_III_compressed, EVP_PKEY_RAINBOWIIICOMPRESSED)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs.c: In function ‘rainbowVclassic_pkey_keygen’:
../crypto/evp/p_oqs.c:158:42: error: ‘OQS_SIG_alg_rainbow_V_classic’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_rainbow_Vc_classic’?
158 | DEFINE_OQS_PKEY_METHODS(rainbowVclassic, OQS_SIG_alg_rainbow_V_classic, EVP_PKEY_RAINBOWVCLASSIC)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs.c:39:26: note: in definition of macro ‘DEFINE_PKEY_KEYGEN’
39 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs.c:158:1: note: in expansion of macro ‘DEFINE_OQS_PKEY_METHODS’
158 | DEFINE_OQS_PKEY_METHODS(rainbowVclassic, OQS_SIG_alg_rainbow_V_classic, EVP_PKEY_RAINBOWVCLASSIC)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs.c: In function ‘rainbowVcircumzenithal_pkey_keygen’:
../crypto/evp/p_oqs.c:159:49: error: ‘OQS_SIG_alg_rainbow_V_circumzenithal’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_rainbow_Vc_cyclic’?
159 | DEFINE_OQS_PKEY_METHODS(rainbowVcircumzenithal, OQS_SIG_alg_rainbow_V_circumzenithal, EVP_PKEY_RAINBOWVCIRCUMZENITHAL)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs.c:39:26: note: in definition of macro ‘DEFINE_PKEY_KEYGEN’
39 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs.c:159:1: note: in expansion of macro ‘DEFINE_OQS_PKEY_METHODS’
159 | DEFINE_OQS_PKEY_METHODS(rainbowVcircumzenithal, OQS_SIG_alg_rainbow_V_circumzenithal, EVP_PKEY_RAINBOWVCIRCUMZENITHAL)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs.c: In function ‘rainbowVcompressed_pkey_keygen’:
../crypto/evp/p_oqs.c:160:45: error: ‘OQS_SIG_alg_rainbow_V_compressed’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_rainbow_Vc_classic’?
160 | DEFINE_OQS_PKEY_METHODS(rainbowVcompressed, OQS_SIG_alg_rainbow_V_compressed, EVP_PKEY_RAINBOWVCOMPRESSED)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs.c:39:26: note: in definition of macro ‘DEFINE_PKEY_KEYGEN’
39 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs.c:160:1: note: in expansion of macro ‘DEFINE_OQS_PKEY_METHODS’
160 | DEFINE_OQS_PKEY_METHODS(rainbowVcompressed, OQS_SIG_alg_rainbow_V_compressed, EVP_PKEY_RAINBOWVCOMPRESSED)
| ^~~~~~~~~~~~~~~~~~~~~~~
[214/447] Building C object crypto/CMakeFiles/crypto.dir/evp/p_oqs_asn1.c.o
FAILED: crypto/CMakeFiles/crypto.dir/evp/p_oqs_asn1.c.o
/usr/bin/cc -DBORINGSSL_DISPATCH_TEST -DBORINGSSL_HAVE_LIBUNWIND -DBORINGSSL_IMPLEMENTATION -DOQS_RUN_URANDOM_TESTS -I../third_party/googletest/include -I../crypto/../include -I../oqs/include -Werror -Wformat=2 -Wsign-compare -Wmissing-field-initializers -Wwrite-strings -Wvla -ggdb -Wall -fvisibility=hidden -fno-common -Wno-free-nonheap-object -Wimplicit-fallthrough -Wmissing-prototypes -Wold-style-definition -Wstrict-prototypes -Wshadow -std=c11 -D_XOPEN_SOURCE=700 -MD -MT crypto/CMakeFiles/crypto.dir/evp/p_oqs_asn1.c.o -MF crypto/CMakeFiles/crypto.dir/evp/p_oqs_asn1.c.o.d -o crypto/CMakeFiles/crypto.dir/evp/p_oqs_asn1.c.o -c ../crypto/evp/p_oqs_asn1.c
../crypto/evp/p_oqs_asn1.c: In function ‘dilithium5_set_priv_raw’:
../crypto/evp/p_oqs_asn1.c:229:37: error: ‘OQS_SIG_alg_dilithium_5’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_dilithium_3’?
229 | DEFINE_OQS_ASN1_METHODS(dilithium5, OQS_SIG_alg_dilithium_5, EVP_PKEY_DILITHIUM5)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:40:28: note: in definition of macro ‘DEFINE_OQS_SET_PRIV_RAW’
40 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:229:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
229 | DEFINE_OQS_ASN1_METHODS(dilithium5, OQS_SIG_alg_dilithium_5, EVP_PKEY_DILITHIUM5)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:229:37: note: each undeclared identifier is reported only once for each function it appears in
229 | DEFINE_OQS_ASN1_METHODS(dilithium5, OQS_SIG_alg_dilithium_5, EVP_PKEY_DILITHIUM5)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:40:28: note: in definition of macro ‘DEFINE_OQS_SET_PRIV_RAW’
40 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:229:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
229 | DEFINE_OQS_ASN1_METHODS(dilithium5, OQS_SIG_alg_dilithium_5, EVP_PKEY_DILITHIUM5)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘dilithium5_get_priv_raw’:
../crypto/evp/p_oqs_asn1.c:229:37: error: ‘OQS_SIG_alg_dilithium_5’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_dilithium_3’?
229 | DEFINE_OQS_ASN1_METHODS(dilithium5, OQS_SIG_alg_dilithium_5, EVP_PKEY_DILITHIUM5)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:74:28: note: in definition of macro ‘DEFINE_OQS_GET_PRIV_RAW’
74 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:229:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
229 | DEFINE_OQS_ASN1_METHODS(dilithium5, OQS_SIG_alg_dilithium_5, EVP_PKEY_DILITHIUM5)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘dilithium5_set_pub_raw’:
../crypto/evp/p_oqs_asn1.c:229:37: error: ‘OQS_SIG_alg_dilithium_5’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_dilithium_3’?
229 | DEFINE_OQS_ASN1_METHODS(dilithium5, OQS_SIG_alg_dilithium_5, EVP_PKEY_DILITHIUM5)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:118:28: note: in definition of macro ‘DEFINE_OQS_SET_PUB_RAW’
118 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:229:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
229 | DEFINE_OQS_ASN1_METHODS(dilithium5, OQS_SIG_alg_dilithium_5, EVP_PKEY_DILITHIUM5)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘dilithium2_aes_set_priv_raw’:
../crypto/evp/p_oqs_asn1.c:232:41: error: ‘OQS_SIG_alg_dilithium_2_aes’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_dilithium_2’?
232 | DEFINE_OQS_ASN1_METHODS(dilithium2_aes, OQS_SIG_alg_dilithium_2_aes, EVP_PKEY_DILITHIUM2_AES)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:40:28: note: in definition of macro ‘DEFINE_OQS_SET_PRIV_RAW’
40 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:232:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
232 | DEFINE_OQS_ASN1_METHODS(dilithium2_aes, OQS_SIG_alg_dilithium_2_aes, EVP_PKEY_DILITHIUM2_AES)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘dilithium2_aes_get_priv_raw’:
../crypto/evp/p_oqs_asn1.c:232:41: error: ‘OQS_SIG_alg_dilithium_2_aes’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_dilithium_2’?
232 | DEFINE_OQS_ASN1_METHODS(dilithium2_aes, OQS_SIG_alg_dilithium_2_aes, EVP_PKEY_DILITHIUM2_AES)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:74:28: note: in definition of macro ‘DEFINE_OQS_GET_PRIV_RAW’
74 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:232:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
232 | DEFINE_OQS_ASN1_METHODS(dilithium2_aes, OQS_SIG_alg_dilithium_2_aes, EVP_PKEY_DILITHIUM2_AES)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘dilithium2_aes_set_pub_raw’:
../crypto/evp/p_oqs_asn1.c:232:41: error: ‘OQS_SIG_alg_dilithium_2_aes’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_dilithium_2’?
232 | DEFINE_OQS_ASN1_METHODS(dilithium2_aes, OQS_SIG_alg_dilithium_2_aes, EVP_PKEY_DILITHIUM2_AES)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:118:28: note: in definition of macro ‘DEFINE_OQS_SET_PUB_RAW’
118 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:232:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
232 | DEFINE_OQS_ASN1_METHODS(dilithium2_aes, OQS_SIG_alg_dilithium_2_aes, EVP_PKEY_DILITHIUM2_AES)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘dilithium3_aes_set_priv_raw’:
../crypto/evp/p_oqs_asn1.c:235:41: error: ‘OQS_SIG_alg_dilithium_3_aes’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_dilithium_3’?
235 | DEFINE_OQS_ASN1_METHODS(dilithium3_aes, OQS_SIG_alg_dilithium_3_aes, EVP_PKEY_DILITHIUM3_AES)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:40:28: note: in definition of macro ‘DEFINE_OQS_SET_PRIV_RAW’
40 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:235:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
235 | DEFINE_OQS_ASN1_METHODS(dilithium3_aes, OQS_SIG_alg_dilithium_3_aes, EVP_PKEY_DILITHIUM3_AES)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘dilithium3_aes_get_priv_raw’:
../crypto/evp/p_oqs_asn1.c:235:41: error: ‘OQS_SIG_alg_dilithium_3_aes’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_dilithium_3’?
235 | DEFINE_OQS_ASN1_METHODS(dilithium3_aes, OQS_SIG_alg_dilithium_3_aes, EVP_PKEY_DILITHIUM3_AES)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:74:28: note: in definition of macro ‘DEFINE_OQS_GET_PRIV_RAW’
74 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:235:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
235 | DEFINE_OQS_ASN1_METHODS(dilithium3_aes, OQS_SIG_alg_dilithium_3_aes, EVP_PKEY_DILITHIUM3_AES)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘dilithium3_aes_set_pub_raw’:
../crypto/evp/p_oqs_asn1.c:235:41: error: ‘OQS_SIG_alg_dilithium_3_aes’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_dilithium_3’?
235 | DEFINE_OQS_ASN1_METHODS(dilithium3_aes, OQS_SIG_alg_dilithium_3_aes, EVP_PKEY_DILITHIUM3_AES)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:118:28: note: in definition of macro ‘DEFINE_OQS_SET_PUB_RAW’
118 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:235:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
235 | DEFINE_OQS_ASN1_METHODS(dilithium3_aes, OQS_SIG_alg_dilithium_3_aes, EVP_PKEY_DILITHIUM3_AES)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘dilithium5_aes_set_priv_raw’:
../crypto/evp/p_oqs_asn1.c:238:41: error: ‘OQS_SIG_alg_dilithium_5_aes’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_dilithium_3’?
238 | DEFINE_OQS_ASN1_METHODS(dilithium5_aes, OQS_SIG_alg_dilithium_5_aes, EVP_PKEY_DILITHIUM5_AES)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:40:28: note: in definition of macro ‘DEFINE_OQS_SET_PRIV_RAW’
40 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:238:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
238 | DEFINE_OQS_ASN1_METHODS(dilithium5_aes, OQS_SIG_alg_dilithium_5_aes, EVP_PKEY_DILITHIUM5_AES)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘dilithium5_aes_get_priv_raw’:
../crypto/evp/p_oqs_asn1.c:238:41: error: ‘OQS_SIG_alg_dilithium_5_aes’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_dilithium_3’?
238 | DEFINE_OQS_ASN1_METHODS(dilithium5_aes, OQS_SIG_alg_dilithium_5_aes, EVP_PKEY_DILITHIUM5_AES)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:74:28: note: in definition of macro ‘DEFINE_OQS_GET_PRIV_RAW’
74 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:238:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
238 | DEFINE_OQS_ASN1_METHODS(dilithium5_aes, OQS_SIG_alg_dilithium_5_aes, EVP_PKEY_DILITHIUM5_AES)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘dilithium5_aes_set_pub_raw’:
../crypto/evp/p_oqs_asn1.c:238:41: error: ‘OQS_SIG_alg_dilithium_5_aes’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_dilithium_3’?
238 | DEFINE_OQS_ASN1_METHODS(dilithium5_aes, OQS_SIG_alg_dilithium_5_aes, EVP_PKEY_DILITHIUM5_AES)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:118:28: note: in definition of macro ‘DEFINE_OQS_SET_PUB_RAW’
118 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:238:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
238 | DEFINE_OQS_ASN1_METHODS(dilithium5_aes, OQS_SIG_alg_dilithium_5_aes, EVP_PKEY_DILITHIUM5_AES)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘rainbowIclassic_set_priv_raw’:
../crypto/evp/p_oqs_asn1.c:265:42: error: ‘OQS_SIG_alg_rainbow_I_classic’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_rainbow_Ia_classic’?
265 | DEFINE_OQS_ASN1_METHODS(rainbowIclassic, OQS_SIG_alg_rainbow_I_classic, EVP_PKEY_RAINBOWICLASSIC)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:40:28: note: in definition of macro ‘DEFINE_OQS_SET_PRIV_RAW’
40 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:265:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
265 | DEFINE_OQS_ASN1_METHODS(rainbowIclassic, OQS_SIG_alg_rainbow_I_classic, EVP_PKEY_RAINBOWICLASSIC)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘rainbowIclassic_get_priv_raw’:
../crypto/evp/p_oqs_asn1.c:265:42: error: ‘OQS_SIG_alg_rainbow_I_classic’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_rainbow_Ia_classic’?
265 | DEFINE_OQS_ASN1_METHODS(rainbowIclassic, OQS_SIG_alg_rainbow_I_classic, EVP_PKEY_RAINBOWICLASSIC)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:74:28: note: in definition of macro ‘DEFINE_OQS_GET_PRIV_RAW’
74 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:265:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
265 | DEFINE_OQS_ASN1_METHODS(rainbowIclassic, OQS_SIG_alg_rainbow_I_classic, EVP_PKEY_RAINBOWICLASSIC)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘rainbowIclassic_set_pub_raw’:
../crypto/evp/p_oqs_asn1.c:265:42: error: ‘OQS_SIG_alg_rainbow_I_classic’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_rainbow_Ia_classic’?
265 | DEFINE_OQS_ASN1_METHODS(rainbowIclassic, OQS_SIG_alg_rainbow_I_classic, EVP_PKEY_RAINBOWICLASSIC)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:118:28: note: in definition of macro ‘DEFINE_OQS_SET_PUB_RAW’
118 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:265:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
265 | DEFINE_OQS_ASN1_METHODS(rainbowIclassic, OQS_SIG_alg_rainbow_I_classic, EVP_PKEY_RAINBOWICLASSIC)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘rainbowIcircumzenithal_set_priv_raw’:
../crypto/evp/p_oqs_asn1.c:268:49: error: ‘OQS_SIG_alg_rainbow_I_circumzenithal’ undeclared (first use in this function); did you mean ‘OBJ_rainbowIcircumzenithal’?
268 | DEFINE_OQS_ASN1_METHODS(rainbowIcircumzenithal, OQS_SIG_alg_rainbow_I_circumzenithal, EVP_PKEY_RAINBOWICIRCUMZENITHAL)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:40:28: note: in definition of macro ‘DEFINE_OQS_SET_PRIV_RAW’
40 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:268:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
268 | DEFINE_OQS_ASN1_METHODS(rainbowIcircumzenithal, OQS_SIG_alg_rainbow_I_circumzenithal, EVP_PKEY_RAINBOWICIRCUMZENITHAL)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘rainbowIcircumzenithal_get_priv_raw’:
../crypto/evp/p_oqs_asn1.c:268:49: error: ‘OQS_SIG_alg_rainbow_I_circumzenithal’ undeclared (first use in this function); did you mean ‘OBJ_rainbowIcircumzenithal’?
268 | DEFINE_OQS_ASN1_METHODS(rainbowIcircumzenithal, OQS_SIG_alg_rainbow_I_circumzenithal, EVP_PKEY_RAINBOWICIRCUMZENITHAL)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:74:28: note: in definition of macro ‘DEFINE_OQS_GET_PRIV_RAW’
74 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:268:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
268 | DEFINE_OQS_ASN1_METHODS(rainbowIcircumzenithal, OQS_SIG_alg_rainbow_I_circumzenithal, EVP_PKEY_RAINBOWICIRCUMZENITHAL)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘rainbowIcircumzenithal_set_pub_raw’:
../crypto/evp/p_oqs_asn1.c:268:49: error: ‘OQS_SIG_alg_rainbow_I_circumzenithal’ undeclared (first use in this function); did you mean ‘OBJ_rainbowIcircumzenithal’?
268 | DEFINE_OQS_ASN1_METHODS(rainbowIcircumzenithal, OQS_SIG_alg_rainbow_I_circumzenithal, EVP_PKEY_RAINBOWICIRCUMZENITHAL)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:118:28: note: in definition of macro ‘DEFINE_OQS_SET_PUB_RAW’
118 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:268:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
268 | DEFINE_OQS_ASN1_METHODS(rainbowIcircumzenithal, OQS_SIG_alg_rainbow_I_circumzenithal, EVP_PKEY_RAINBOWICIRCUMZENITHAL)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘rainbowIcompressed_set_priv_raw’:
../crypto/evp/p_oqs_asn1.c:271:45: error: ‘OQS_SIG_alg_rainbow_I_compressed’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_rainbow_Ia_cyclic_compressed’?
271 | DEFINE_OQS_ASN1_METHODS(rainbowIcompressed, OQS_SIG_alg_rainbow_I_compressed, EVP_PKEY_RAINBOWICOMPRESSED)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:40:28: note: in definition of macro ‘DEFINE_OQS_SET_PRIV_RAW’
40 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:271:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
271 | DEFINE_OQS_ASN1_METHODS(rainbowIcompressed, OQS_SIG_alg_rainbow_I_compressed, EVP_PKEY_RAINBOWICOMPRESSED)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘rainbowIcompressed_get_priv_raw’:
../crypto/evp/p_oqs_asn1.c:271:45: error: ‘OQS_SIG_alg_rainbow_I_compressed’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_rainbow_Ia_cyclic_compressed’?
271 | DEFINE_OQS_ASN1_METHODS(rainbowIcompressed, OQS_SIG_alg_rainbow_I_compressed, EVP_PKEY_RAINBOWICOMPRESSED)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:74:28: note: in definition of macro ‘DEFINE_OQS_GET_PRIV_RAW’
74 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:271:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
271 | DEFINE_OQS_ASN1_METHODS(rainbowIcompressed, OQS_SIG_alg_rainbow_I_compressed, EVP_PKEY_RAINBOWICOMPRESSED)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘rainbowIcompressed_set_pub_raw’:
../crypto/evp/p_oqs_asn1.c:271:45: error: ‘OQS_SIG_alg_rainbow_I_compressed’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_rainbow_Ia_cyclic_compressed’?
271 | DEFINE_OQS_ASN1_METHODS(rainbowIcompressed, OQS_SIG_alg_rainbow_I_compressed, EVP_PKEY_RAINBOWICOMPRESSED)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:118:28: note: in definition of macro ‘DEFINE_OQS_SET_PUB_RAW’
118 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:271:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
271 | DEFINE_OQS_ASN1_METHODS(rainbowIcompressed, OQS_SIG_alg_rainbow_I_compressed, EVP_PKEY_RAINBOWICOMPRESSED)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘rainbowIIIclassic_set_priv_raw’:
../crypto/evp/p_oqs_asn1.c:274:44: error: ‘OQS_SIG_alg_rainbow_III_classic’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_rainbow_IIIc_classic’?
274 | DEFINE_OQS_ASN1_METHODS(rainbowIIIclassic, OQS_SIG_alg_rainbow_III_classic, EVP_PKEY_RAINBOWIIICLASSIC)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:40:28: note: in definition of macro ‘DEFINE_OQS_SET_PRIV_RAW’
40 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:274:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
274 | DEFINE_OQS_ASN1_METHODS(rainbowIIIclassic, OQS_SIG_alg_rainbow_III_classic, EVP_PKEY_RAINBOWIIICLASSIC)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘rainbowIIIclassic_get_priv_raw’:
../crypto/evp/p_oqs_asn1.c:274:44: error: ‘OQS_SIG_alg_rainbow_III_classic’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_rainbow_IIIc_classic’?
274 | DEFINE_OQS_ASN1_METHODS(rainbowIIIclassic, OQS_SIG_alg_rainbow_III_classic, EVP_PKEY_RAINBOWIIICLASSIC)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:74:28: note: in definition of macro ‘DEFINE_OQS_GET_PRIV_RAW’
74 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:274:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
274 | DEFINE_OQS_ASN1_METHODS(rainbowIIIclassic, OQS_SIG_alg_rainbow_III_classic, EVP_PKEY_RAINBOWIIICLASSIC)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘rainbowIIIclassic_set_pub_raw’:
../crypto/evp/p_oqs_asn1.c:274:44: error: ‘OQS_SIG_alg_rainbow_III_classic’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_rainbow_IIIc_classic’?
274 | DEFINE_OQS_ASN1_METHODS(rainbowIIIclassic, OQS_SIG_alg_rainbow_III_classic, EVP_PKEY_RAINBOWIIICLASSIC)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:118:28: note: in definition of macro ‘DEFINE_OQS_SET_PUB_RAW’
118 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:274:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
274 | DEFINE_OQS_ASN1_METHODS(rainbowIIIclassic, OQS_SIG_alg_rainbow_III_classic, EVP_PKEY_RAINBOWIIICLASSIC)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘rainbowIIIcircumzenithal_set_priv_raw’:
../crypto/evp/p_oqs_asn1.c:277:51: error: ‘OQS_SIG_alg_rainbow_III_circumzenithal’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_rainbow_IIIc_cyclic’?
277 | DEFINE_OQS_ASN1_METHODS(rainbowIIIcircumzenithal, OQS_SIG_alg_rainbow_III_circumzenithal, EVP_PKEY_RAINBOWIIICIRCUMZENITHAL)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:40:28: note: in definition of macro ‘DEFINE_OQS_SET_PRIV_RAW’
40 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:277:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
277 | DEFINE_OQS_ASN1_METHODS(rainbowIIIcircumzenithal, OQS_SIG_alg_rainbow_III_circumzenithal, EVP_PKEY_RAINBOWIIICIRCUMZENITHAL)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘rainbowIIIcircumzenithal_get_priv_raw’:
../crypto/evp/p_oqs_asn1.c:277:51: error: ‘OQS_SIG_alg_rainbow_III_circumzenithal’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_rainbow_IIIc_cyclic’?
277 | DEFINE_OQS_ASN1_METHODS(rainbowIIIcircumzenithal, OQS_SIG_alg_rainbow_III_circumzenithal, EVP_PKEY_RAINBOWIIICIRCUMZENITHAL)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:74:28: note: in definition of macro ‘DEFINE_OQS_GET_PRIV_RAW’
74 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:277:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
277 | DEFINE_OQS_ASN1_METHODS(rainbowIIIcircumzenithal, OQS_SIG_alg_rainbow_III_circumzenithal, EVP_PKEY_RAINBOWIIICIRCUMZENITHAL)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘rainbowIIIcircumzenithal_set_pub_raw’:
../crypto/evp/p_oqs_asn1.c:277:51: error: ‘OQS_SIG_alg_rainbow_III_circumzenithal’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_rainbow_IIIc_cyclic’?
277 | DEFINE_OQS_ASN1_METHODS(rainbowIIIcircumzenithal, OQS_SIG_alg_rainbow_III_circumzenithal, EVP_PKEY_RAINBOWIIICIRCUMZENITHAL)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:118:28: note: in definition of macro ‘DEFINE_OQS_SET_PUB_RAW’
118 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:277:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
277 | DEFINE_OQS_ASN1_METHODS(rainbowIIIcircumzenithal, OQS_SIG_alg_rainbow_III_circumzenithal, EVP_PKEY_RAINBOWIIICIRCUMZENITHAL)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘rainbowIIIcompressed_set_priv_raw’:
../crypto/evp/p_oqs_asn1.c:280:47: error: ‘OQS_SIG_alg_rainbow_III_compressed’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_rainbow_Ia_cyclic_compressed’?
280 | DEFINE_OQS_ASN1_METHODS(rainbowIIIcompressed, OQS_SIG_alg_rainbow_III_compressed, EVP_PKEY_RAINBOWIIICOMPRESSED)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:40:28: note: in definition of macro ‘DEFINE_OQS_SET_PRIV_RAW’
40 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:280:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
280 | DEFINE_OQS_ASN1_METHODS(rainbowIIIcompressed, OQS_SIG_alg_rainbow_III_compressed, EVP_PKEY_RAINBOWIIICOMPRESSED)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘rainbowIIIcompressed_get_priv_raw’:
../crypto/evp/p_oqs_asn1.c:280:47: error: ‘OQS_SIG_alg_rainbow_III_compressed’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_rainbow_Ia_cyclic_compressed’?
280 | DEFINE_OQS_ASN1_METHODS(rainbowIIIcompressed, OQS_SIG_alg_rainbow_III_compressed, EVP_PKEY_RAINBOWIIICOMPRESSED)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:74:28: note: in definition of macro ‘DEFINE_OQS_GET_PRIV_RAW’
74 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:280:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
280 | DEFINE_OQS_ASN1_METHODS(rainbowIIIcompressed, OQS_SIG_alg_rainbow_III_compressed, EVP_PKEY_RAINBOWIIICOMPRESSED)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘rainbowIIIcompressed_set_pub_raw’:
../crypto/evp/p_oqs_asn1.c:280:47: error: ‘OQS_SIG_alg_rainbow_III_compressed’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_rainbow_Ia_cyclic_compressed’?
280 | DEFINE_OQS_ASN1_METHODS(rainbowIIIcompressed, OQS_SIG_alg_rainbow_III_compressed, EVP_PKEY_RAINBOWIIICOMPRESSED)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:118:28: note: in definition of macro ‘DEFINE_OQS_SET_PUB_RAW’
118 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:280:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
280 | DEFINE_OQS_ASN1_METHODS(rainbowIIIcompressed, OQS_SIG_alg_rainbow_III_compressed, EVP_PKEY_RAINBOWIIICOMPRESSED)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘rainbowVclassic_set_priv_raw’:
../crypto/evp/p_oqs_asn1.c:283:42: error: ‘OQS_SIG_alg_rainbow_V_classic’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_rainbow_Vc_classic’?
283 | DEFINE_OQS_ASN1_METHODS(rainbowVclassic, OQS_SIG_alg_rainbow_V_classic, EVP_PKEY_RAINBOWVCLASSIC)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:40:28: note: in definition of macro ‘DEFINE_OQS_SET_PRIV_RAW’
40 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:283:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
283 | DEFINE_OQS_ASN1_METHODS(rainbowVclassic, OQS_SIG_alg_rainbow_V_classic, EVP_PKEY_RAINBOWVCLASSIC)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘rainbowVclassic_get_priv_raw’:
../crypto/evp/p_oqs_asn1.c:283:42: error: ‘OQS_SIG_alg_rainbow_V_classic’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_rainbow_Vc_classic’?
283 | DEFINE_OQS_ASN1_METHODS(rainbowVclassic, OQS_SIG_alg_rainbow_V_classic, EVP_PKEY_RAINBOWVCLASSIC)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:74:28: note: in definition of macro ‘DEFINE_OQS_GET_PRIV_RAW’
74 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:283:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
283 | DEFINE_OQS_ASN1_METHODS(rainbowVclassic, OQS_SIG_alg_rainbow_V_classic, EVP_PKEY_RAINBOWVCLASSIC)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘rainbowVclassic_set_pub_raw’:
../crypto/evp/p_oqs_asn1.c:283:42: error: ‘OQS_SIG_alg_rainbow_V_classic’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_rainbow_Vc_classic’?
283 | DEFINE_OQS_ASN1_METHODS(rainbowVclassic, OQS_SIG_alg_rainbow_V_classic, EVP_PKEY_RAINBOWVCLASSIC)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:118:28: note: in definition of macro ‘DEFINE_OQS_SET_PUB_RAW’
118 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:283:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
283 | DEFINE_OQS_ASN1_METHODS(rainbowVclassic, OQS_SIG_alg_rainbow_V_classic, EVP_PKEY_RAINBOWVCLASSIC)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘rainbowVcircumzenithal_set_priv_raw’:
../crypto/evp/p_oqs_asn1.c:286:49: error: ‘OQS_SIG_alg_rainbow_V_circumzenithal’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_rainbow_Vc_cyclic’?
286 | DEFINE_OQS_ASN1_METHODS(rainbowVcircumzenithal, OQS_SIG_alg_rainbow_V_circumzenithal, EVP_PKEY_RAINBOWVCIRCUMZENITHAL)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:40:28: note: in definition of macro ‘DEFINE_OQS_SET_PRIV_RAW’
40 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:286:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
286 | DEFINE_OQS_ASN1_METHODS(rainbowVcircumzenithal, OQS_SIG_alg_rainbow_V_circumzenithal, EVP_PKEY_RAINBOWVCIRCUMZENITHAL)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘rainbowVcircumzenithal_get_priv_raw’:
../crypto/evp/p_oqs_asn1.c:286:49: error: ‘OQS_SIG_alg_rainbow_V_circumzenithal’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_rainbow_Vc_cyclic’?
286 | DEFINE_OQS_ASN1_METHODS(rainbowVcircumzenithal, OQS_SIG_alg_rainbow_V_circumzenithal, EVP_PKEY_RAINBOWVCIRCUMZENITHAL)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:74:28: note: in definition of macro ‘DEFINE_OQS_GET_PRIV_RAW’
74 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:286:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
286 | DEFINE_OQS_ASN1_METHODS(rainbowVcircumzenithal, OQS_SIG_alg_rainbow_V_circumzenithal, EVP_PKEY_RAINBOWVCIRCUMZENITHAL)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘rainbowVcircumzenithal_set_pub_raw’:
../crypto/evp/p_oqs_asn1.c:286:49: error: ‘OQS_SIG_alg_rainbow_V_circumzenithal’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_rainbow_Vc_cyclic’?
286 | DEFINE_OQS_ASN1_METHODS(rainbowVcircumzenithal, OQS_SIG_alg_rainbow_V_circumzenithal, EVP_PKEY_RAINBOWVCIRCUMZENITHAL)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:118:28: note: in definition of macro ‘DEFINE_OQS_SET_PUB_RAW’
118 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:286:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
286 | DEFINE_OQS_ASN1_METHODS(rainbowVcircumzenithal, OQS_SIG_alg_rainbow_V_circumzenithal, EVP_PKEY_RAINBOWVCIRCUMZENITHAL)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘rainbowVcompressed_set_priv_raw’:
../crypto/evp/p_oqs_asn1.c:289:45: error: ‘OQS_SIG_alg_rainbow_V_compressed’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_rainbow_Vc_classic’?
289 | DEFINE_OQS_ASN1_METHODS(rainbowVcompressed, OQS_SIG_alg_rainbow_V_compressed, EVP_PKEY_RAINBOWVCOMPRESSED)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:40:28: note: in definition of macro ‘DEFINE_OQS_SET_PRIV_RAW’
40 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:289:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
289 | DEFINE_OQS_ASN1_METHODS(rainbowVcompressed, OQS_SIG_alg_rainbow_V_compressed, EVP_PKEY_RAINBOWVCOMPRESSED)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘rainbowVcompressed_get_priv_raw’:
../crypto/evp/p_oqs_asn1.c:289:45: error: ‘OQS_SIG_alg_rainbow_V_compressed’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_rainbow_Vc_classic’?
289 | DEFINE_OQS_ASN1_METHODS(rainbowVcompressed, OQS_SIG_alg_rainbow_V_compressed, EVP_PKEY_RAINBOWVCOMPRESSED)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:74:28: note: in definition of macro ‘DEFINE_OQS_GET_PRIV_RAW’
74 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:289:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
289 | DEFINE_OQS_ASN1_METHODS(rainbowVcompressed, OQS_SIG_alg_rainbow_V_compressed, EVP_PKEY_RAINBOWVCOMPRESSED)
| ^~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c: In function ‘rainbowVcompressed_set_pub_raw’:
../crypto/evp/p_oqs_asn1.c:289:45: error: ‘OQS_SIG_alg_rainbow_V_compressed’ undeclared (first use in this function); did you mean ‘OQS_SIG_alg_rainbow_Vc_classic’?
289 | DEFINE_OQS_ASN1_METHODS(rainbowVcompressed, OQS_SIG_alg_rainbow_V_compressed, EVP_PKEY_RAINBOWVCOMPRESSED)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../crypto/evp/p_oqs_asn1.c:118:28: note: in definition of macro ‘DEFINE_OQS_SET_PUB_RAW’
118 | key->ctx = OQS_SIG_new(OQS_METH);
| ^~~~~~~~
../crypto/evp/p_oqs_asn1.c:289:1: note: in expansion of macro ‘DEFINE_OQS_ASN1_METHODS’
289 | DEFINE_OQS_ASN1_METHODS(rainbowVcompressed, OQS_SIG_alg_rainbow_V_compressed, EVP_PKEY_RAINBOWVCOMPRESSED)
| ^~~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.

Are you using liboqs version 0.4.0 or version 0.5.0 with BoringSSL?

0.4.0 . The one mentioned in the instruction. Should I switch to 0.5.0?

Yes, please try with 0.5.0. I think the README forgot to be updated to mention 0.5.0.

It worked! Thanks a lot.