Call bn_expand() rather than handrolling an equivalent.
authorjsing <jsing@openbsd.org>
Thu, 24 Nov 2022 01:24:37 +0000 (01:24 +0000)
committerjsing <jsing@openbsd.org>
Thu, 24 Nov 2022 01:24:37 +0000 (01:24 +0000)
commitd357b2803b7c4ce7614d55b50c1d24f6f2f7a790
treeb9827c8261711deb55c18448141677e32f471c14
parentec274cfcb608646ce8248cb1db2c81a1d8d04286
Call bn_expand() rather than handrolling an equivalent.

The current code manually calculates words from bits and then calls
bn_wexpand() - call bn_expand() with bits instead.

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