summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/cms/cms_lib.c
diff options
context:
space:
mode:
authorjsing <>2026-01-25 08:22:17 +0000
committerjsing <>2026-01-25 08:22:17 +0000
commitc6ef8fc8d3285a55c002f52df2bb2df42b7734c0 (patch)
tree541d7b395ea34307cec81109c20f473cbc5ea8fb /src/lib/libcrypto/cms/cms_lib.c
parent1d4a03f3d650a577581aedee8cc799a3ad6668d8 (diff)
downloadopenbsd-c6ef8fc8d3285a55c002f52df2bb2df42b7734c0.tar.gz
openbsd-c6ef8fc8d3285a55c002f52df2bb2df42b7734c0.tar.bz2
openbsd-c6ef8fc8d3285a55c002f52df2bb2df42b7734c0.zip
Make SHA aarch64 assembly build with gcc.
gcc is extremely fussy about register naming and insists on q and s naming for the ARM CE SHA instructions, even though they're referring to the same register (while LLVM just figures it out). Work around this by mapping registers to their required variant at usage and defining a handful of mappings between v registers and alternate names/views. This is still somewhat ugly, but seems to be one of the cleaner options that will allow portable to enable SHA assembly on platforms that use gcc. ok kenjiro@ tb@
Diffstat (limited to 'src/lib/libcrypto/cms/cms_lib.c')
0 files changed, 0 insertions, 0 deletions