/home/yoga/桌面/LESS-main/Utilities/Benchmarking/lib/less_benchmark.c:52:5: error: unknown type name ‘generator_mat_t’
52 | generator_mat_t G;
| ^~~~~~~~~~~~~~~
/home/yoga/桌面/LESS-main/Utilities/Benchmarking/lib/less_benchmark.c:53:5: warning: implicit declaration of function ‘generator_rnd’ [-Wimplicit-function-declaration]
53 | generator_rnd(&G);
| ^~~~~~~~~~~~~
/home/yoga/桌面/LESS-main/Utilities/Benchmarking/lib/less_benchmark.c:45:12: error: ‘N’ undeclared (first use in this function)
45 | #define NN N
| ^
/home/yoga/桌面/LESS-main/Utilities/Benchmarking/lib/less_benchmark.c:54:29: note: in expansion of macro ‘NN’
54 | uint8_t is_pivot_column[NN];
| ^~
/home/yoga/桌面/LESS-main/Utilities/Benchmarking/lib/less_benchmark.c:45:12: note: each undeclared identifier is reported only once for each function it appears in
45 | #define NN N
| ^
/home/yoga/桌面/LESS-main/Utilities/Benchmarking/lib/less_benchmark.c:54:29: note: in expansion of macro ‘NN’
54 | uint8_t is_pivot_column[NN];
| ^~
/home/yoga/桌面/LESS-main/Utilities/Benchmarking/lib/less_benchmark.c:59:9: warning: implicit declaration of function ‘generator_RREF’ [-Wimplicit-function-declaration]
59 | generator_RREF(&G,is_pivot_column);
| ^~~~~~~~~~~~~~
/home/yoga/桌面/LESS-main/Utilities/Benchmarking/lib/less_benchmark.c:54:13: warning: unused variable ‘is_pivot_column’ [-Wunused-variable]
54 | uint8_t is_pivot_column[NN];
| ^~~~~~~~~~~~~~~
/home/yoga/桌面/LESS-main/Utilities/Benchmarking/lib/less_benchmark.c: In function ‘info’:
/home/yoga/桌面/LESS-main/Utilities/Benchmarking/lib/less_benchmark.c:69:61: error: ‘N’ undeclared (first use in this function); did you mean ‘NN’?
69 | fprintf(stdout,"Code parameters: n= %d, k= %d, q=%d\n", N,K,Q);
| ^
| NN
/home/yoga/桌面/LESS-main/Utilities/Benchmarking/lib/less_benchmark.c:69:63: error: ‘K’ undeclared (first use in this function)
69 | fprintf(stdout,"Code parameters: n= %d, k= %d, q=%d\n", N,K,Q);
| ^
/home/yoga/桌面/LESS-main/Utilities/Benchmarking/lib/less_benchmark.c:69:65: error: ‘Q’ undeclared (first use in this function)
69 | fprintf(stdout,"Code parameters: n= %d, k= %d, q=%d\n", N,K,Q);
| ^
/home/yoga/桌面/LESS-main/Utilities/Benchmarking/lib/less_benchmark.c:70:43: error: ‘NUM_KEYPAIRS’ undeclared (first use in this function)
70 | fprintf(stdout,"num. keypairs = %d\n",NUM_KEYPAIRS);
| ^~~~~~~~~~~~
/home/yoga/桌面/LESS-main/Utilities/Benchmarking/lib/less_benchmark.c:71:77: error: ‘T’ undeclared (first use in this function)
71 | f(stdout,"Fixed weight challenge vector: %d rounds, weight %d \n",T,W);
| ^
/home/yoga/桌面/LESS-main/Utilities/Benchmarking/lib/less_benchmark.c:71:79: error: ‘W’ undeclared (first use in this function)
71 | f(stdout,"Fixed weight challenge vector: %d rounds, weight %d \n",T,W);
| ^
/home/yoga/桌面/LESS-main/Utilities/Benchmarking/lib/less_benchmark.c:72:50: error: ‘prikey_t’ undeclared (first use in this function); did you mean ‘key_t’?
72 | fprintf(stdout,"Private key: %luB\n", sizeof(prikey_t));
| ^~~~~~~~
| key_t
/home/yoga/桌面/LESS-main/Utilities/Benchmarking/lib/less_benchmark.c:73:48: error: ‘pubkey_t’ undeclared (first use in this function); did you mean ‘key_t’?
73 | fprintf(stdout,"Public key %luB\n", sizeof(pubkey_t));
| ^~~~~~~~
| key_t
/home/yoga/桌面/LESS-main/Utilities/Benchmarking/lib/less_benchmark.c:74:52: error: ‘sign_t’ undeclared (first use in this function); did you mean ‘size_t’?
74 | fprintf(stdout,"Signature: %luB, %f\n", sizeof(sign_t), ((float) sizeof(sign_t))/1024);
| ^~~~~~
| size_t
/home/yoga/桌面/LESS-main/Utilities/Benchmarking/lib/less_benchmark.c: In function ‘LESS_sign_verify_speed’:
/home/yoga/桌面/LESS-main/Utilities/Benchmarking/lib/less_benchmark.c:81:5: error: unknown type name ‘pubkey_t’; did you mean ‘key_t’?
81 | pubkey_t pk;
| ^~~~~~~~
| key_t
/home/yoga/桌面/LESS-main/Utilities/Benchmarking/lib/less_benchmark.c:82:5: error: unknown type name ‘prikey_t’; did you mean ‘key_t’?
82 | prikey_t sk;
| ^~~~~~~~
| key_t
/home/yoga/桌面/LESS-main/Utilities/Benchmarking/lib/less_benchmark.c:83:5: error: unknown type name ‘sign_t’; did you mean ‘size_t’?
83 | sign_t signature;
| ^~~~~~
| size_t
/home/yoga/桌面/LESS-main/Utilities/Benchmarking/lib/less_benchmark.c:91:9: warning: implicit declaration of function ‘LESS_keygen’ [-Wimplicit-function-declaration]
91 | LESS_keygen(&sk,&pk);
| ^~~~~~~~~~~
/home/yoga/桌面/LESS-main/Utilities/Benchmarking/lib/less_benchmark.c:101:9: warning: implicit declaration of function ‘LESS_sign’ [-Wimplicit-function-declaration]
101 | LESS_sign(&sk,message,8,&signature);
| ^~~~~~~~~
/home/yoga/桌面/LESS-main/Utilities/Benchmarking/lib/less_benchmark.c:112:27: warning: implicit declaration of function ‘LESS_verify’ [-Wimplicit-function-declaration]
112 | is_signature_ok = LESS_verify(&pk,message,8,&signature);
| ^~~~~~~~~~~
/home/yoga/桌面/LESS-main/Utilities/Benchmarking/lib/less_benchmark.c: In function ‘main’:
/home/yoga/桌面/LESS-main/Utilities/Benchmarking/lib/less_benchmark.c:130:5: warning: implicit declaration of function ‘initialize_csprng’ [-Wimplicit-function-declaration]
130 | initialize_csprng(&platform_csprng_state,
| ^~~~~~~~~~~~~~~~~
/home/yoga/桌面/LESS-main/Utilities/Benchmarking/lib/less_benchmark.c:130:24: error: ‘platform_csprng_state’ undeclared (first use in this function)
130 | initialize_csprng(&platform_csprng_state,
| ^~~~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/LESS_benchmark_cat_1_SHORT_SIG.dir/build.make:202:CMakeFiles/LESS_benchmark_cat_1_SHORT_SIG.dir/lib/less_benchmark.c.o] 错误 1
make[1]: *** [CMakeFiles/Makefile2:109:CMakeFiles/LESS_benchmark_cat_1_SHORT_SIG.dir/all] 错误 2
make: *** [Makefile:91:all] 错误 2