Paul Elliott
ed08cf884a
Add safety check to chachapoly finish
...
Previous code checked that the buffer was big enough for the tag size
for the given algorithm, however chachapoly finish expects a 16 byte
buffer passed in, no matter what. If we start supporting smaller
chachapoly tags in the future, this could potentially end up in buffer
overflow, so add a safety check.
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
2021-07-22 18:52:20 +01:00
..
2021-05-20 10:37:22 +02:00
2021-05-28 11:06:40 +02:00
2021-03-10 12:52:37 +00:00
2021-03-10 12:52:37 +00:00
2021-05-25 09:23:10 +02:00
2021-01-26 13:57:46 +01:00
2021-01-27 15:37:12 +01:00
2021-03-04 14:34:50 +00:00
2021-05-07 10:05:30 +02:00
2021-03-10 12:52:37 +00:00
2021-05-25 09:23:10 +02:00
2021-05-20 22:44:32 +01:00
2021-03-25 14:25:46 +01:00
2021-03-10 12:52:37 +00:00
2021-03-10 12:52:37 +00:00
2021-05-20 15:08:55 +02:00
2021-03-02 10:18:08 +01:00
2021-05-07 23:32:32 +02:00
2021-04-13 15:21:43 +01:00
2021-04-30 00:07:04 +02:00
2021-04-27 17:18:52 +01:00
2021-04-15 11:19:47 +01:00
2021-05-19 11:31:37 -04:00
2021-03-17 11:36:31 +01:00
2021-03-10 12:52:37 +00:00
2021-04-04 01:10:41 +02:00
2021-04-09 15:46:51 +02:00
2021-04-28 08:35:00 +02:00
2021-05-11 13:15:19 +02:00
2021-05-11 13:15:19 +02:00
2021-05-11 13:15:19 +02:00
2021-05-18 23:15:40 +02:00
2021-04-30 00:07:04 +02:00
2021-05-20 10:37:22 +02:00
2021-04-15 12:34:09 +02:00
2021-04-15 12:34:09 +02:00
2021-04-15 12:34:09 +02:00
2021-04-28 14:38:37 +02:00
2021-04-28 14:38:37 +02:00
2021-04-07 12:45:35 +01:00
2021-03-29 14:20:18 +01:00
2021-04-07 12:45:35 +01:00
2021-03-29 14:20:18 +01:00
2021-04-07 12:45:35 +01:00
2021-04-07 12:45:35 +01:00
2021-05-07 13:17:06 -06:00
2021-06-01 11:22:56 +02:00
2021-05-28 10:43:41 +02:00
2021-03-10 12:52:37 +00:00
2021-05-18 19:01:42 +01:00
2021-04-15 11:19:47 +01:00
2021-05-18 20:14:32 +01:00
2021-03-10 12:52:37 +00:00
2021-05-19 12:27:35 +01:00
2021-04-15 11:19:47 +01:00
2021-04-15 11:19:47 +01:00
2021-04-28 14:12:07 +01:00
2021-04-21 12:31:43 +02:00
2020-11-13 09:20:18 +00:00
2021-07-22 18:52:20 +01:00
2021-07-21 18:51:23 +01:00
2021-03-26 15:58:25 +01:00
2021-03-26 15:58:25 +01:00
2021-02-09 15:36:08 +01:00
2021-05-13 11:19:01 +02:00
2021-07-21 18:51:23 +01:00
2021-06-01 17:13:19 +01:00
2021-03-15 12:14:40 +01:00
2021-02-18 15:45:12 +01:00
2021-04-28 14:38:37 +02:00
2021-04-19 10:51:59 +02:00
2021-03-03 19:58:02 +01:00
2020-11-25 13:10:50 +01:00
2021-05-11 11:10:34 +02:00
2021-05-10 11:29:13 +02:00
2021-02-16 18:55:05 +01:00
2021-05-27 14:19:24 +02:00
2021-02-18 15:45:06 +01:00
2020-11-25 13:10:50 +01:00
2021-04-16 11:22:17 +02:00
2021-04-01 14:05:41 +02:00
2021-02-03 20:54:46 +01:00
2021-02-15 14:26:44 +01:00
2021-07-21 18:51:23 +01:00
2021-03-10 17:00:32 +00:00
2021-04-15 12:34:09 +02:00
2021-03-10 12:52:37 +00:00
2021-03-10 12:52:37 +00:00
2021-05-21 11:50:39 +01:00
2021-04-15 12:34:09 +02:00
2021-05-20 14:18:12 +02:00
2021-05-20 14:18:12 +02:00
2021-05-14 14:55:15 +01:00
2021-05-19 11:37:49 +02:00
2021-05-24 12:49:59 +02:00
2021-05-24 12:45:20 +02:00
2020-08-25 14:35:55 +01:00
2021-05-24 13:38:00 +02:00
2021-05-26 13:36:21 +02:00
2021-05-24 13:38:00 +02:00
2021-03-10 12:52:37 +00:00
2021-03-10 12:52:37 +00:00
2020-09-16 09:50:17 +01:00
2021-05-31 10:03:56 +02:00
2021-02-22 19:24:03 +01:00
2021-04-28 17:31:55 +01:00
2021-05-04 11:51:05 +02:00
2021-04-28 17:31:55 +01:00
2021-04-28 17:31:55 +01:00
2021-05-19 11:31:37 -04:00
2021-05-27 14:27:43 +02:00