I have taken powder (brownie mix, and powdered chocolate) through TSA controlled check points. It had be to checked twice but otherwise TSA had no problem.
However, given you went through Hong Kong which is NOT TSA anything could happen just like the person some months ago who got their duty free liquor taken at a gate check in Hong Kong.