CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2023/02/04 04:48:55
Modified files:
lib/libcrypto/bn/arch/aarch64: bn_arch.h
lib/libcrypto/bn/arch/alpha: bn_arch.h
lib/libcrypto/bn/arch/powerpc64: bn_arch.h
lib/libcrypto/bn/arch/riscv64: bn_arch.h
Log message:
Fix output constraints for bn_umul_hilo().
When bn_umul_hilo() is implemented using an instruction pair, mark the
first output with a constraint that prevents the output from overlapping
with the inputs ("&"). Otherwise the first instruction can overwrite the
inputs, which then results in the second instruction producing incorrect
value.