Modifying constructor for montgomery-curve structures.
(change-montgomery-curve x [:p <p>] [:a <a>] [:b <b>])
This is an often useful alternative to make-montgomery-curve.
We construct a new montgomery-curve structure that is a copy of
This is an ordinary
Macro:
(defmacro change-montgomery-curve (x &rest args) (std::change-aggregate 'montgomery-curve x args '((:p . montgomery-curve->p) (:a . montgomery-curve->a) (:b . montgomery-curve->b)) 'change-montgomery-curve 'nil))