Macro kyberlib::kyberlib_ake_client_confirm

source ·
macro_rules! kyberlib_ake_client_confirm {
    ($send_b:expr, $secretkey:expr) => { ... };
}
Expand description

Decapsulates and authenticates the shared secret from the output of kyberlib_ake_server_receive().

§Arguments

  • send_b - The bytes received from the kyberlib_ake_server_receive() request.
  • secretkey - The secret key (an already allocated array of CRYPTO_SECRETKEYBYTES bytes).

§Returns

Nothing (the shared secret is stored in the Ake struct). Macro to decapsulate and authenticate the shared secret from a Mutually Authenticated Key Exchange.