GNUnet debian-0.24.3-28-g4f2a77692
 
Loading...
Searching...
No Matches
AliceServiceSession Struct Reference

A scalarproduct session which tracks a request form the client to our final response. More...

Collaboration diagram for AliceServiceSession:
[legend]

Data Fields

struct GNUNET_HashCode session_id
 (hopefully) unique transaction ID
 
struct GNUNET_PeerIdentity peer
 Alice or Bob's peerID.
 
struct GNUNET_SERVICE_Clientclient
 The client this request is related to.
 
struct GNUNET_MQ_Handleclient_mq
 The message queue for the client.
 
struct GNUNET_MQ_Handlecadet_mq
 The message queue for CADET.
 
struct GNUNET_CONTAINER_MultiHashMapintersected_elements
 all non-0-value'd elements transmitted to us.
 
struct GNUNET_SETI_Handleintersection_set
 Set of elements for which will conduction an intersection.
 
struct GNUNET_SETI_OperationHandleintersection_op
 Set of elements for which will conduction an intersection.
 
struct GNUNET_SETI_ListenHandleintersection_listen
 Handle to Alice's Intersection operation listening for Bob.
 
struct GNUNET_CADET_Channelchannel
 channel-handle associated with our cadet handle
 
struct MpiElementsorted_elements
 a(Alice), sorted array by key of length used_element_count.
 
int product
 The computed scalar product.
 
uint32_t total
 How many elements we were supplied with from the client (total count before intersection).
 
uint32_t used_element_count
 How many elements actually are used for the scalar product.
 
uint32_t client_received_element_count
 Already transferred elements from client to us.
 
enum GNUNET_SCALARPRODUCT_ResponseStatus status
 State of this session.
 
int in_destroy
 Flag to prevent recursive calls to destroy_service_session() from doing harm.
 
struct GNUNET_CRYPTO_PaillierCiphertextr
 Bob's permutation p of R.
 
struct GNUNET_CRYPTO_PaillierCiphertextr_prime
 Bob's permutation q of R.
 
struct GNUNET_CRYPTO_PaillierCiphertext s
 Bob's "s".
 
struct GNUNET_CRYPTO_PaillierCiphertext s_prime
 Bob's "s'".
 
gcry_mpi_t product
 The computed scalar.
 
uint32_t cadet_received_element_count
 Already transferred elements from Bob to us.
 

Detailed Description

A scalarproduct session which tracks a request form the client to our final response.

Definition at line 79 of file gnunet-service-scalarproduct-ecc_alice.c.

Field Documentation

◆ session_id

◆ peer

◆ client

◆ client_mq

struct GNUNET_MQ_Handle * AliceServiceSession::client_mq

◆ cadet_mq

struct GNUNET_MQ_Handle * AliceServiceSession::cadet_mq

◆ intersected_elements

◆ intersection_set

struct GNUNET_SETI_Handle * AliceServiceSession::intersection_set

◆ intersection_op

struct GNUNET_SETI_OperationHandle * AliceServiceSession::intersection_op

Set of elements for which will conduction an intersection.

the resulting elements are then used for computing the scalar product.

Definition at line 122 of file gnunet-service-scalarproduct-ecc_alice.c.

Referenced by cb_intersection_element_removed(), cb_intersection_element_removed(), destroy_service_session(), and destroy_service_session().

◆ intersection_listen

struct GNUNET_SETI_ListenHandle * AliceServiceSession::intersection_listen

◆ channel

◆ sorted_elements

struct MpiElement * AliceServiceSession::sorted_elements

◆ product [1/2]

int AliceServiceSession::product

◆ total

uint32_t AliceServiceSession::total

How many elements we were supplied with from the client (total count before intersection).

Definition at line 148 of file gnunet-service-scalarproduct-ecc_alice.c.

Referenced by check_bobs_cryptodata_message(), handle_alice_client_message(), handle_alice_client_message(), handle_alice_client_message_multipart(), and handle_alice_client_message_multipart().

◆ used_element_count

◆ client_received_element_count

uint32_t AliceServiceSession::client_received_element_count

◆ status

◆ in_destroy

int AliceServiceSession::in_destroy

Flag to prevent recursive calls to destroy_service_session() from doing harm.

Definition at line 175 of file gnunet-service-scalarproduct-ecc_alice.c.

Referenced by destroy_service_session(), and destroy_service_session().

◆ r

◆ r_prime

◆ s

◆ s_prime

struct GNUNET_CRYPTO_PaillierCiphertext AliceServiceSession::s_prime

Bob's "s'".

Definition at line 142 of file gnunet-service-scalarproduct_alice.c.

Referenced by compute_scalar_product(), and handle_bobs_cryptodata_message().

◆ product [2/2]

gcry_mpi_t AliceServiceSession::product

The computed scalar.

Definition at line 147 of file gnunet-service-scalarproduct_alice.c.

◆ cadet_received_element_count

uint32_t AliceServiceSession::cadet_received_element_count

Already transferred elements from Bob to us.

Less or equal than total.

Definition at line 172 of file gnunet-service-scalarproduct_alice.c.

Referenced by check_bobs_cryptodata_multipart(), handle_bobs_cryptodata_message(), and handle_bobs_cryptodata_multipart().


The documentation for this struct was generated from the following files: