Macro kyberlib::kyberlib_uake_client_init

source ·
macro_rules! kyberlib_uake_client_init {
    ($pubkey:expr, $rng:expr) => { ... };
}
Expand description

Initiates a Unilaterally Authenticated Key Exchange.

§Arguments

  • pubkey - Input public key (an already allocated array of CRYPTO_PUBLICKEYBYTES bytes).
  • rng - Random number generator implementing RngCore + CryptoRng.

§Returns

The bytes to send when initiating a unilateral key exchange (UakeSendInit). Macro to initiate a Unilaterally Authenticated Key Exchange.