summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bn/arch/powerpc64 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename bn_umul_hilo() to bn_mulw().jsing2023-02-161-7/+7
| | | | | | | | | This keeps the naming consistent with the other bignum primitives that have been recently introduced. Also, use 1/0 intead of h/l (e.g. a1 instead of ah), as this keeps consistency with other primitives and allows for naming that works with double word, triple word and quadruple word inputs/outputs. Discussed with tb@
* Fix output constraints for bn_umul_hilo().jsing2023-02-041-2/+2
| | | | | | | | 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.
* Provide inline assembly bn_umul_hilo() for alpha/powerpc64/riscv64.jsing2023-01-311-1/+21
| | | | | | These should work, but are currently untested and disabled. ok tb@
* Provide a per machine bn_arch.h.jsing2023-01-201-0/+24
This will provide a location for machine specific defines, prototypes and inline functions. ok tb@