Every hostile mob (including angered wolves and zombie pigman) which kills a player gives a death message <playername> killed <playername>. Only regular Skeletons, Creepers and Witches give correct death messages.
I didn't test it with Enderdragon, Wither skeletons, Withers and Silverfishes.