Neil Horman ae9fe65d9f Augment rand argument parsing to allow scaling
Instead of just accepting a number of bytes, allows openssl rand to
accept a k|m|g suffix to scale to kbytes/mbytes/gbytes

Fixes #22622

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22624)
2023-11-13 12:21:34 +01:00
..
2023-09-11 10:15:30 +02:00
2023-10-25 09:40:48 +01:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2022-05-03 13:34:51 +01:00
2023-09-28 14:23:29 +01:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2022-08-23 11:08:11 +10:00
2023-09-20 08:12:07 +10:00
2020-12-15 11:47:17 +01:00
2023-09-07 09:59:15 +01:00
2023-09-28 14:23:29 +01:00
2023-09-24 20:51:42 +02:00
2023-09-28 14:23:29 +01:00
2022-09-20 08:18:25 +01:00
2023-09-07 09:59:15 +01:00
2022-05-03 13:34:51 +01:00
2022-05-03 13:34:51 +01:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2022-05-03 13:34:51 +01:00
2023-09-28 14:23:29 +01:00
2023-09-21 14:39:36 +02:00
2020-05-13 06:28:36 +02:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2023-09-11 10:15:30 +02:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2019-09-28 20:26:36 +02:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00