From dae22b776a8322029a3f2b33fbb6738c848dd4a3 Mon Sep 17 00:00:00 2001 From: moon Date: Sun, 14 Sep 2025 22:56:09 +0330 Subject: 🎶 iiiii waaas goinggg insaaaaaaaane MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/client.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'client/client.h') diff --git a/client/client.h b/client/client.h index ee94d21..a2a6a28 100644 --- a/client/client.h +++ b/client/client.h @@ -8,6 +8,7 @@ typedef uint8_t byte; typedef byte hash[ 32 ]; typedef byte public_key[ 32 ]; typedef byte private_key[ 32 ]; +typedef byte recipient[ 64 ]; typedef byte signature[ 64 ]; typedef byte ipv4[ 4 ]; typedef byte ipv6[ 16 ]; @@ -48,7 +49,7 @@ struct data_packet { public_key author; public_key author_signing_pub; uint8_t recipient_count; - public_key recipients[ 32 ]; + recipient recipients[ 32 ]; byte data[ 65536 ]; signature signature; } contents; @@ -165,7 +166,7 @@ struct data_packet mp_create_packet_from_bytes( const byte* input, size_t input_len, byte recipient_count, - hash* recipients, + recipient* recipients, keypair author_keys); /** @@ -180,7 +181,7 @@ struct data_packet mp_create_packet_from_bytes( mp_client_error_t mp_create_packet_from_file( const char* filename, byte recipient_count, - hash* recipients, + recipient* recipients, keypair author_keys, struct data_packet* out_packet); -- cgit v1.2.3