Mark read/write registers as non-overlapping for bn_qwmulw_{addqw_,}addw()
authorjsing <jsing@openbsd.org>
Mon, 24 Jul 2023 10:21:29 +0000 (10:21 +0000)
committerjsing <jsing@openbsd.org>
Mon, 24 Jul 2023 10:21:29 +0000 (10:21 +0000)
commit8c374f8eb8bb9ae2675552b2215313ebacdb69f4
tree22499752f1d2640e7c7dbce6ecca2f132f4c9204
parent269054dcfc09183fb584755f11dc5478a6f33a23
Mark read/write registers as non-overlapping for bn_qwmulw_{addqw_,}addw()

This does not cause an issue currently, however if called differently to
their current usage, it can lead to an input being overwritten and
incorrect results being generated.
lib/libcrypto/bn/arch/aarch64/bn_arch.h