Skip to content

Commit

Permalink
remove previous ecKeygen
Browse files Browse the repository at this point in the history
  • Loading branch information
diegomrsantos committed Jul 15, 2024
1 parent c13d1ea commit 3b84fff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bearssl/abi/bearssl_ec.nim
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,9 @@ proc ecKeygen*(rngCtx: PrngClassPointerConst; impl: ptr EcImpl; sk: ptr EcPrivat
kbuf: pointer; curve: cint): uint {.importcFunc, importc: "br_ec_keygen",
header: "bearssl_ec.h".}

proc ecKeygen*(rngCtx: ptr ptr PrngClass; impl: ptr EcImpl; sk: ptr EcPrivateKey;
kbuf: pointer; curve: cint): uint =
ecKeygen(PrngClassPointerConst(rngCtx), impl, sk, kbuf, curve)
# proc ecKeygen*(rngCtx: ptr ptr PrngClass; impl: ptr EcImpl; sk: ptr EcPrivateKey;
# kbuf: pointer; curve: cint): uint =
# ecKeygen(PrngClassPointerConst(rngCtx), impl, sk, kbuf, curve)

proc ecComputePub*(impl: ptr EcImpl; pk: ptr EcPublicKey; kbuf: pointer;
sk: ptr EcPrivateKey): uint {.importcFunc,
Expand Down

0 comments on commit 3b84fff

Please sign in to comment.