My Central is willing to perform a bond (pairing with bond) to a Peripheral.
As an example and according to
Message Sequence Chart > Central Security Procedures > Central Legacy Pairing > Bonding: Just Works,
the central calls sd_ble_authenticate(bond, no_mitm, no_io_caps) and it seems that the rest of the security parameters in p_sec_params (including kdist_central and kdist_periph) are of no importance.
It seems that keys will be stored in p_keyset if the following call to sd_ble_gap_sec_params_reply supplies the pointer p_keyset.
I wonder what the role of these keys kdist_central and kdist_periph is.