Hanno Becker
c77ab892e5
Add tests for rsa_import, rsa_import_raw and rsa_complete
...
This commit adds numerous tests for the new library functions mbedtls_rsa_import
and mbedtls_rsa_import_raw in conjunction with mbedtls_rsa_complete for
importing and completing core sets of core RSA parameters (N,P,Q,D,E) into an
RSA context, with the importing accepting either MPI's or raw big endian
buffers.
Each test is determined by the following parameters:
1) Set of parameters provided
We're testing full sets (N,P,Q,D,E), partial sets (N,-,-,D,E) and (N,P,Q,-,E)
that are sufficient to generate missing parameters, and the partial and
insufficient set (N, -, Q, -, E).
2) Simultaenous or successive importing
The functions rsa_import and rsa_import_raw accept importing parameters at
once or one after another. We test both.
3) Sanity of parameters
2017-08-23 15:02:57 +01:00
..
2016-10-13 13:54:48 +01:00
2017-02-15 09:08:26 +00:00
2013-04-08 18:09:51 +02:00
2015-04-08 13:25:31 +02:00
2013-04-08 18:09:51 +02:00
2016-10-13 13:48:48 +01:00
2015-04-08 13:25:31 +02:00
2015-04-08 13:25:31 +02:00
2016-10-13 13:48:48 +01:00
2016-08-25 15:42:27 +01:00
2016-08-25 15:42:27 +01:00
2015-09-30 16:31:10 +02:00
2016-10-13 13:48:48 +01:00
2015-04-08 13:25:31 +02:00
2015-04-08 13:25:31 +02:00
2015-04-08 13:25:31 +02:00
2016-10-13 13:48:48 +01:00
2015-04-28 18:02:54 +02:00
2016-10-13 13:48:48 +01:00
2016-08-25 15:42:28 +01:00
2015-04-08 13:25:31 +02:00
2015-04-08 13:25:31 +02:00
2015-04-08 13:25:31 +02:00
2015-04-08 13:25:31 +02:00
2015-04-08 13:25:31 +02:00
2016-08-25 15:42:28 +01:00
2015-04-08 13:25:31 +02:00
2015-04-08 13:25:31 +02:00
2015-04-08 13:25:31 +02:00
2016-10-13 13:53:13 +01:00
2016-10-13 13:53:56 +01:00
2016-08-25 15:42:28 +01:00
2017-02-15 23:31:07 +02:00
2016-09-04 15:14:38 +01:00
2015-09-03 13:06:01 +01:00
2015-04-08 13:25:31 +02:00
2016-10-13 13:48:48 +01:00
2015-04-15 13:50:29 +02:00
2016-10-13 13:48:48 +01:00
2015-04-08 13:25:31 +02:00
2015-05-11 18:46:47 +02:00
2015-04-08 13:25:31 +02:00
2015-05-11 18:46:47 +02:00
2015-09-07 12:43:11 +02:00
2017-06-05 15:10:59 +01:00
2017-02-28 18:41:39 +00:00
2017-02-28 18:41:39 +00:00
2016-09-15 18:42:26 +01:00
2016-10-13 13:48:48 +01:00
2015-04-08 13:25:31 +02:00
2015-04-08 13:25:31 +02:00
2017-07-20 00:11:24 +02:00
2017-07-20 00:11:24 +02:00
2017-07-20 00:11:24 +02:00
2017-07-20 00:11:24 +02:00
2017-07-20 00:11:24 +02:00
2017-07-20 00:11:24 +02:00
2015-04-08 13:25:31 +02:00
2017-07-20 00:11:24 +02:00
2016-10-13 13:48:48 +01:00
2015-04-08 13:25:31 +02:00
2015-04-08 13:25:31 +02:00
2015-04-08 13:25:31 +02:00
2015-04-08 13:25:31 +02:00
2015-05-29 10:18:09 +02:00
2016-08-26 17:21:14 +01:00
2015-05-28 17:28:38 +02:00
2016-10-13 13:48:48 +01:00
2016-05-23 14:29:29 +01:00
2016-10-13 13:48:48 +01:00
2017-05-08 14:47:04 +01:00
2016-10-13 13:48:48 +01:00
2017-02-15 23:31:07 +02:00
2016-11-21 11:03:40 +00:00
2017-05-11 21:58:25 +01:00
2017-05-11 21:58:25 +01:00
2016-04-11 23:32:26 +01:00
2016-04-18 10:00:55 +01:00
2015-04-08 13:25:31 +02:00
2015-04-08 13:25:31 +02:00
2016-08-25 16:36:35 +01:00
2016-10-13 13:48:48 +01:00
2017-03-02 16:01:08 +00:00
2015-04-08 13:25:31 +02:00
2015-04-08 13:25:31 +02:00
2015-08-19 10:24:34 +02:00
2017-08-23 15:02:57 +01:00
2017-08-23 15:02:57 +01:00
2015-05-28 17:28:38 +02:00
2016-10-13 13:48:48 +01:00
2014-10-21 16:32:34 +02:00
2015-06-17 14:59:27 +02:00
2016-08-25 16:36:35 +01:00
2016-10-13 13:48:48 +01:00
2017-06-20 23:08:10 +01:00
2015-04-08 13:25:31 +02:00
2017-07-26 12:13:13 +01:00
2017-06-06 18:44:13 +02:00
2015-04-20 12:19:02 +01:00
2016-10-11 14:07:48 +01:00
2015-04-08 13:25:31 +02:00
2016-10-13 13:48:48 +01:00