The current tip of openssl development includes support for multiple RISCV-64 ISA extensions, including support for vector cryptography. That makes libcrypt and libssl good exemplars for Ghidra import testing.
Track the tip of the openssl source repo
Configure with as many ISA extensions as have matching flags in the source code
currently something like -march=rv64gcv_zkne_zknd_zknh_zvkng_zvbb_zvbc_zvkb_zvkg_zvkned_zvksg
build and link using a snapshot of gcc 14.0.1
import into Ghidra 11.1-DEV (isa_ext)
add to Ghidra 11.1-DEV (isa_ext) any missing instructions, pcode semantics, and vset* modes found
move libcrypt.so and libssl.so into riscv64/exemplars
The current tip of openssl development includes support for multiple RISCV-64 ISA extensions, including support for vector cryptography. That makes libcrypt and libssl good exemplars for Ghidra import testing.
-march=rv64gcv_zkne_zknd_zknh_zvkng_zvbb_zvbc_zvkb_zvkg_zvkned_zvksg
vset*
modes foundlibcrypt.so
andlibssl.so
intoriscv64/exemplars