aboutsummaryrefslogtreecommitdiff
path: root/src/scalarproduct/scalarproduct_api.c
Commit message (Collapse)AuthorAge
* - fixed the same bug on bob's side as on alice's side in copying over ↵Christian Fuchs2014-05-26
| | | | element data in the SP-api. seems like this correction got lost somewhere
* cleaning up scalar product client APIChristian Grothoff2014-05-24
|
* - removed some optional parts from the SP test configChristian Fuchs2014-05-12
| | | | | - fixed two bugs in the API, where the API would only append number-of-elements bytes instead of the size of those elements - SP-service now retains the configuration handle received during initialization
* - proper service-side error reporting for the SP APIChristian Fuchs2014-05-08
|
* WIP commit of scalar product 2.0. It is unfinished and does not yet pass ↵Christian Fuchs2014-05-07
| | | | | | | | | | | tests. This commit happens because of the move from mesh->cadet. - reverted SP API back to the original design from 2012 (using key-value pairs) - SP now uses set intersection to determine common elements from the set provided by the user - values are sorted based on their keys after intersection - removed state tracking, as simple tracking is now insufficient. Just checking for conditions directly is easier readable and less buggy - modified/renamed SP message types to reflect the changed behavior of SP
* -remove trailing whitespaceChristian Grothoff2013-12-24
|
* updated test-config template for scalarproductChristian Fuchs2013-10-15
| | | | | added declaration of GNUNET_TESTING_PREFIX to the test script
* more doxygen compliance, should no longer generate warnings, except for one ↵Christian Fuchs2013-10-14
| | | | wired warning which is not in the sourcecode, will talk to christian grothoff about that
* more work on doxygenization for SPChristian Fuchs2013-10-14
|
* -remove trailing whitespaceChristian Grothoff2013-10-06
|
* fixed a possible free-of-null in the SP-APIChristian Fuchs2013-09-16
| | | | | modified if-clause to check for the opposite, correct condition
* SP-client now reads the result from the correct offset (msg vs. message...)Christian Fuchs2013-09-16
| | | | | | upon shutdown, the server-API no longer crashes the SP-service by calling the client-disconnect handler with a &client == NULL
* excluded test cases for SP for now, while it does not fully work yetChristian Fuchs2013-09-16
| | | | | SP service now properly checks for half-finished sessions in the tunnel teardown handler for alice.
* bugfix, forgot to reset a variableChristian Fuchs2013-09-12
|
* the key entry in GNUNET_SCALARPRODUCT_ComputationHandle is now a struct, not ↵Christian Fuchs2013-09-11
| | | | | | | | a pointer. re-added scheduler shutdown to SP-client
* removed a couple of extra checks from the SP-apiChristian Fuchs2013-09-11
| | | | | | fixed a silly bug in the SP-client removed two incorrect frees in the SP-service
* added propper shutdown task to SP-clientChristian Fuchs2013-09-11
| | | | | | | | fixed a logics mixup in the SP-API between alice's client and bob's client-function fixed a memory allocation bug in SP-API adjusted message formats to use uint32_t instead of 16 for all element counts and mask lengths
* minichangeChristian Fuchs2013-09-09
|
* sanitized the scalarproduct clientChristian Fuchs2013-09-09
| | | | | | | fixed a typo in the SP API changed SP-service to always use GCRYMPI_FMT_STD when sending the result back to client. Even though gcry currently can not print negative numbers, we can just remove the if-else block above it once that's supported
* re-added collective disconnect command to the scalarproduct APIChristian Fuchs2013-09-03
| | | | | | | | | adapted the scalarproduct client to use the new API modified scalarproduct.h to include proper logging for gcrypt errors cancel is now quiet added proper gcry logging to the SP-API
* synced API definitions againChristian Fuchs2013-09-02
| | | | | | | session now get properly terminated in case we can no send to the service. implemented/added cancel functionality
* rewrote API minus cancel functionChristian Fuchs2013-09-02
|
* removed much of the excell logics in the scalar product APIChristian Fuchs2013-09-02
| | | | | | | | finished the the alice/bob API initiation functions in the SP API merged structes in SP API reorganized SP bookkeeping of computations
* updated includes of api and service to include the new headerfilesChristian Fuchs2013-09-02
|
* partial rework of the old API, includes simplifications and gets rid of the ↵Christian Fuchs2013-09-02
| | | | extra connect. we now establish one client-connection per session.
* -use GPLv3+ consistentlyChristian Grothoff2013-08-24
|
* -more vector -> scalar renamingChristian Grothoff2013-08-23
|
* -more vector -> scalar renamingChristian Grothoff2013-08-23