summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dsa/dsa_ossl.c
diff options
context:
space:
mode:
authorjsing <>2023-02-04 11:48:55 +0000
committerjsing <>2023-02-04 11:48:55 +0000
commit6c95a9f285330e88fd5a77d363441327b6d42630 (patch)
treea295d7975e7b264dbd235da1734cd25c0c93f44d /src/lib/libcrypto/dsa/dsa_ossl.c
parent4a918c23f0aa226451f5ee34fc141d8a93624b2e (diff)
downloadopenbsd-6c95a9f285330e88fd5a77d363441327b6d42630.tar.gz
openbsd-6c95a9f285330e88fd5a77d363441327b6d42630.tar.bz2
openbsd-6c95a9f285330e88fd5a77d363441327b6d42630.zip
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.
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_ossl.c')
0 files changed, 0 insertions, 0 deletions