diff options
author | Mikolai Gütschow <mikolai.guetschow@tu-dresden.de> | 2023-10-11 16:55:00 +0200 |
---|---|---|
committer | Mikolai Gütschow <mikolai.guetschow@tu-dresden.de> | 2023-10-11 16:55:00 +0200 |
commit | 9efdd84085b1130e142a99a2c5cb3d108ec6f2b6 (patch) | |
tree | e80d23ecdc91319f75cbbe09665956d202178ece | |
parent | 7847dceba0525a56ad477d9d8107ffd6f5050b1d (diff) | |
download | docs-dev/mikolai/fix-signature-order.tar.gz docs-dev/mikolai/fix-signature-order.tar.bz2 docs-dev/mikolai/fix-signature-order.zip |
api-common: fix order of fields in GNUNET_CRYPTO_EccSignaturePurposedev/mikolai/fix-signature-order
see https://docs.gnunet.org/doxygen/d7/d7f/structGNUNET__CRYPTO__EccSignaturePurpose.html as reference
-rw-r--r-- | core/api-common.rst | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/core/api-common.rst b/core/api-common.rst index ae4abcc4..6e9db257 100644 --- a/core/api-common.rst +++ b/core/api-common.rst @@ -957,9 +957,11 @@ Any piece of signed data, complies to the abstract data structure given below. /*From gnunet_crypto_lib.h*/ struct GNUNET_CRYPTO_EccSignaturePurpose { /** - - The following constraints apply for a valid amount: - + * This field equals the number of bytes being signed, + * namely 'sizeof (struct Data)'. + */ + uint32_t size; + /** * This field is used to express the context in * which the signature is made, ensuring that a * signature cannot be lifted from one part of the protocol @@ -967,11 +969,6 @@ Any piece of signed data, complies to the abstract data structure given below. * exchange's codebase (git://taler.net/exchange). */ uint32_t purpose; - /** - * This field equals the number of bytes being signed, - * namely 'sizeof (struct Data)'. - */ - uint32_t size; }; |