mirror of
https://github.com/danog/phpseclib.git
synced 2024-11-30 04:39:21 +01:00
ECDSA: add missing class variables for deterministic ECDSA
This commit is contained in:
parent
7d3b5a0c79
commit
e06f733528
@ -98,6 +98,27 @@ abstract class ECDSA extends AsymmetricKey
|
|||||||
*/
|
*/
|
||||||
private $curveName;
|
private $curveName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Curve Order
|
||||||
|
*
|
||||||
|
* Used for deterministic ECDSA
|
||||||
|
*
|
||||||
|
* @var \phpseclib\Math\BigInteger
|
||||||
|
*/
|
||||||
|
protected $q;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Alias for the private key
|
||||||
|
*
|
||||||
|
* Used for deterministic ECDSA. AsymmetricKey expects $x. I don't like x because
|
||||||
|
* with x you have x * the base point yielding an (x, y)-coordinate that is the
|
||||||
|
* public key. But the x is different depending on which side of the equal sign
|
||||||
|
* you're on. It's less ambiguous if you do dA * base point = (x, y)-coordinate.
|
||||||
|
*
|
||||||
|
* @var \phpseclib\Math\BigInteger
|
||||||
|
*/
|
||||||
|
protected $x;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Context
|
* Context
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user