gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-anastasis] branch master updated (cb22e7b -> 60e148a


From: gnunet
Subject: [GNUnet-SVN] [taler-anastasis] branch master updated (cb22e7b -> 60e148a)
Date: Tue, 15 Oct 2019 12:05:39 +0200

This is an automated email from the git hooks/post-receive script.

dennis-neufeld pushed a change to branch master
in repository anastasis.

    from cb22e7b  Some small modifications...
     new f563262  Changed truth upload
     new 60e148a  Changed request of encrypted keyshare

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/include/anastasis_database_plugin.h | 30 ++++++++++--------------------
 1 file changed, 10 insertions(+), 20 deletions(-)

diff --git a/src/include/anastasis_database_plugin.h 
b/src/include/anastasis_database_plugin.h
index a970ca4..433c7aa 100644
--- a/src/include/anastasis_database_plugin.h
+++ b/src/include/anastasis_database_plugin.h
@@ -131,9 +131,8 @@ struct AnastasisDatabasePlugin
    *
    * @param cls closure
    * @param account_pub public key of the user's account
-   * @param aes_gcm_tag
-   * @param nonce
-   * @param encrypted_recovery_document
+   * @param data contains encrypted_recovery_document
+   * @param data_size size of data blob
    * @param payment_secret identifier for the payment, used to later charge on 
uploads
    * @param version[OUT] set to the version assigned to the document by the 
database
    * @return transaction status, 0 if upload could not be finished because @a 
payment_secret
@@ -188,27 +187,16 @@ struct AnastasisDatabasePlugin
    *
    * @param cls closure
    * @param uuid the identifier for the Truth
-   * @param truth contains the ground truth i.e. H(challange answer), 
phonenumber, SMS
-   * @param truth_size the size of the Truth
-   * @param key_share_data blob which contains the Keyshare, the nonce and the 
aes tag
-   * @param key_share_data_size Size of the blob
-   * @param truth_method contains a description of the method used for 
retrieving the truth
-   * @param size_truth_method size of the truth_method String
-   * @param truth_mimetype the mimetype used for the Truth (security answer 
encoding)
-   * @param size_truth_mimetype size of the truth_mimetype String
+   * @param truth_data contains the encrypted Truth which includes the ground 
truth i.e. H(challange answer), phonenumber, SMS
+   * @param truth_data_size the size of the Truth
+   * @param truth_expiration time till the according data will be stored
    * @return transaction status
    */
   enum GNUNET_DB_QueryStatus
   (*store_truth)(void *cls,
                  const struct ANASTASIS_uuid *uuid,
-                 const void *truth,
-                 size_t truth_size,
-                 const void *key_share_data,
-                 size_t key_share_data_size,
-                 char *truth_method,
-                 size_t size_truth_method,
-                 char *truth_mimetype,
-                 size_t size_truth_mimetype,
+                 const void *truth_data,
+                 size_t truth_data_size,
                  struct GNUNET_TIME_Relative truth_expiration);
 
   /**
@@ -218,6 +206,7 @@ struct AnastasisDatabasePlugin
   * @param size_response size of the response
   * @param data contains the encrypted key share (bytearray)
   * @param data_size size of data
+  * @param truth_dec_key key to decrypt the truth_data
   * @return transaction status
   */
   enum GNUNET_DB_QueryStatus
@@ -226,7 +215,8 @@ struct AnastasisDatabasePlugin
                              char *response,
                              size_t size_response,
                              void **data,
-                             size_t *data_size);
+                             size_t *data_size,
+                             uint32_t truth_dec_key[8]);
 
   /**
   * @param cls closure

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]