fix take 2

This commit is contained in:
zzz
2019-03-09 18:11:39 +00:00
parent fb1c771197
commit 6548456d98

View File

@ -810,6 +810,7 @@ GENERATE_ALPHA(destination, date, secret), for all parties:
{% highlight lang='text' %}
// GENERATE_ALPHA(destination, date, secret)
// secret is optional, else zero-length
A = destination's signing public key
stA = signature type of A, 2 bytes big endian (0x0007 or 0x000b)
@ -819,6 +820,7 @@ GENERATE_ALPHA(destination, date, secret), for all parties:
seed = HKDF(H("I2PGenerateAlpha", keydata), datestring || secret, "i2pblinding1", 64)
// treat seed as a 64 byte little-endian value
alpha = seed mod l
{% endhighlight %}
BLIND_PRIVKEY(), for the owner publishing the leaseset:
@ -826,6 +828,7 @@ BLIND_PRIVKEY(), for the owner publishing the leaseset:
{% highlight lang='text' %}
// BLIND_PRIVKEY()
alpha = GENERATE_ALPHA(destination, date, secret)
a = destination's signing private key
// Addition using scalar arithmentic
@ -839,6 +842,7 @@ BLIND_PUBKEY(), for the clients retrieving the leaseset:
{% highlight lang='text' %}
// BLIND_PUBKEY()
alpha = GENERATE_ALPHA(destination, date, secret)
A = destination's signing public key
// Addition using group elements (points on the curve)