Gilles Peskine
a9b6c8074a
Fix psa_mac_verify() returning BUFFER_TOO_SMALL
...
It doesn't make sense for psa_mac_verify() to return
PSA_ERROR_BUFFER_TOO_SMALL since it doesn't have an output buffer. But this
was happening when requesting the verification of an unsupported algorithm
whose output size is larger than the maximum supported MAC size, e.g.
HMAC-SHA-512 when building with only SHA-256 support. Arrange to return
PSA_ERROR_NOT_SUPPORTED instead.
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2022-04-05 15:03:39 +02:00
..
2021-12-18 13:29:10 +05:30
2022-02-10 18:38:53 +00:00
2021-03-10 12:52:37 +00:00
2021-06-28 09:24:07 +01:00
2021-08-19 09:55:42 +01:00
2021-01-26 13:57:46 +01:00
2021-08-19 09:56:47 +01:00
2021-11-26 17:20:02 +01:00
2022-02-22 13:35:27 +01:00
2021-09-22 18:31:35 +01:00
2021-08-19 09:55:41 +01:00
2021-10-21 11:33:37 +02:00
2021-08-19 09:56:47 +01:00
2021-08-19 09:56:47 +01:00
2021-03-25 14:25:46 +01:00
2021-10-27 10:42:31 +02:00
2022-01-03 12:53:24 +01:00
2022-01-14 16:31:54 +01:00
2021-03-02 10:18:08 +01:00
2021-12-19 13:37:37 +05:30
2021-10-28 10:26:13 +08:00
2021-11-26 17:25:14 +01:00
2021-11-26 17:25:14 +01:00
2022-01-31 13:34:01 -08:00
2021-08-23 11:52:28 +01:00
2021-06-17 21:46:29 +02:00
2021-09-27 16:22:08 +02:00
2021-08-19 09:56:47 +01:00
2021-12-10 13:47:55 +01:00
2021-12-10 13:47:55 +01:00
2022-03-01 15:21:02 +01:00
2021-08-23 11:52:28 +01:00
2021-06-25 12:46:40 +01:00
2021-06-28 09:24:07 +01:00
2021-06-03 18:10:04 +02:00
2022-01-11 05:06:54 +00:00
2021-06-28 09:28:33 +01:00
2021-06-28 09:28:33 +01:00
2021-06-18 16:35:58 +01:00
2021-11-22 22:22:37 +01:00
2020-08-19 10:35:41 +02:00
2021-06-08 16:45:41 +02:00
2021-12-19 13:37:37 +05:30
2021-08-19 09:31:55 +01:00
2021-06-28 09:24:07 +01:00
2021-12-28 16:32:00 +01:00
2020-08-19 10:35:41 +02:00
2021-04-07 12:45:35 +01:00
2021-03-29 14:20:18 +01:00
2021-12-10 13:47:55 +01:00
2021-03-29 14:20:18 +01:00
2021-12-10 13:47:55 +01:00
2021-04-07 12:45:35 +01:00
2022-03-04 05:07:45 -05:00
2021-11-24 10:44:13 +01:00
2021-06-16 10:34:25 +02:00
2021-03-10 12:52:37 +00:00
2021-06-28 09:24:07 +01:00
2021-06-08 16:45:41 +02:00
2022-03-03 16:41:23 +01:00
2022-03-01 15:21:02 +01:00
2022-03-01 15:21:02 +01:00
2021-04-15 11:19:47 +01:00
2021-12-02 18:03:12 +00:00
2021-12-10 17:36:37 +01:00
2022-03-01 10:03:21 +01:00
2022-03-01 10:03:21 +01:00
2021-07-13 12:23:12 +02:00
2020-08-19 10:35:41 +02:00
2021-08-19 09:57:41 +01:00
2021-12-09 14:49:42 +01:00
2021-09-28 11:16:27 +01:00
2022-04-05 15:03:39 +02:00
2021-12-14 10:58:18 +01:00
2021-06-17 11:43:58 +02:00
2021-09-08 22:04:13 +05:30
2022-03-10 20:07:38 +01:00
2021-12-06 07:50:27 +01:00
2021-12-06 07:50:27 +01:00
2021-12-06 07:50:27 +01:00
2021-12-06 07:50:27 +01:00
2021-06-28 09:24:07 +01:00
2020-11-25 13:10:50 +01:00
2021-12-06 07:50:27 +01:00
2021-12-06 07:50:27 +01:00
2021-02-16 18:55:05 +01:00
2022-01-10 12:55:06 +01:00
2022-01-10 12:55:06 +01:00
2020-08-19 10:35:41 +02:00
2021-06-28 09:24:07 +01:00
2021-09-20 22:20:16 +02:00
2021-04-01 14:05:41 +02:00
2022-02-25 11:14:59 +01:00
2021-02-15 14:26:44 +01:00
2022-04-05 15:03:39 +02:00
2022-02-14 12:24:56 +01:00
2021-08-19 09:31:55 +01:00
2021-03-10 12:52:37 +00:00
2021-06-28 09:24:07 +01:00
2022-03-01 15:21:02 +01:00
2021-08-19 09:31:55 +01:00
2022-02-24 08:33:11 +00:00
2021-08-19 09:56:47 +01:00
2021-05-14 14:55:15 +01:00
2022-01-13 00:05:48 -05:00
2022-02-25 04:36:40 -05:00
2021-12-13 12:35:08 +01:00
2022-02-21 15:14:01 +01:00
2022-03-10 11:51:42 +01:00
2022-02-07 15:12:05 +01:00
2022-02-25 19:55:53 -05:00
2022-02-09 15:28:28 -05:00
2022-03-08 17:53:38 +00:00
2022-03-08 11:43:45 +01:00
2022-02-10 10:57:23 +01:00
2022-03-08 11:43:45 +01:00
2021-12-02 06:36:27 +00:00
2022-02-21 09:06:00 +08:00
2022-02-25 19:55:53 -05:00
2021-06-28 09:28:33 +01:00
2022-03-04 05:07:45 -05:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2022-03-04 05:07:45 -05:00
2022-03-15 16:43:19 +00:00
2021-04-28 17:31:55 +01:00
2021-04-28 17:31:55 +01:00
2022-03-07 13:59:44 +01:00
2022-03-07 13:59:44 +01:00