Identity-based encryption with authorized equivalence test for cloud-assisted IoT