Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
deatil committed Aug 20, 2024
1 parent 5422a5c commit f00794e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion elgamal/key_pkcs8.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ import (

var (
// elgamal 公钥 oid
oidPublicKeyEIGamal = asn1.ObjectIdentifier{1, 3, 6, 1, 4, 1, 3029, 1, 2, 1}
oidPublicKeyEIGamal = asn1.ObjectIdentifier{1, 3, 14, 7, 2, 1, 1}
// for EC-EIGamal
// oidPublicKeyEIGamal = asn1.ObjectIdentifier{1, 3, 6, 1, 4, 1, 3029, 1, 2, 1}
)

// elgamal Parameters
Expand Down

0 comments on commit f00794e

Please sign in to comment.