lib: endomorphic point multiplication