Nick Mathewson
600e046ed3
Rename crypto_pk_check_key(), use it more reasonably, add tests
...
This function was a wrapper around RSA_check_key() in openssl, which
checks for invalid RSA private keys (like those where p or q are
composite, or where d is not the inverse of e, or where n != p*q).
We don't need a function like this in NSS, since unlike OpenSSL, NSS
won't let you import a bogus private key.
I've renamed the function and changed its return type to make it
more reasonable, and added a unit test for trying to read a key
where n != p*q.
2018-09-04 14:52:35 -04:00
..
2018-07-31 19:56:23 -04:00
2018-08-21 12:25:33 -04:00
2018-06-20 08:13:28 -04:00
2018-06-20 08:13:28 -04:00
2017-08-08 20:29:34 -04:00
2016-06-11 10:11:54 -04:00
2015-05-28 10:42:22 -04:00
2018-06-20 08:13:28 -04:00
2018-06-20 08:13:28 -04:00
2017-09-14 09:13:11 -04:00
2017-09-15 12:46:26 +03:00
2018-07-03 09:48:03 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-09-04 14:52:35 -04:00
2018-07-10 15:20:30 -04:00
2018-08-22 10:55:55 -04:00
2017-12-07 00:04:39 +00:00
2018-07-03 09:48:03 -04:00
2018-07-17 15:57:46 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-06-20 18:02:49 -04:00
2014-09-25 15:08:32 -04:00
2014-04-27 22:54:24 -04:00
2016-08-26 14:46:29 -04:00
2016-07-01 14:01:41 -04:00
2018-07-05 17:15:50 -04:00
2018-07-10 13:36:45 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-10 15:20:30 -04:00
2018-07-18 16:33:48 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-12 08:59:23 -04:00
2018-07-10 13:36:45 -04:00
2018-06-20 08:13:28 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-08-21 12:24:08 -04:00
2018-07-31 19:56:42 -04:00
2018-07-10 15:16:57 -04:00
2018-08-21 12:25:33 -04:00
2018-09-04 14:52:35 -04:00
2018-06-20 09:35:05 -04:00
2014-07-16 22:37:00 +02:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-09-04 14:52:35 -04:00
2018-07-30 08:33:59 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-09 10:17:20 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 15:04:18 -04:00
2018-07-10 13:36:45 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-25 09:17:17 +10:00
2018-07-11 14:12:36 -04:00
2018-07-17 16:19:32 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2017-08-21 19:16:30 +03:00
2018-07-25 09:17:17 +10:00
2018-07-31 19:46:00 -04:00
2018-07-05 17:15:50 -04:00
2017-04-13 09:22:19 -04:00
2018-07-25 09:17:17 +10:00
2018-07-05 17:15:50 -04:00
2018-07-11 14:12:36 -04:00
2018-07-18 12:37:12 +10:00
2018-07-17 14:56:52 -04:00
2018-07-05 17:15:50 -04:00
2018-08-22 16:11:45 -04:00
2018-07-10 15:20:30 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-31 19:46:00 -04:00
2015-09-24 15:25:53 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-10 13:36:45 -04:00
2018-08-21 12:24:08 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-10 13:36:45 -04:00
2018-07-05 17:15:50 -04:00
2018-07-11 14:12:36 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-11 14:12:36 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-09 09:14:37 -04:00
2018-07-05 17:15:50 -04:00
2018-08-22 10:55:55 -04:00
2018-07-05 17:15:50 -04:00
2018-07-12 11:47:25 -04:00
2018-07-10 15:20:30 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2016-06-20 11:15:47 -04:00
2018-07-05 17:15:50 -04:00
2018-09-04 14:52:35 -04:00
2018-09-04 14:52:35 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2018-07-11 14:12:36 -04:00
2018-07-05 17:15:50 -04:00
2018-07-05 17:15:50 -04:00
2016-06-08 17:29:06 -04:00
2016-06-08 17:29:06 -04:00
2016-06-08 17:29:06 -04:00
2016-06-08 17:29:06 -04:00
2016-06-08 17:29:06 -04:00
2016-06-08 17:29:06 -04:00
2018-07-11 13:45:49 -04:00
2018-09-04 14:52:35 -04:00
2018-07-05 17:15:50 -04:00
2018-06-20 08:13:28 -04:00
2018-07-10 15:16:57 -04:00
2018-07-05 17:15:50 -04:00
2018-07-31 19:46:00 -04:00
2018-09-04 14:52:35 -04:00
2018-09-04 14:52:35 -04:00
2018-09-04 14:52:35 -04:00
2018-08-21 12:24:08 -04:00
2016-06-11 10:11:54 -04:00
2015-04-23 09:56:12 -04:00