coresec: coresec_scheme that implements PHY key agreement