In the Simsapa Sutta the Buddha said;
"In the same way, monks, those things that I have known with direct knowledge but have not taught are far more numerous [than what I have taught].
I would take the meaning that there were many things that the Buddha did not talk about because they were not important for leading the holy life towards Nirvana.
But then in the Maha-Parinabbana Sutta, the Buddha says;
...I have preached the truth without making any distinction between exoteric and esoteric doctrine: for in respect of the truths, Ānanda, the Tathāgata has no such thing as the closed fist of a teacher, who keeps some things back...
I would take this to mean that the Buddha says that He has not kept anything untold or unsaid...that, he has said everything that there was to tell to the monks.
Why is there a seeming contradiction in these two suttas. Did the Buddha told everything or not...or I am misunderstanding something?