Not clear on what you are trying to say. Both pads and rotors are smaller? Or just the pads? Sounds like both are smaller.
They may work if they install correctly but I would personally not use them for several reasons. One, smaller rotors and pads mean that you'll most likely have less effective brake performance. It will take longer to brake (time and distance) plus they'll likely heat up faster which will hurt performance on continued braking. Two, the brake pad tabs seem smaller so the pads may fit looser and thus move around as you brake or each time you brake. This can't be good to performance and brake life.
Brakes are critical so I wouldn't recommend using those pads and rotors. You may or may not have issues in the beginning but you'll probably have issues down the line as they wear.