@narodnik the ec_scalar interface update looks fine. I’ll have a couple comments and questions on implementation. Switching to smart pointer member control is something I’ve been planning to do in general, for a couple of reasons, especially in the chain primitives.