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
2021-07-14 14:15:52 +01:00
2022-05-26 11:41:49 +01:00
2022-05-26 11:41:49 +01:00
2021-07-14 14:15:52 +01:00
2021-07-14 14:15:52 +01:00
2022-04-29 10:47:45 +10:00