diff options
author | Bernd Fix <brf@hoi-polloi.org> | 2018-07-12 23:03:20 +0200 |
---|---|---|
committer | Bernd Fix <brf@hoi-polloi.org> | 2018-07-12 23:03:20 +0200 |
commit | 4438597b90a7ed009e96aef280fd3be0b1576076 (patch) | |
tree | 2b6fe910ab4d176fa52acfeac1b12e7dfe78dacc | |
parent | 92e1498718d150df76d41e610b70df5aabd5f467 (diff) | |
download | gnunet-4438597b90a7ed009e96aef280fd3be0b1576076.tar.gz gnunet-4438597b90a7ed009e96aef280fd3be0b1576076.zip |
Changed decription of GNUNET_CRYPTO_EddsaPublicKey.
-rw-r--r-- | src/include/gnunet_crypto_lib.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h index 0bffef212..7b69c157f 100644 --- a/src/include/gnunet_crypto_lib.h +++ b/src/include/gnunet_crypto_lib.h | |||
@@ -206,14 +206,15 @@ struct GNUNET_CRYPTO_EcdsaSignature | |||
206 | 206 | ||
207 | 207 | ||
208 | /** | 208 | /** |
209 | * Public ECC key (always for Curve25519) encoded in a format suitable | 209 | * Public ECC key (always for curve Ed25519) encoded in a format |
210 | * for network transmission and EdDSA signatures. | 210 | * suitable for network transmission and EdDSA signatures. |
211 | */ | 211 | */ |
212 | struct GNUNET_CRYPTO_EddsaPublicKey | 212 | struct GNUNET_CRYPTO_EddsaPublicKey |
213 | { | 213 | { |
214 | /** | 214 | /** |
215 | * Q consists of an x- and a y-value, each mod p (256 bits), given | 215 | * Point Q consists of a y-value mod p (256 bits); the x-value is |
216 | * here in affine coordinates and Ed25519 standard compact format. | 216 | * always positive. The point is stored in Ed25519 standard |
217 | * compact format. | ||
217 | */ | 218 | */ |
218 | unsigned char q_y[256 / 8]; | 219 | unsigned char q_y[256 / 8]; |
219 | 220 | ||