LESS-MAIN

news/2024/12/19 22:44:42/文章来源:https://www.cnblogs.com/yogahuu/p/18618065

/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

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.hqwc.cn/news/855628.html

如若内容造成侵权/违法违规/事实不符,请联系编程知识网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

javaweb实战02

javaweb实战02 本次开始配置目录和包以及构建数据库然后就可以按照业务逻辑书写页面,页面包含登录和注册两个功能 首先开发登录页面 <%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ page isELIgnored="false"…

1大模型应用开发基础

一、目标 懂得AI,懂得编程、懂得业务的超级个体,将会是AGI时代最重要的人。 AI使得一个人能够干多个人的活 想要做到“AI全栈”需要涉及的知识面是非常广泛的,单单学习一门课程是不能全部涉及的 我们首先需要做的是入门,后面走的深入,走的远只能靠自己,依靠社群,和AI的进…

grpc安装(windows or Linux)

grpc安装(windows or Linux) 下载源码 这里使用 gRPC 最新版本源代码进行编译和安装,版本号为 v1.50.0, 以下为安装步骤: 一、使用Git克隆gRPC到本地 在终端中打开某一文件夹,建议新建一个单独存放 gRPC 源代码的文件夹,输入: git clone -b v1.50.0 https://github.com/…

Golang内存模型与源码解析

0、引言 本篇笔记用于记录作者在学习Golang的GC模型之前,对Golang内存模型的学习。目前使用的Go版本为1.22.4 1、Golang内存管理宏观结构 假设我们每次向内存池申请空间时,都需要频繁地向操作系统发出请求,这不仅会增加内存分配的时间,还可能引入竞争和锁的开销,从而导致性…

图床试验

本文来自博客园,作者:Glowingfire,转载请注明原文链接:https://www.cnblogs.com/Glowingfire/p/18617999

一文搞定理解RPC

前言RPC概念RPC协议RPC组成RPC协议RPC框架RPC的优点RPC与HTTP的区别 前言 RPC的概念相信很多软件从业人员或多或少都接触过,从开发到测试都可能需要跟它打交道。 但是对于为什么要用RPC?RPC的优点是什么?RPC是什么原理?它跟HTTP有什么不同?相信并不是每个人都比较熟悉。 那…

全场景一站式2024最新vmware环境下安装win7并且破解QTP

目录VMwareVMware和Ubuntu下载链接下载Win 7 系统各个操作系统网站激活码是什么查看是否激活激活操作vmware下安装ubuntu创建虚拟机下载VMtool灰色灰色按键点击不了下载提示有问题原因文件传递共享文件借助外界U盘有了VMTool就可以直接拖拽!!!!有了VMTool就可以全屏化——倒…

20222321 2024-2025-1 《网络与系统攻防技术》实验八实验报告

一.实验内容 (1)Web前端HTML 能正常安装、启停Apache。理解HTML,理解表单,理解GET与POST方法,编写一个含有表单的HTML。 (2)Web前端javascipt 理解JavaScript的基本功能,理解DOM。 在(1)的基础上,编写JavaScript验证用户名、密码的规则。在用户点击登陆按钮后回显“欢迎…

数量

技巧 比例型 出现一个比例,存在四种倍数关系倍数 你们有啥公因子,我也必须有尾数 出现乘法,分析个位,考虑尾数 。乘法中出现5和10尾数就确认了奇偶 与偶数相乘一定是偶数,与奇数相乘可能为偶数也可能为奇数拓展猜题 当 A = B*C ,求A ,考虑A的倍数 工程问题 利润问题 求最…

LVGL学习 - Visual Studio外部“.c.h”文件添加

LVGL项目工程添加“.c.h”文件后 “C1083”“LNK2019”报错的解决方法一、首先把文件添加至工程,现有项选择所需添加的“.c.h”文件但还是会有如下报错,解决方法在第2步。二、“.c”文件需要添加“extern "C"” 下图截至官方文档我试了只添加“extern "C"…

组合数学+ybt题解

加法原理 乘法原理 排列数 从 \(n\) 个数中任取 \(m\) 个元素的排列的方案数,表示为 \(A^m_n=\frac{n!}{(n-m)!}\) \(0!=1\) 全排列 \(A^n_n\) 组合数 从 \(n\) 个元素中取出 \(m\) 个元素的组合的个数,表示为 \(\dbinom{n}{m}= \frac{A^m_n}{m!}=\frac{n!}{m!(n-m)!}\) 如何…