diff --git a/INSTALL b/INSTALL index 50ced3e78ac35bb29080d5b6a23e587954fc1a18..f2a1b88eb9c3af401fa1bd8fffc23e654b525e73 100644 --- a/INSTALL +++ b/INSTALL @@ -11,7 +11,7 @@ Most systems include a package for GMP. To install GMP in Debian / Ubuntu: For an RPM installation with YUM: - sudo yum install gmp + sudo yum install gmp-devel For installation with Fink (http://www.finkproject.org/) on Mac OS X: diff --git a/doc.go b/doc.go index c61311e0714fcc900f2c839d45f0f2b554972c1d..d225d43fbc62acf1ca7bb348a14089cd1a329821 100644 --- a/doc.go +++ b/doc.go @@ -78,7 +78,7 @@ For an RPM installation with YUM: - sudo yum install gmp + sudo yum install gmp-devel For installation with Fink (http://www.finkproject.org/) on Mac OS X: diff --git a/element.go b/element.go index 7a1a0c708b1323725d0fd18b1f811ee121001cfe..2e1e085175f2d34b68bf057b458a8eafd1a18f51 100644 --- a/element.go +++ b/element.go @@ -85,9 +85,9 @@ import "runtime" // or unchecked. Unchecked elements do not perform any sanity checks; calls are // passed directly to the C library, with the possible consequences mentioned // above. Checked elements attempt to catch a variety of errors, such as when -// elements from mismatched algebraic structures or pairings. If an error is -// detected, the operation will panic with ErrIllegalOp, ErrUncheckedOp, -// ErrIncompatible, or a similar error. +// invalid operations are performed on elements from mismatched algebraic +// structures or pairings. If an error is detected, the operation will panic +// with ErrIllegalOp, ErrUncheckedOp, ErrIncompatible, or a similar error. // // The decision on whether or not to check operations is based solely on // whether or not the target element is checked. Thus, if an unchecked element diff --git a/generation.go b/generation.go index e78e2886c997842628fd3a5d527c61540c8c1374..bb9ce576a0760f765b189c6668f130c1340e2d70 100644 --- a/generation.go +++ b/generation.go @@ -99,7 +99,7 @@ func GenerateA1(r *big.Int) *Params { // of D, no suitable curves can be found. In this case, GenerateD returns nil // and ErrNoSuitableCurves. // -// The rbits and qbits parameters sit minimum sizes for group orders. To be +// The rbits and qbits parameters set minimum sizes for group orders. To be // secure, generic discrete log algorithms must be infeasible in groups of order // r, and finite field discrete log algorithms must be infeasible in groups of // order q^6.