diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-09-10 13:04:46 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-09-10 13:04:46 +0000 |
commit | e689ee017aa0a144439d7eb067b0308e8eff526a (patch) | |
tree | 6ce686b62dc34dd8bb01883274ad19bbcc427ca9 /src/include/gnunet_namestore_service.h | |
parent | ab956c7af36d37f41c676da4c90e20a6df639bc8 (diff) | |
download | gnunet-e689ee017aa0a144439d7eb067b0308e8eff526a.tar.gz gnunet-e689ee017aa0a144439d7eb067b0308e8eff526a.zip |
change .zkey encoding in anticipation of compact point encodings
Diffstat (limited to 'src/include/gnunet_namestore_service.h')
-rw-r--r-- | src/include/gnunet_namestore_service.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/gnunet_namestore_service.h b/src/include/gnunet_namestore_service.h index 8982df2bc..ef7d516af 100644 --- a/src/include/gnunet_namestore_service.h +++ b/src/include/gnunet_namestore_service.h | |||
@@ -613,8 +613,8 @@ GNUNET_NAMESTORE_z2s (const struct GNUNET_CRYPTO_EccPublicKey *z); | |||
613 | * This is one of the very few calls in the entire API that is | 613 | * This is one of the very few calls in the entire API that is |
614 | * NOT reentrant! | 614 | * NOT reentrant! |
615 | * | 615 | * |
616 | * @param pkey a public key with (x,y) on the eliptic curve | 616 | * @param pkey a public key with a point on the eliptic curve |
617 | * @return string "Y.X.zkey" where X and Y are the coordinates of the public | 617 | * @return string "X.zkey" where X is the coordinates of the public |
618 | * key in an encoding suitable for DNS labels. | 618 | * key in an encoding suitable for DNS labels. |
619 | */ | 619 | */ |
620 | const char * | 620 | const char * |
@@ -625,9 +625,9 @@ GNUNET_NAMESTORE_pkey_to_zkey (const struct GNUNET_CRYPTO_EccPublicKey *pkey); | |||
625 | * Convert an absolute domain name in the ".zkey" pTLD to the | 625 | * Convert an absolute domain name in the ".zkey" pTLD to the |
626 | * respective public key. | 626 | * respective public key. |
627 | * | 627 | * |
628 | * @param zkey string "Y.X.zkey" where X and Y are the coordinates of the public | 628 | * @param zkey string "X.zkey" where X is the public |
629 | * key in an encoding suitable for DNS labels. | 629 | * key in an encoding suitable for DNS labels. |
630 | * @param pkey set to a public key with (x,y) on the eliptic curve | 630 | * @param pkey set to a public key on the eliptic curve |
631 | * @return #GNUNET_SYSERR if @a zkey has the wrong syntax | 631 | * @return #GNUNET_SYSERR if @a zkey has the wrong syntax |
632 | */ | 632 | */ |
633 | int | 633 | int |