LCp implementation for android