Consolidate clear code for EC_GFp_mont_method.
authorjsing <jsing@openbsd.org>
Tue, 7 Mar 2023 05:28:12 +0000 (05:28 +0000)
committerjsing <jsing@openbsd.org>
Tue, 7 Mar 2023 05:28:12 +0000 (05:28 +0000)
commit4fefdf956cb82d1bdcc507277c8defe89e1ab56b
treecf33e4d5cda6a851c8d7a15ea940bd4053d79d5f
parentf8f708be82d1c010be362db51c0e1a1a857c6cae
Consolidate clear code for EC_GFp_mont_method.

Use a fang dangled thing (known as a function) to avoid duplicating the
same code in five places.

ok tb@
lib/libcrypto/ec/ecp_mont.c