Generalized derivations of Lie triple systems