[crypto] Add a test for malicious ECDSA-P256 keys.
Open
SW:cryptolib
- Dominant language
- SystemVerilog
- Stars
- 3.6k
- Forks
- 1.1k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 141
Description
### Description
Test the logic discussed [here](https://github.com/lowRISC/opentitan/pull/17287#discussion_r1108294276) with a standalone OTBN test that ensures the expected `ILLEGAL_INSN` error happens.
Contributor guide
Assessment
This issue has not been assessed yet.