Labeled homomorphic encryption: Scalable and privacy-preserving processing of outsourced data