-
Notifications
You must be signed in to change notification settings - Fork 4
/
const.go
59 lines (58 loc) · 1.47 KB
/
const.go
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
package sdf
const (
SDR_OK = 0x00000000
SDR_BASE = 0x01000000
)
const (
SGD_TRUE = 0x00000001
SGD_FALSE = 0x00000000
SGD_SM1_ECB = 0x00000101
SGD_SM1_CBC = 0x00000102
SGD_SM1_CFB = 0x00000104
SGD_SM1_OFB = 0x00000108
SGD_SM1_MAC = 0x00000110
SGD_SM1_CTR = 0x00000120
SGD_SSF33_ECB = 0x00000201
SGD_SSF33_CBC = 0x00000202
SGD_SSF33_CFB = 0x00000204
SGD_SSF33_OFB = 0x00000208
SGD_SSF33_MAC = 0x00000210
SGD_SSF33_CTR = 0x00000220
SGD_SMS4_ECB = 0x00000401
SGD_SMS4_CBC = 0x00000402
SGD_SMS4_CFB = 0x00000404
SGD_SMS4_OFB = 0x00000408
SGD_SMS4_MAC = 0x00000410
SGD_SMS4_CTR = 0x00000420
SGD_3DES_ECB = 0x00000801
SGD_3DES_CBC = 0x00000802
SGD_3DES_CFB = 0x00000804
SGD_3DES_OFB = 0x00000808
SGD_3DES_MAC = 0x00000810
SGD_3DES_CTR = 0x00000820
SGD_AES_ECB = 0x00002001
SGD_AES_CBC = 0x00002002
SGD_AES_CFB = 0x00002004
SGD_AES_OFB = 0x00002008
SGD_AES_MAC = 0x00002010
SGD_AES_CTR = 0x00002020
SGD_RSA = 0x00010000
SGD_RSA_SIGN = 0x00010100
SGD_RSA_ENC = 0x00010200
SGD_SM2 = 0x00020100
SGD_SM2_1 = 0x00020200
SGD_SM2_2 = 0x00020400
SGD_SM2_3 = 0x00020800
SGD_SM9 = 0x00100000
SGD_SM9_1 = 0x00100100
SGD_SM9_2 = 0x00100200
SGD_SM9_3 = 0x00100400
SGD_SM9_4 = 0x00100800
SGD_SM3 = 0x00000001
SGD_SHA1 = 0x00000002
SGD_SHA256 = 0x00000004
SGD_SHA512 = 0x00000008
SGD_SHA384 = 0x00000010
SGD_SHA224 = 0x00000020
SGD_MD5 = 0x00000080
)