Fault tolerant and malicious secure federated learning