Skip to content

Commit

Permalink
[ecdsa] do not export raw field in ecdsa_secp256k1
Browse files Browse the repository at this point in the history
  • Loading branch information
Vindaar committed Dec 30, 2024
1 parent fe0349c commit b8c972e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions constantine/ecdsa_secp256k1.nim
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ const prefix_ffi = "ctt_ecdsa_secp256k1_"
type
SecretKey* {.byref, exportc: prefix_ffi & "seckey".} = object
## A Secp256k1 secret key
raw*: Fr[Secp256k1]
raw: Fr[Secp256k1]

PublicKey* {.byref, exportc: prefix_ffi & "pubkey".} = object
## A Secp256k1 public key for ECDSA signatures
raw*: EC_ShortW_Aff[Fp[Secp256k1], G1]
raw: EC_ShortW_Aff[Fp[Secp256k1], G1]

Signature* {.byref, exportc: prefix_ffi & "signature".} = object
## A Secp256k1 signature for ECDSA signatures
Expand Down

0 comments on commit b8c972e

Please sign in to comment.