@@ -90,17 +90,17 @@ func init() {
9090 })
9191 ttlv .RegisterEnum (TagCryptographicAlgorithm , map [CryptographicAlgorithm ]string {
9292 CryptographicAlgorithmDES : "DES" ,
93- CryptographicAlgorithmTDES : "TDES " ,
93+ CryptographicAlgorithm3DES : "DES3 " ,
9494 CryptographicAlgorithmAES : "AES" ,
9595 CryptographicAlgorithmRSA : "RSA" ,
9696 CryptographicAlgorithmDSA : "DSA" ,
9797 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 " ,
104104 CryptographicAlgorithmDH : "DH" ,
105105 CryptographicAlgorithmECDH : "ECDH" ,
106106 CryptographicAlgorithmECMQV : "ECMQV" ,
@@ -816,7 +816,7 @@ type CryptographicAlgorithm uint32
816816
817817const (
818818 CryptographicAlgorithmDES CryptographicAlgorithm = 0x00000001
819- CryptographicAlgorithmTDES CryptographicAlgorithm = 0x00000002
819+ CryptographicAlgorithm3DES CryptographicAlgorithm = 0x00000002
820820 CryptographicAlgorithmAES CryptographicAlgorithm = 0x00000003
821821 CryptographicAlgorithmRSA CryptographicAlgorithm = 0x00000004
822822 CryptographicAlgorithmDSA CryptographicAlgorithm = 0x00000005
0 commit comments