Skip to content

Commit

Permalink
Update cng/big.go
Browse files Browse the repository at this point in the history
Co-authored-by: Davis Goodin <[email protected]>
  • Loading branch information
qmuntal and dagood committed Jun 30, 2022
1 parent 800268c commit ce4cf37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cng/big.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ package cng
// Go crypto references BigInt unconditionally,
// even if it is not finally used.

// A BigInt is the raw big-endian bytes from a BigInt.
// A BigInt is the big-endian bytes from a math/big BigInt.
// Windows BCrypt accepts this specific data format.
// This definition allows us to avoid importing math/big.
// Conversion between BigInt and *big.Int is in cng/bbig.
type BigInt []byte

0 comments on commit ce4cf37

Please sign in to comment.