macro_rules! kyberlib_ake_server_receive {
($ake_send_a:expr, $pubkey:expr, $secretkey:expr, $rng:expr) => { ... };
}Expand description
Handles and authenticates the output of a kyberlib_ake_client_init() request.
§Arguments
ake_send_a- The bytes received from thekyberlib_ake_client_init()request.pubkey- The public key (an already allocated array of CRYPTO_PUBLICKEYBYTES bytes).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 mutual key exchange (AkeSendResponse). Macro to handle the output of a Mutually Authenticated Key Exchange.