Initial RISC-V support (#127)
* mirage_crypto.h: add RISC-V support
See https://github.com/riscv/riscv-toolchain-conventions#cc-preprocessor-definitions
__riscv_xlen is 32 for RV32 and 64 for RV64
Signed-off-by: Edwin Török <edwin@etorok.net>
* entropy_cpu_stubs.c: Add RV64 support
On RV64 it is easy, just use rdcycle pseudo-instruction.
On RV32 would have to use rdcycle+rdcycleh, but don't have RV32 hardware.
Signed-off-by: Edwin Török <edwin@etorok.net>
authored by