Split out SRP CKE construction into a separate function