-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtongsuo-speed-result.sql
98 lines (94 loc) · 4.84 KB
/
tongsuo-speed-result.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
/******************************************/
/* DatabaseName = tongsuo-benchmark */
/* TableName = digest */
/******************************************/
CREATE TABLE `digest` (
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
`last_commit` char(64) DEFAULT NULL COMMENT '最后一次提交的 commit',
`my_commit` char(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '本条记录提交的 commit',
`algorithm` char(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '算法',
`bytes16` bigint DEFAULT NULL,
`bytes64` bigint DEFAULT NULL,
`bytes256` bigint DEFAULT NULL,
`bytes1024` bigint DEFAULT NULL,
`bytes8192` bigint DEFAULT NULL,
`bytes16384` bigint DEFAULT NULL,
`date` datetime DEFAULT NULL COMMENT '测试时间',
`job_date` datetime DEFAULT NULL COMMENT 'job 运行时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8mb3 COMMENT='摘要算法性能数据'
;
/******************************************/
/* DatabaseName = tongsuo-benchmark */
/* TableName = key_exchange */
/******************************************/
CREATE TABLE `key_exchange` (
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
`last_commit` char(64) DEFAULT NULL COMMENT '最后一次提交的 commit',
`my_commit` char(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '本条记录提交的 commit',
`algorithm` char(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '算法',
`op_time` decimal(10,6) DEFAULT NULL,
`op_qps` decimal(10,1) DEFAULT NULL,
`date` datetime DEFAULT NULL COMMENT '测试时间',
`job_date` datetime DEFAULT NULL COMMENT 'job 运行时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=36 DEFAULT CHARSET=utf8mb3 COMMENT='密钥交换算法性能数据'
;
/******************************************/
/* DatabaseName = tongsuo-benchmark */
/* TableName = phe */
/******************************************/
CREATE TABLE `phe` (
`id` bigint NOT NULL AUTO_INCREMENT,
`last_commit` char(64) DEFAULT NULL COMMENT '最后一次提交的 commit',
`my_commit` char(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '本条记录提交的 commit',
`algorithm` char(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '算法',
`a` int DEFAULT NULL COMMENT '明文 a',
`b` int DEFAULT NULL COMMENT '明文 b',
`encrypt_qps` decimal(10,1) DEFAULT NULL,
`decrypt_qps` decimal(10,1) DEFAULT NULL,
`add_qps` decimal(10,1) DEFAULT NULL,
`sub_qps` decimal(10,1) DEFAULT NULL,
`scalar_mul_qps` decimal(10,1) DEFAULT NULL,
`date` datetime DEFAULT NULL,
`job_date` datetime DEFAULT NULL COMMENT 'job 运行时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=80 DEFAULT CHARSET=utf8mb3 COMMENT='半同态加密算法性能数据'
;
/******************************************/
/* DatabaseName = tongsuo-benchmark */
/* TableName = signature */
/******************************************/
CREATE TABLE `signature` (
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
`last_commit` char(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '最后提交一次的 commit',
`my_commit` char(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '本条记录提交的 commit',
`algorithm` char(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '算法',
`sign_time` decimal(10,6) DEFAULT NULL COMMENT '签名时间,单位:s',
`verify_time` decimal(10,6) DEFAULT NULL COMMENT '验签时间,单位:s',
`sign_qps` decimal(10,1) DEFAULT NULL COMMENT '签名 qps',
`verify_qps` decimal(10,1) DEFAULT NULL COMMENT '验签 qps',
`date` datetime DEFAULT NULL COMMENT '测试时间',
`job_date` datetime DEFAULT NULL COMMENT 'job 运行时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=33 DEFAULT CHARSET=utf8mb3 COMMENT='签名算法性能数据'
;
/******************************************/
/* DatabaseName = tongsuo-benchmark */
/* TableName = symmetric_encryption */
/******************************************/
CREATE TABLE `symmetric_encryption` (
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
`last_commit` char(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '最后一次提交的 commit',
`my_commit` char(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '本条记录提交的 commit',
`algorithm` char(64) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '算法',
`bytes16` bigint DEFAULT NULL,
`bytes64` bigint DEFAULT NULL,
`bytes256` bigint DEFAULT NULL,
`bytes1024` bigint DEFAULT NULL,
`bytes8192` bigint DEFAULT NULL,
`date` datetime DEFAULT NULL COMMENT '测试时间',
`job_date` datetime DEFAULT NULL COMMENT 'job 运行时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=127 DEFAULT CHARSET=utf8mb3 COMMENT='对称加密性能数据'
;