signatures icon indicating copy to clipboard operation
signatures copied to clipboard

rfc6979: use `crypto-bigint`

Open tarcieri opened this issue 6 months ago • 0 comments

RFC6979 is defined in terms of integer operations, e.g.:

  • bits2int
  • mod
  • shr
  • int2octets

Our implementation previously avoided committing to any particular big integer library since dsa used num-bigint-dig and ecdsa used crypto-bigint. However, dsa has been migrated to crypto-bigint (#906), which means we can use crypto-bigint as the common big integer library for both without issue.

tarcieri avatar Aug 04 '25 15:08 tarcieri