Michael Brown
3ec773cd2b
[crypto] Force caller to provide temporary storage for modular calculations
...
bigint_mod_multiply() and bigint_mod_exp() require a fixed amount of
temporary storage for intermediate results. (The amount of temporary
storage required depends upon the size of the integers involved.)
When performing calculations for 4096-bit RSA the amount of temporary
storage space required will exceed 2.5kB, which is too much to
allocate on the stack. Avoid this problem by forcing the caller to
allocate temporary storage.
Signed-off-by: Michael Brown <mcb30@ipxe.org >
2012-03-18 20:22:43 +00:00
..
2012-02-15 12:08:39 +00:00
2012-03-18 17:06:03 +00:00
2010-09-14 20:37:15 +01:00
2012-03-09 17:14:39 +00:00
2010-04-19 23:43:39 +01:00
2010-09-14 20:37:15 +01:00
2010-04-19 23:43:39 +01:00
2010-04-19 23:43:39 +01:00
2012-03-02 23:46:29 +00:00
2012-03-18 13:34:47 +00:00
2010-09-14 20:37:15 +01:00
2010-05-28 15:41:37 +01:00
2010-05-28 12:47:10 +01:00
2012-03-18 20:22:43 +00:00
2010-04-19 23:43:39 +01:00
2010-05-27 01:18:17 +01:00
2011-02-17 01:25:10 +00:00
2010-09-14 20:37:15 +01:00
2011-03-03 02:40:11 +00:00
2010-04-19 23:43:39 +01:00
2010-04-19 23:43:39 +01:00
2011-03-07 19:21:43 +00:00
2011-03-09 20:09:26 +00:00
2010-04-19 23:43:39 +01:00
2010-04-19 23:43:39 +01:00
2012-03-18 13:35:32 +00:00
2011-04-07 23:09:19 +01:00
2012-03-18 12:26:33 +00:00
2011-03-22 19:54:58 +00:00
2011-01-10 03:39:26 +00:00
2010-04-19 23:43:39 +01:00
2011-03-02 19:29:24 +00:00
2012-03-06 13:42:06 +00:00
2010-10-07 19:15:04 +01:00
2010-09-22 17:09:56 +01:00
2010-04-19 23:43:39 +01:00
2011-03-30 19:26:48 +01:00
2011-04-07 23:09:19 +01:00
2011-03-07 00:37:50 +00:00
2012-03-18 17:06:03 +00:00
2012-03-18 17:06:03 +00:00
2010-05-31 03:11:57 +01:00
2010-05-10 16:34:17 +01:00
2012-03-02 18:02:03 +00:00
2010-04-19 23:43:39 +01:00
2011-06-28 14:45:07 +01:00
2010-11-08 03:35:36 +00:00
2010-11-08 03:35:36 +00:00
2010-11-26 01:09:41 +00:00
2010-09-15 03:20:26 +01:00
2010-11-20 16:52:04 +00:00
2010-10-07 19:20:36 +01:00
2010-04-19 23:43:39 +01:00
2010-04-19 23:43:39 +01:00
2010-04-19 23:43:39 +01:00
2010-04-19 23:43:39 +01:00
2012-03-05 23:23:45 +00:00
2010-04-19 23:43:39 +01:00
2012-03-06 13:12:30 +00:00
2010-04-19 23:43:39 +01:00
2012-03-03 20:15:21 +00:00
2010-04-19 23:43:39 +01:00
2010-09-15 19:25:05 +01:00
2010-09-15 19:25:05 +01:00
2010-09-15 19:25:05 +01:00
2010-09-15 19:25:05 +01:00
2010-04-19 23:43:39 +01:00
2010-09-15 19:25:05 +01:00
2010-04-19 23:43:39 +01:00
2010-04-19 23:43:39 +01:00
2010-09-16 03:30:45 +01:00
2010-09-15 19:25:05 +01:00
2010-09-14 20:37:15 +01:00
2010-08-20 10:13:04 +01:00
2010-04-19 23:43:39 +01:00
2010-05-31 03:11:57 +01:00
2010-04-19 23:43:39 +01:00
2010-11-20 16:52:04 +00:00
2011-03-09 16:57:34 +00:00
2010-04-19 23:43:39 +01:00
2010-12-01 18:51:29 +00:00
2011-03-07 22:28:31 +00:00
2010-06-22 19:12:40 +01:00
2010-08-16 16:54:03 +01:00
2010-04-19 23:43:39 +01:00
2010-08-20 10:13:04 +01:00
2011-07-16 01:49:47 +01:00
2010-09-15 19:25:05 +01:00
2010-04-19 23:43:39 +01:00
2011-04-07 23:09:19 +01:00
2011-04-07 23:09:19 +01:00
2012-03-01 16:33:05 +00:00
2010-06-22 14:40:09 +01:00
2011-03-16 12:02:52 +00:00
2011-03-07 19:22:20 +00:00
2010-04-19 23:43:39 +01:00
2012-02-28 23:10:01 +00:00
2010-04-19 23:43:39 +01:00
2010-08-19 12:42:42 +01:00
2011-10-14 14:33:32 +01:00
2010-04-19 23:43:39 +01:00
2011-03-27 21:03:05 +01:00
2011-04-07 23:09:19 +01:00
2012-03-05 10:25:58 +00:00
2010-06-22 14:40:09 +01:00
2010-08-19 12:38:08 +01:00
2010-04-19 23:43:39 +01:00
2010-05-31 03:11:57 +01:00
2011-10-14 15:34:52 +01:00
2011-07-15 18:48:46 +01:00
2012-03-18 17:05:37 +00:00
2010-04-19 23:43:39 +01:00
2011-04-24 16:44:34 +01:00
2011-01-19 13:52:48 +00:00
2010-04-19 23:43:39 +01:00
2011-01-19 13:52:56 +00:00
2011-01-27 18:46:07 +00:00
2011-04-24 15:32:06 +01:00
2010-04-19 23:43:39 +01:00
2011-02-17 01:59:30 +00:00
2011-11-11 21:32:09 +00:00
2010-04-19 23:43:39 +01:00
2011-01-19 13:52:55 +00:00
2010-04-19 23:43:39 +01:00
2011-06-28 14:45:09 +01:00
2010-04-19 23:43:39 +01:00
2012-02-21 12:42:54 +00:00
2010-08-20 10:13:04 +01:00
2012-02-21 12:42:46 +00:00
2010-04-19 23:43:39 +01:00
2010-11-08 03:35:35 +00:00
2010-06-22 15:45:57 +01:00
2010-09-06 22:18:13 +01:00
2010-04-19 23:43:39 +01:00
2012-03-18 20:22:43 +00:00
2011-04-24 16:44:34 +01:00
2011-03-07 22:28:31 +00:00
2010-10-19 19:10:02 +01:00
2010-05-27 10:19:14 +01:00
2010-04-19 23:43:39 +01:00
2010-04-19 23:43:39 +01:00
2010-04-19 23:43:39 +01:00
2011-03-23 11:57:29 +00:00
2012-03-04 17:42:29 +00:00
2012-03-05 00:18:49 +00:00
2010-11-29 14:19:59 +00:00
2010-08-19 12:38:34 +01:00
2010-09-21 02:06:06 +01:00
2010-04-19 23:43:39 +01:00
2010-04-19 23:43:39 +01:00
2010-09-22 20:05:39 +01:00
2011-03-10 05:36:31 +00:00
2011-03-16 19:31:44 +00:00
2011-09-19 15:52:54 +01:00
2010-04-19 23:43:39 +01:00
2011-10-14 14:33:31 +01:00
2010-04-19 23:43:39 +01:00
2010-04-19 23:43:39 +01:00
2010-08-19 12:32:53 +01:00
2012-03-18 14:44:53 +00:00
2010-08-19 12:35:28 +01:00
2010-11-19 16:08:05 +00:00
2010-08-19 12:37:48 +01:00
2011-02-01 04:25:19 +00:00
2010-04-19 23:43:39 +01:00
2010-07-17 17:07:14 +01:00
2010-07-17 17:07:14 +01:00
2010-12-01 18:46:50 +00:00
2010-04-19 23:43:39 +01:00
2010-04-19 23:43:39 +01:00
2012-03-18 14:44:53 +00:00
2010-09-15 03:16:24 +01:00