macro_rules! define_pk_keypair {
{
$(#[$meta:meta])* pub struct $pk:ident($pkt:ty) / $(#[$sk_meta:meta])* $sk:ident($skt:ty);
$($(#[$p_meta:meta])* curve25519_pair as $pair:ident;)?
} => { ... };
}
Expand description
Define a public key type and a private key type to wrap a given inner key.