Rock Smash is not available in Pokémon Black or White (Generation V). It was removed from the HM roster for these games.
Rock Smash returns as a Move Tutor move in the sequels: Pokémon Black 2 and White 2.
In Black/White, boulders blocking paths are cleared via Strength (HM04) only. No Rock Smash needed—or possible.