Macro kyberlib::kyberlib_ake_client_init

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

Initiates a Mutually 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 mutual key exchange (AkeSendInit). Macro to initiate a Mutually Authenticated Key Exchange.