[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-anastasis] branch master updated: reorder struct
From: |
gnunet |
Subject: |
[taler-anastasis] branch master updated: reorder struct |
Date: |
Sat, 06 Feb 2021 15:46:31 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository anastasis.
The following commit(s) were added to refs/heads/master by this push:
new 58ffc02 reorder struct
58ffc02 is described below
commit 58ffc027081483034d197baa98e4d53e367c22f3
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Feb 6 15:46:29 2021 +0100
reorder struct
---
src/lib/anastasis_recovery.c | 70 +++++++++++++++++++++++---------------------
1 file changed, 36 insertions(+), 34 deletions(-)
diff --git a/src/lib/anastasis_recovery.c b/src/lib/anastasis_recovery.c
index 9333de4..da8dc7a 100644
--- a/src/lib/anastasis_recovery.c
+++ b/src/lib/anastasis_recovery.c
@@ -30,6 +30,32 @@
*/
struct ANASTASIS_Recovery
{
+
+ /**
+ * Identity key material used for the derivation of keys
+ */
+ struct ANASTASIS_CRYPTO_UserIdentifierP id;
+
+ /**
+ * Public key for a request
+ */
+ struct ANASTASIS_CRYPTO_AccountPublicKeyP pub_key;
+
+ /**
+ * Length of available decryption policies //FIXME: Copy paste?
+ */
+ struct ANASTASIS_CRYPTO_PowSalt policy_salt;
+
+ /**
+ * Recovery information which is sent to the user
+ */
+ struct ANASTASIS_RecoveryInformation ri;
+
+ /**
+ * Identity data to user id from.
+ */
+ const json_t *id_data;
+
/**
* Callback to send back a recovery document with the policies and the
version
*/
@@ -51,16 +77,6 @@ struct ANASTASIS_Recovery
*/
void *csc_cls;
- /**
- * Identity key material used for the derivation of keys
- */
- struct ANASTASIS_CRYPTO_UserIdentifierP id;
-
- /**
- * Public key for a request
- */
- struct ANASTASIS_CRYPTO_AccountPublicKeyP pub_key;
-
/**
* Curl context
*/
@@ -72,19 +88,9 @@ struct ANASTASIS_Recovery
struct ANASTASIS_PolicyLookupOperation *plo;
/**
- * size of the ecrypted recovery document
- */
- size_t enc_rec_doc_size;
-
- /**
- * expected http status
- */
- unsigned int http_status;
-
- /**
- * expected http status
+ * Length of available decryption policies //FIXME: Copy paste?
*/
- unsigned int response_code;
+ struct ANASTASIS_Challenge *solved_challenges;
/**
* retrieved encrypted core secret from policy
@@ -97,29 +103,25 @@ struct ANASTASIS_Recovery
size_t enc_core_secret_size;
/**
- * Length of available decryption policies //FIXME: Copy paste?
+ * size of the ecrypted recovery document
*/
- struct ANASTASIS_CRYPTO_PowSalt policy_salt;
+ size_t enc_rec_doc_size;
/**
- * Length of available decryption policies //FIXME: Copy paste?
+ * expected http status
*/
- struct ANASTASIS_Challenge *solved_challenges;
+ unsigned int http_status;
/**
- * Length of available decryption policies //FIXME: Copy paste?
+ * expected http status
*/
- unsigned int solved_challenge_pos;
+ unsigned int response_code;
/**
- * Recovery information which is sent to the user
+ * Length of available decryption policies //FIXME: Copy paste?
*/
- struct ANASTASIS_RecoveryInformation ri;
+ unsigned int solved_challenge_pos;
- /**
- * Identity data to user id from.
- */
- const json_t *id_data;
};
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-anastasis] branch master updated: reorder struct,
gnunet <=