Gilles Peskine
c744d99386
Limit keys to 65528 bits
...
65528 bits is more than any reasonable key until we start supporting
post-quantum cryptography.
This limit is chosen to allow bit-sizes to be stored in 16 bits, with
65535 left to indicate an invalid value. It's a whole number of bytes,
which facilitates some calculations, in particular allowing a key of
exactly PSA_CRYPTO_MAX_STORAGE_SIZE to be created but not one bit
more.
As a resource usage limit, this is arguably too large, but that's out
of scope of the current commit.
Test that key import, generation and derivation reject overly large
sizes.
2019-07-30 20:58:33 +02:00
..
2019-02-19 17:59:57 +00:00
2018-04-05 15:37:38 +02:00
2018-04-17 10:00:21 -05:00
2019-01-31 08:20:20 -05:00
2018-04-17 10:00:21 -05:00
2019-02-28 09:36:30 +00:00
2017-02-15 23:31:07 +02:00
2019-04-05 14:08:49 +01:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05:00
2019-04-24 11:17:21 +01:00
2019-02-19 17:59:00 +00:00
2019-01-31 08:20:20 -05:00
2019-04-02 10:07:28 -07:00
2019-06-05 11:34:54 +02:00
2018-06-27 10:51:47 +01:00
2019-06-24 19:55:44 +02:00
2019-01-31 08:20:20 -05:00
2019-02-19 17:59:00 +00:00
2019-01-31 08:20:20 -05:00
2019-02-26 16:49:52 +00:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05:00
2019-02-19 17:59:00 +00:00
2019-05-01 14:12:43 +01:00
2019-01-31 08:20:20 -05:00
2018-04-17 10:00:21 -05:00
2019-04-30 16:47:36 +01:00
2019-01-31 08:20:20 -05:00
2019-02-19 17:59:00 +00:00
2018-07-23 10:34:47 -07:00
2019-01-31 08:20:20 -05:00
2019-06-24 19:55:44 +02:00
2018-04-17 10:00:21 -05:00
2019-02-19 17:59:57 +00:00
2019-02-19 17:59:57 +00:00
2018-01-22 11:54:42 +01:00
2019-03-11 16:46:20 +00:00
2018-06-12 16:56:04 +01:00
2019-01-31 08:20:20 -05:00
2019-05-06 12:15:17 -04:00
2019-01-31 08:20:20 -05:00
2019-06-05 11:34:54 +02:00
2019-06-05 11:34:54 +02:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05:00
2019-06-05 11:34:54 +02:00
2019-01-31 08:20:20 -05:00
2019-01-30 13:24:55 +00:00
2019-02-19 17:59:00 +00:00
2019-07-30 20:58:27 +02:00
2018-11-23 22:58:38 +01:00
2019-03-15 11:13:33 +01:00
2019-07-30 20:58:27 +02:00
2019-07-23 17:38:08 +02:00
2019-02-19 15:09:14 +02:00
2019-07-30 20:58:27 +02:00
2019-07-12 23:42:20 +02:00
2019-07-30 20:58:27 +02:00
2019-07-30 20:58:33 +02:00
2019-07-30 20:58:33 +02:00
2019-04-11 14:21:14 +01:00
2019-02-19 17:59:00 +00:00
2018-10-09 16:36:53 +01:00
2019-02-11 03:39:51 -05:00
2019-02-19 17:59:57 +00:00
2019-02-19 17:59:57 +00:00
2019-02-19 17:59:57 +00:00
2018-09-06 12:09:56 +01:00
2018-11-04 18:51:36 +00:00
2019-06-26 20:01:35 +02:00
2016-11-04 23:05:56 +01:00
2018-04-17 10:00:21 -05:00