757dda54b4
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> |
||
---|---|---|
.. | ||
aes.c | ||
afalg.c | ||
afalgpriv.h | ||
afsplit.c | ||
akcipher-gcrypt.c.inc | ||
akcipher-nettle.c.inc | ||
akcipher.c | ||
akcipherpriv.h | ||
block-luks.c | ||
block-luks.h | ||
block-qcow.c | ||
block-qcow.h | ||
block.c | ||
blockpriv.h | ||
cipher-afalg.c | ||
cipher-builtin.c.inc | ||
cipher-gcrypt.c.inc | ||
cipher-gnutls.c.inc | ||
cipher-nettle.c.inc | ||
cipher.c | ||
cipherpriv.h | ||
der.c | ||
der.h | ||
hash-afalg.c | ||
hash-gcrypt.c | ||
hash-glib.c | ||
hash-gnutls.c | ||
hash-nettle.c | ||
hash.c | ||
hashpriv.h | ||
hmac-gcrypt.c | ||
hmac-glib.c | ||
hmac-gnutls.c | ||
hmac-nettle.c | ||
hmac.c | ||
hmacpriv.h | ||
init.c | ||
ivgen-essiv.c | ||
ivgen-essiv.h | ||
ivgen-plain64.c | ||
ivgen-plain64.h | ||
ivgen-plain.c | ||
ivgen-plain.h | ||
ivgen.c | ||
ivgenpriv.h | ||
meson.build | ||
pbkdf-gcrypt.c | ||
pbkdf-gnutls.c | ||
pbkdf-nettle.c | ||
pbkdf-stub.c | ||
pbkdf.c | ||
random-gcrypt.c | ||
random-gnutls.c | ||
random-none.c | ||
random-platform.c | ||
rsakey-builtin.c.inc | ||
rsakey-nettle.c.inc | ||
rsakey.c | ||
rsakey.h | ||
secret_common.c | ||
secret_keyring.c | ||
secret.c | ||
sm4.c | ||
tls-cipher-suites.c | ||
tlscreds.c | ||
tlscredsanon.c | ||
tlscredspriv.h | ||
tlscredspsk.c | ||
tlscredsx509.c | ||
tlssession.c | ||
trace-events | ||
trace.h | ||
xts.c |