Remove bn_sqr_words() on amd64.
authorjsing <jsing@openbsd.org>
Sat, 4 Feb 2023 14:00:18 +0000 (14:00 +0000)
committerjsing <jsing@openbsd.org>
Sat, 4 Feb 2023 14:00:18 +0000 (14:00 +0000)
commit1d0c918a38c78ec3773c9dc7cc40f2f3a245c81e
tree14eea98f9ce91f8c68debaca45d1dd243a40c7ec
parent5b33f22d563d8e3f8c227bc5c1b195ad061936a5
Remove bn_sqr_words() on amd64.

s2n-bignum's bignum_sqr() is not the same as bn_sqr_words() (which only
computes a partial result, unlike the former). This went unnoticed since
bn_sqr() is called directly on amd64, hence bn_sqr_words() is currently
unused.
lib/libcrypto/bn/arch/amd64/bn_arch.c
lib/libcrypto/bn/arch/amd64/bn_arch.h