qemu/crypto
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
..
aes.c
afalg.c
afalgpriv.h
afsplit.c
akcipher-gcrypt.c.inc crypto: Implement RSA algorithm by gcrypt 2022-05-26 11:41:53 +01:00
akcipher-nettle.c.inc test/crypto: Add test suite for crypto akcipher 2022-05-26 11:41:54 +01:00
akcipher.c crypto: Implement RSA algorithm by gcrypt 2022-05-26 11:41:53 +01:00
akcipherpriv.h crypto: Introduce akcipher crypto class 2022-05-26 11:41:47 +01:00
block-luks.c crypto: Make block callbacks return 0 on success 2022-07-12 12:14:55 +02:00
block-luks.h
block-qcow.c
block-qcow.h
block.c crypto: Make block callbacks return 0 on success 2022-07-12 12:14:55 +02:00
blockpriv.h
cipher-afalg.c Remove qemu-common.h include from most units 2022-04-06 14:31:55 +02:00
cipher-builtin.c.inc
cipher-gcrypt.c.inc
cipher-gnutls.c.inc
cipher-nettle.c.inc
cipher.c
cipherpriv.h
der.c crypto: add ASN.1 DER decoder 2022-05-26 11:41:49 +01:00
der.h crypto: add ASN.1 DER decoder 2022-05-26 11:41:49 +01:00
hash-afalg.c Remove qemu-common.h include from most units 2022-04-06 14:31:55 +02:00
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-plain.c
ivgen-plain.h Clean up ill-advised or unusual header guards 2022-05-11 16:50:01 +02:00
ivgen-plain64.c
ivgen-plain64.h
ivgen.c
ivgenpriv.h
meson.build crypto: Implement RSA algorithm by hogweed 2022-05-26 11:41:51 +01:00
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 crypto: Implement RSA algorithm by hogweed 2022-05-26 11:41:51 +01:00
rsakey-nettle.c.inc crypto: Implement RSA algorithm by hogweed 2022-05-26 11:41:51 +01:00
rsakey.c crypto: Implement RSA algorithm by hogweed 2022-05-26 11:41:51 +01:00
rsakey.h crypto: Implement RSA algorithm by hogweed 2022-05-26 11:41:51 +01:00
secret.c
secret_common.c crypto: make loaded property read-only 2022-05-14 12:33:44 +02:00
secret_keyring.c
sm4.c crypto: move sm4_sbox from target/arm 2022-04-29 10:47:45 +10:00
tls-cipher-suites.c
tlscreds.c
tlscredsanon.c crypto: make loaded property read-only 2022-05-14 12:33:44 +02:00
tlscredspriv.h
tlscredspsk.c crypto: make loaded property read-only 2022-05-14 12:33:44 +02:00
tlscredsx509.c crypto: make loaded property read-only 2022-05-14 12:33:44 +02:00
tlssession.c crypto: mandate a hostname when checking x509 creds on a client 2022-03-07 15:58:42 -06:00
trace-events
trace.h
xts.c