@@ -90,17 +90,17 @@ func init() {
90
90
})
91
91
ttlv .RegisterEnum (TagCryptographicAlgorithm , map [CryptographicAlgorithm ]string {
92
92
CryptographicAlgorithmDES : "DES" ,
93
- CryptographicAlgorithmTDES : "TDES " ,
93
+ CryptographicAlgorithm3DES : "DES3 " ,
94
94
CryptographicAlgorithmAES : "AES" ,
95
95
CryptographicAlgorithmRSA : "RSA" ,
96
96
CryptographicAlgorithmDSA : "DSA" ,
97
97
CryptographicAlgorithmECDSA : "ECDSA" ,
98
- CryptographicAlgorithmHMACSHA1 : "HMACSHA1 " ,
99
- CryptographicAlgorithmHMACSHA224 : "HMACSHA224 " ,
100
- CryptographicAlgorithmHMACSHA256 : "HMACSHA256 " ,
101
- CryptographicAlgorithmHMACSHA384 : "HMACSHA384 " ,
102
- CryptographicAlgorithmHMACSHA512 : "HMACSHA512 " ,
103
- CryptographicAlgorithmHMACMD5 : "HMACMD5 " ,
98
+ CryptographicAlgorithmHMACSHA1 : "HMAC_SHA1 " ,
99
+ CryptographicAlgorithmHMACSHA224 : "HMAC_SHA224 " ,
100
+ CryptographicAlgorithmHMACSHA256 : "HMAC_SHA256 " ,
101
+ CryptographicAlgorithmHMACSHA384 : "HMAC_SHA384 " ,
102
+ CryptographicAlgorithmHMACSHA512 : "HMAC_SHA512 " ,
103
+ CryptographicAlgorithmHMACMD5 : "HMAC_MD5 " ,
104
104
CryptographicAlgorithmDH : "DH" ,
105
105
CryptographicAlgorithmECDH : "ECDH" ,
106
106
CryptographicAlgorithmECMQV : "ECMQV" ,
@@ -816,7 +816,7 @@ type CryptographicAlgorithm uint32
816
816
817
817
const (
818
818
CryptographicAlgorithmDES CryptographicAlgorithm = 0x00000001
819
- CryptographicAlgorithmTDES CryptographicAlgorithm = 0x00000002
819
+ CryptographicAlgorithm3DES CryptographicAlgorithm = 0x00000002
820
820
CryptographicAlgorithmAES CryptographicAlgorithm = 0x00000003
821
821
CryptographicAlgorithmRSA CryptographicAlgorithm = 0x00000004
822
822
CryptographicAlgorithmDSA CryptographicAlgorithm = 0x00000005
0 commit comments