Why the fuck did you let them search your car, they're not the cops and even if they were just because someone said you and a friend were smoking doesn't give them probable cause to search your vehicle. I suggest watching that Barry Cooper movie. He's a retired DEA agent who tells you what's legal and what's not, good places to hide a your stash in a vehicle, and tricks that the police and DEA use to get you to pretty much admit it.