Macro kyberlib::kyberlib_uake_server_receive

source ·
macro_rules! kyberlib_uake_server_receive {
    ($send_a:expr, $secretkey:expr, $rng:expr) => { ... };
}
Expand description

Handles the output of a kyberlib_uake_client_init() request.

§Arguments

  • send_a - The bytes received from the kyberlib_uake_client_init() request.
  • secretkey - The secret key (an already allocated array of CRYPTO_SECRETKEYBYTES bytes).
  • rng - Random number generator implementing RngCore + CryptoRng.

§Returns

The bytes to send when responding to a unilateral key exchange (UakeSendResponse). Macro to handle the output of a Unilaterally Authenticated Key Exchange.