Alberto Faria
757dda54b4
crypto: Make block callbacks return 0 on success
...
They currently return the value of their headerlen/buflen parameter on
success. Returning 0 instead makes it clear that short reads/writes are
not possible.
Signed-off-by: Alberto Faria <afaria@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20220609152744.3891847-5-afaria@redhat.com>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
2022-07-12 12:14:55 +02:00
..
2021-01-29 17:07:53 +00:00
2017-07-19 10:11:05 +01:00
2020-09-10 11:02:23 +01:00
2019-08-22 10:56:57 +01:00
2022-05-26 11:41:53 +01:00
2022-05-26 11:41:54 +01:00
2022-05-26 11:41:53 +01:00
2022-05-26 11:41:47 +01:00
2022-07-12 12:14:55 +02:00
2019-07-19 14:21:25 +01:00
2019-07-19 14:21:25 +01:00
2019-07-19 14:21:25 +01:00
2022-07-12 12:14:55 +02:00
2020-07-06 08:49:28 +02:00
2022-04-06 14:31:55 +02:00
2021-07-14 14:15:52 +01:00
2021-07-14 14:15:52 +01:00
2021-07-14 14:15:52 +01:00
2021-07-14 14:15:52 +01:00
2021-07-14 14:15:52 +01:00
2020-09-10 11:02:23 +01:00
2022-05-26 11:41:49 +01:00
2022-05-26 11:41:49 +01:00
2022-04-06 14:31:55 +02:00
2019-07-19 14:21:25 +01:00
2019-07-19 14:21:25 +01:00
2021-07-14 14:15:52 +01:00
2021-06-02 07:04:55 +02:00
2019-07-19 14:21:25 +01:00
2017-07-19 10:11:05 +01:00
2017-09-04 13:09:13 +02:00
2019-08-22 10:46:34 +01:00
2021-07-14 14:15:52 +01:00
2021-06-02 07:04:55 +02:00
2018-02-09 13:50:17 +01:00
2017-07-19 10:11:05 +01:00
2021-07-14 14:15:52 +01:00
2019-07-19 14:21:25 +01:00
2019-07-19 14:21:25 +01:00
2019-07-19 14:21:25 +01:00
2019-07-19 14:21:25 +01:00
2019-07-19 14:21:25 +01:00
2022-05-11 16:50:01 +02:00
2019-07-19 14:21:25 +01:00
2019-07-19 14:21:25 +01:00
2022-05-26 11:41:51 +01:00
2019-07-19 14:21:25 +01:00
2021-07-14 14:15:52 +01:00
2019-07-19 14:21:25 +01:00
2019-07-19 14:21:25 +01:00
2019-08-22 10:56:57 +01:00
2019-07-19 14:21:25 +01:00
2019-07-19 14:21:25 +01:00
2020-06-15 11:33:50 +01:00
2019-07-19 14:21:25 +01:00
2022-05-26 11:41:51 +01:00
2022-05-26 11:41:51 +01:00
2022-05-26 11:41:51 +01:00
2022-05-26 11:41:51 +01:00
2022-05-14 12:33:44 +02:00
2021-01-29 17:07:53 +00:00
2021-01-29 17:07:53 +00:00
2022-04-29 10:47:45 +10:00
2021-06-29 18:30:24 +01:00
2021-06-29 18:29:43 +01:00
2022-05-14 12:33:44 +02:00
2021-06-29 18:30:24 +01:00
2022-05-14 12:33:44 +02:00
2022-05-14 12:33:44 +02:00
2022-03-07 15:58:42 -06:00
2021-06-02 06:51:09 +02:00
2020-08-21 06:18:24 -04:00
2019-07-19 14:21:25 +01:00