An elliptic-curve cryptography accelerator for Rocket, written in Chisel