diff --git a/key.go b/key.go index dae9eb0..c7b4665 100644 --- a/key.go +++ b/key.go @@ -45,11 +45,11 @@ const ( KeyTypeDSA4 = NID_dsaWithSHA1_2 KeyTypeDH = NID_dhKeyAgreement KeyTypeDHX = NID_dhpublicnumber - KeyTypeEC = NID_x9_62_id_ecPublicKey + KeyTypeEC = NID_X9_62_id_ecPublicKey KeyTypeHMAC = NID_hmac KeyTypeCMAC = NID_cmac KeyTypeTLS1PRF = NID_tls1_prf - KeyTypeHKDF = NID_hdkf + KeyTypeHKDF = NID_hkdf ) type PublicKey interface { diff --git a/nid.go b/nid.go index f96c90a..6766b84 100644 --- a/nid.go +++ b/nid.go @@ -197,10 +197,10 @@ const ( NID_ad_OCSP NID = 178 NID_ad_ca_issuers NID = 179 NID_OCSP_sign NID = 180 - NID_x9_62_id_ecPublicKey NID = 408 + NID_X9_62_id_ecPublicKey NID = 408 NID_hmac NID = 855 NID_cmac NID = 894 NID_dhpublicnumber NID = 920 NID_tls1_prf NID = 1021 - NID_hdkf NID = 1036 + NID_hkdf NID = 1036 )