Give up on writing a special function for constant-time generator point multiplication - the table lookups are way too expensive