jeffro256 1d3d30c507
crypto: check+throw for Cryptonight v1 invalid input
If `crypto::cn_slow_hash()` is called with `variant=1` and an input length of less thab 43 bytes, it triggers a program exit.
This checks first and throws an exception instead.

Thank you to ADA Logics and the MAGIC Monero Fund for reporting this!
2025-07-11 11:37:08 -05:00
..
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2018-12-04 15:14:29 +00:00
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2019-03-05 10:24:24 +00:00
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2022-12-14 07:21:00 +01:00
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2023-11-04 21:01:47 +01:00
2014-03-03 22:07:58 +00:00
2022-04-18 10:01:13 +02:00
2018-08-15 18:20:22 +02:00
2014-05-17 15:39:46 -07:00
2018-09-11 14:32:33 +00:00
2014-05-25 13:06:40 -04:00
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2014-03-03 22:07:58 +00:00
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2018-09-09 20:43:01 +02:00
2019-02-14 20:42:50 +01:00