Check padding correctness.