Gilles Peskine
e66ca3bbf3
psa_export_key: zero out potential garbage in the output buffer
...
In psa_export_key, ensure that each byte of the output buffer either
contains its original value, is zero, or is part of the actual output.
Specifically, don't risk having partial output on error, and don't
leave extra data at the end of the buffer when exporting an asymmetric
key.
Test that exporting to a previously zeroed buffer leaves the buffer
zeroed outside the actual output if any.
2018-09-12 16:22:51 +03:00
..
2018-08-06 11:42:56 +01:00
2018-08-06 11:42:56 +01:00
2018-08-06 11:42:56 +01:00
2018-08-06 11:42:56 +01: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
2018-08-06 11:42:06 +01:00
2018-06-11 14:03:22 +01:00
2015-04-08 13:25:31 +02:00
2018-06-13 12:13:58 +01:00
2015-04-08 13:25:31 +02:00
2018-08-06 11:42:06 +01:00
2018-06-28 12:58:56 +02:00
2018-06-05 15:53:06 +01:00
2016-08-25 15:42:27 +01:00
2018-08-06 11:42:06 +01:00
2015-09-30 16:31:10 +02:00
2018-08-06 11:42:06 +01:00
2015-04-08 13:25:31 +02:00
2018-08-06 11:42:06 +01:00
2015-04-08 13:25:31 +02:00
2018-08-06 11:42:06 +01:00
2018-08-06 11:42:06 +01:00
2018-08-06 11:42:06 +01:00
2018-05-24 13:37:31 +02:00
2018-05-24 13:37:31 +02:00
2018-05-24 13:37:31 +02:00
2018-06-04 12:18:19 +02:00
2018-06-13 12:13:56 +01:00
2018-03-27 19:25:35 -07:00
2018-03-27 19:25:35 -07:00
2018-03-27 19:25:35 -07:00
2018-08-06 11:40:57 +01:00
2018-05-24 13:37:31 +02:00
2018-08-06 11:40:57 +01:00
2018-03-27 19:25:35 -07:00
2018-08-06 11:42:06 +01:00
2018-03-27 19:25:35 -07:00
2018-03-27 19:25:35 -07:00
2017-12-23 23:40:08 +01:00
2016-10-13 13:53:13 +01:00
2018-08-06 11:42:06 +01:00
2016-08-25 15:42:28 +01:00
2018-08-06 11:42:06 +01:00
2017-09-04 14:17:10 +02:00
2018-08-06 11:42:06 +01:00
2015-04-08 13:25:31 +02:00
2018-08-06 11:42:06 +01:00
2018-07-06 13:20:09 +01:00
2018-08-06 11:40:57 +01:00
2015-04-08 13:25:31 +02:00
2018-08-06 11:42:06 +01:00
2017-11-17 17:09:31 +00:00
2018-08-06 11:42:06 +01:00
2015-09-07 12:43:11 +02:00
2018-08-06 11:42:06 +01:00
2018-08-06 11:40:57 +01:00
2018-08-06 11:42:06 +01:00
2017-07-24 15:31:30 +01:00
2018-08-15 13:55:37 +01:00
2015-04-08 13:25:31 +02:00
2018-08-06 11:40:57 +01:00
2018-08-06 11:40:57 +01:00
2017-07-27 21:44:33 +01:00
2018-08-06 11:40:57 +01:00
2017-07-27 21:44:33 +01:00
2018-08-06 11:40:57 +01:00
2017-07-27 21:44:33 +01:00
2018-08-06 11:40:57 +01:00
2018-08-06 11:42:06 +01:00
2018-06-11 13:10:14 +01:00
2018-06-11 13:10:14 +01:00
2018-08-06 11:42:06 +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
2017-10-06 11:58:50 +01:00
2018-08-06 11:42:06 +01:00
2017-10-06 11:58:50 +01:00
2018-08-06 11:42:06 +01:00
2018-01-23 19:37:44 +00:00
2018-08-06 11:40:57 +01:00
2018-08-06 11:40:57 +01:00
2018-08-06 11:42:06 +01:00
2018-08-13 14:46:45 +03:00
2018-08-21 16:11:13 +03:00
2017-05-30 16:54:23 +01:00
2018-08-06 11:42:06 +01:00
2018-09-05 11:53:24 +03:00
2018-09-05 11:53:24 +03:00
2018-05-15 09:21:57 +01:00
2018-08-06 11:42:06 +01:00
2017-10-19 15:23:49 +02:00
2018-08-06 11:42:06 +01:00
2018-02-08 17:18:19 +08:00
2018-08-06 11:42:06 +01:00
2018-07-27 17:15:39 +01:00
2018-08-06 11:42:06 +01:00
2015-04-08 13:25:31 +02:00
2018-08-06 11:40:57 +01:00
2018-05-24 13:37:31 +02:00
2018-05-24 13:37:31 +02:00
2018-09-12 16:22:51 +03:00
2018-09-12 16:22:51 +03:00
2018-08-06 11:40:57 +01:00
2018-09-05 11:53:24 +03:00
2017-10-06 11:58:50 +01:00
2018-08-06 11:42:06 +01:00
2018-08-06 11:40:57 +01:00
2018-08-06 11:42:06 +01:00
2017-12-20 21:57:48 +01:00
2018-08-06 11:40:58 +01:00
2018-08-31 15:59:10 +01:00
2018-08-06 11:40:57 +01:00
2018-03-27 14:39:26 +01:00
2018-08-06 11:42:06 +01:00
2017-09-14 07:51:28 +01:00
2018-08-06 11:40:57 +01:00
2015-04-08 13:25:31 +02:00
2018-08-06 11:42:06 +01:00