A Lightweight AES Coprocessor Based on RISC-V Custom Instructions